Class: Google::Apis::RetailV2::GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest
- 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
Request for BatchUpdateGenerativeQuestionConfig method.
Instance Attribute Summary collapse
-
#requests ⇒ Array<Google::Apis::RetailV2::GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest
constructor
A new instance of GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest
Returns a new instance of GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest.
572 573 574 |
# File 'lib/google/apis/retail_v2/classes.rb', line 572 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::RetailV2::GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest>
Required. The updates question configs.
Corresponds to the JSON property requests
570 571 572 |
# File 'lib/google/apis/retail_v2/classes.rb', line 570 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
577 578 579 |
# File 'lib/google/apis/retail_v2/classes.rb', line 577 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |