Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaListGenerativeQuestionConfigsResponse

Inherits:
Object
  • Object
show all
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

Response for ListQuestions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaListGenerativeQuestionConfigsResponse

Returns a new instance of GoogleCloudRetailV2alphaListGenerativeQuestionConfigsResponse.



3897
3898
3899
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3897

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

Instance Attribute Details

#generative_question_configsArray<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGenerativeQuestionConfig>

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



3895
3896
3897
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3895

def generative_question_configs
  @generative_question_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3902
3903
3904
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3902

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