Class: Google::Apis::RetailV2::GoogleCloudRetailV2BatchUpdateGenerativeQuestionConfigsRequest

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

Request for BatchUpdateGenerativeQuestionConfig method.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#requestsArray<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