Class GoogleCloudDiscoveryengineV1betaControl
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
.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta.Data
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class GoogleCloudDiscoveryengineV1betaControl : IDirectResponseSchema
Properties
AssociatedServingConfigIds
Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes.
Declaration
[JsonProperty("associatedServingConfigIds")]
public virtual IList<string> AssociatedServingConfigIds { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
BoostAction
Defines a boost-type control
Declaration
[JsonProperty("boostAction")]
public virtual GoogleCloudDiscoveryengineV1betaControlBoostAction BoostAction { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1betaControlBoostAction |
Conditions
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.
Declaration
[JsonProperty("conditions")]
public virtual IList<GoogleCloudDiscoveryengineV1betaCondition> Conditions { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDiscoveryengineV1betaCondition> |
DisplayName
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.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FilterAction
Defines a filter-type control Currently not supported by Recommendation
Declaration
[JsonProperty("filterAction")]
public virtual GoogleCloudDiscoveryengineV1betaControlFilterAction FilterAction { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1betaControlFilterAction |
Name
Immutable. Fully qualified name projects/*/locations/global/dataStore/*/controls/*
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
RedirectAction
Defines a redirect-type control.
Declaration
[JsonProperty("redirectAction")]
public virtual GoogleCloudDiscoveryengineV1betaControlRedirectAction RedirectAction { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1betaControlRedirectAction |
SolutionType
Required. Immutable. What solution the control belongs to. Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is thrown.
Declaration
[JsonProperty("solutionType")]
public virtual string SolutionType { get; set; }
Property Value
Type | Description |
---|---|
string |
SynonymsAction
Treats a group of terms as synonyms of one another.
Declaration
[JsonProperty("synonymsAction")]
public virtual GoogleCloudDiscoveryengineV1betaControlSynonymsAction SynonymsAction { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1betaControlSynonymsAction |
UseCases
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.
Declaration
[JsonProperty("useCases")]
public virtual IList<string> UseCases { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |