Retail v2 API - Class GenerativeQuestionsFeatureConfig (2.12.0)

public sealed class GenerativeQuestionsFeatureConfig : IMessage<GenerativeQuestionsFeatureConfig>, IEquatable<GenerativeQuestionsFeatureConfig>, IDeepCloneable<GenerativeQuestionsFeatureConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Retail v2 API class GenerativeQuestionsFeatureConfig.

Configuration for overall generative question feature state.

Inheritance

object > GenerativeQuestionsFeatureConfig

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

GenerativeQuestionsFeatureConfig()

public GenerativeQuestionsFeatureConfig()

GenerativeQuestionsFeatureConfig(GenerativeQuestionsFeatureConfig)

public GenerativeQuestionsFeatureConfig(GenerativeQuestionsFeatureConfig other)
Parameter
Name Description
other GenerativeQuestionsFeatureConfig

Properties

Catalog

public string Catalog { get; set; }

Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

Property Value
Type Description
string

FeatureEnabled

public bool FeatureEnabled { get; set; }

Optional. Determines whether questions will be used at serving time. Note: This feature cannot be enabled until initial data requirements are satisfied.

Property Value
Type Description
bool

MinimumProducts

public int MinimumProducts { get; set; }

Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.

Property Value
Type Description
int