Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsRequest

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

Request for BatchUpdateGenerativeQuestionConfig method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsRequest

Returns a new instance of GoogleCloudRetailV2alphaBatchUpdateGenerativeQuestionConfigsRequest.



1593
1594
1595
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1593

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

Instance Attribute Details

#requestsArray<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUpdateGenerativeQuestionConfigRequest>

Required. The updates question configs. Corresponds to the JSON property requests



1591
1592
1593
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1591

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1598
1599
1600
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1598

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