View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaControl (google_api_discovery_engine v0.22.0)
Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on SolutionType
.
Attributes
-
associatedServingConfigIds
(type:list(String.t)
, default:nil
) - Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. -
boostAction
(type:GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaControlBoostAction.t
, default:nil
) - Defines a boost-type control -
conditions
(type:list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCondition.t)
, default:nil
) - Determines when the associated action will trigger. Omit to always apply the action. Currently only a single condition may be specified. Otherwise an INVALID ARGUMENT error is thrown. -
displayName
(type:String.t
, default:nil
) - Required. Human readable name. The identifier used in UI views. Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT error is thrown. -
filterAction
(type:GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaControlFilterAction.t
, default:nil
) - Defines a filter-type control Currently not supported by Recommendation -
name
(type:String.t
, default:nil
) - Immutable. Fully qualified nameprojects/*/locations/global/dataStore/*/controls/*
-
redirectAction
(type:GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaControlRedirectAction.t
, default:nil
) - Defines a redirect-type control. -
solutionType
(type:String.t
, default:nil
) - Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown. -
synonymsAction
(type:GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaControlSynonymsAction.t
, default:nil
) - Treats a group of terms as synonyms of one another. -
useCases
(type:list(String.t)
, default:nil
) - Specifies the use case for the control. Affects what condition fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case per control. Must be set when solution_type is SolutionType.SOLUTION_TYPE_SEARCH.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaControl{ associatedServingConfigIds: [String.t()] | nil, boostAction: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaControlBoostAction.t() | nil, conditions: [ GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCondition.t() ] | nil, displayName: String.t() | nil, filterAction: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaControlFilterAction.t() | nil, name: String.t() | nil, redirectAction: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaControlRedirectAction.t() | nil, solutionType: String.t() | nil, synonymsAction: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaControlSynonymsAction.t() | nil, useCases: [String.t()] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.