Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::GenerativeQuestionsFeatureConfig.
Configuration for overall generative question feature state.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#catalog
def catalog() -> ::String
Returns
- (::String) — Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
#catalog=
def catalog=(value) -> ::String
Parameter
- value (::String) — Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
Returns
- (::String) — Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
#feature_enabled
def feature_enabled() -> ::Boolean
Returns
- (::Boolean) — Optional. Determines whether questions will be used at serving time. Note: This feature cannot be enabled until initial data requirements are satisfied.
#feature_enabled=
def feature_enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Determines whether questions will be used at serving time. Note: This feature cannot be enabled until initial data requirements are satisfied.
Returns
- (::Boolean) — Optional. Determines whether questions will be used at serving time. Note: This feature cannot be enabled until initial data requirements are satisfied.
#minimum_products
def minimum_products() -> ::Integer
Returns
- (::Integer) — Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.
#minimum_products=
def minimum_products=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.
Returns
- (::Integer) — Optional. Minimum number of products in the response to trigger follow-up questions. Value must be 0 or positive.