Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb
Overview
Request for UpdateGenerativeQuestionConfig method.
Instance Attribute Summary collapse
-
#generative_question_config ⇒ Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGenerativeQuestionConfig
Configuration for a single generated question.
-
#update_mask ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest
constructor
A new instance of GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest
Returns a new instance of GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest.
8342 8343 8344 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8342 def initialize(**args) update!(**args) end |
Instance Attribute Details
#generative_question_config ⇒ Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGenerativeQuestionConfig
Configuration for a single generated question.
Corresponds to the JSON property generativeQuestionConfig
8333 8334 8335 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8333 def generative_question_config @generative_question_config end |
#update_mask ⇒ String
Optional. Indicates which fields in the provided GenerativeQuestionConfig to
update. The following are NOT supported: * GenerativeQuestionConfig.frequency
If not set or empty, all supported fields are updated.
Corresponds to the JSON property updateMask
8340 8341 8342 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8340 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8347 8348 8349 8350 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 8347 def update!(**args) @generative_question_config = args[:generative_question_config] if args.key?(:generative_question_config) @update_mask = args[:update_mask] if args.key?(:update_mask) end |