Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsResponse
- 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
Aggregated response for UpdateGenerativeQuestionConfig method.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsResponse
constructor
A new instance of GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsResponse
Returns a new instance of GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsResponse.
1612 1613 1614 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#generative_question_configs ⇒ Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGenerativeQuestionConfig>
Optional. The updates question configs.
Corresponds to the JSON property generativeQuestionConfigs
1610 1611 1612 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1610 def generative_question_configs @generative_question_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1617 1618 1619 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1617 def update!(**args) @generative_question_configs = args[:generative_question_configs] if args.key?(:generative_question_configs) end |