Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb

Overview

Aggregated response for UpdateGenerativeQuestionConfig method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse

Returns a new instance of GoogleCloudRetailV2betaBatchUpdateGenerativeQuestionConfigsResponse.



2867
2868
2869
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2867

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#generative_question_configsArray<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGenerativeQuestionConfig>

Optional. The updates question configs. Corresponds to the JSON property generativeQuestionConfigs



2865
2866
2867
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2865

def generative_question_configs
  @generative_question_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2872
2873
2874
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2872

def update!(**args)
  @generative_question_configs = args[:generative_question_configs] if args.key?(:generative_question_configs)
end