Reference documentation and code samples for the Google Cloud Retail V2 Client class GenerativeQuestionsFeatureConfig.
Configuration for overall generative question feature state.
Generated from protobuf message google.cloud.retail.v2.GenerativeQuestionsFeatureConfig
Namespace
Google \ Cloud \ Retail \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ catalog
string
Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
↳ feature_enabled
bool
Optional. Determines whether questions will be used at serving time. Note: This feature cannot be enabled until initial data requirements are satisfied.
↳ minimum_products
int
Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.
getCatalog
Required. Resource name of the affected catalog.
Format: projects/{project}/locations/{location}/catalogs/{catalog}
string
setCatalog
Required. Resource name of the affected catalog.
Format: projects/{project}/locations/{location}/catalogs/{catalog}
var
string
$this
getFeatureEnabled
Optional. Determines whether questions will be used at serving time.
Note: This feature cannot be enabled until initial data requirements are satisfied.
bool
setFeatureEnabled
Optional. Determines whether questions will be used at serving time.
Note: This feature cannot be enabled until initial data requirements are satisfied.
var
bool
$this
getMinimumProducts
Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.
int
setMinimumProducts
Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.
var
int
$this