Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRemoveControlRequest

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 RemoveControl method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaRemoveControlRequest

Returns a new instance of GoogleCloudRetailV2alphaRemoveControlRequest.



6138
6139
6140
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 6138

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

Instance Attribute Details

#control_idString

Required. The id of the control to apply. Assumed to be in the same catalog as the serving config. Corresponds to the JSON property controlId

Returns:

  • (String)


6136
6137
6138
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 6136

def control_id
  @control_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6143
6144
6145
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 6143

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