Class: Google::Apis::RetailV2::GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse

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

Overview

Response for ListQuestions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse

Returns a new instance of GoogleCloudRetailV2ListGenerativeQuestionConfigsResponse.



2378
2379
2380
# File 'lib/google/apis/retail_v2/classes.rb', line 2378

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

Instance Attribute Details

#generative_question_configsArray<Google::Apis::RetailV2::GoogleCloudRetailV2GenerativeQuestionConfig>

All the questions for a given catalog. Corresponds to the JSON property generativeQuestionConfigs



2376
2377
2378
# File 'lib/google/apis/retail_v2/classes.rb', line 2376

def generative_question_configs
  @generative_question_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2383
2384
2385
# File 'lib/google/apis/retail_v2/classes.rb', line 2383

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