Class: Google::Apis::RetailV2::GoogleCloudRetailV2RemoveControlRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2RemoveControlRequest
- 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 RemoveControl method.
Instance Attribute Summary collapse
-
#control_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2RemoveControlRequest
constructor
A new instance of GoogleCloudRetailV2RemoveControlRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2RemoveControlRequest
Returns a new instance of GoogleCloudRetailV2RemoveControlRequest.
4128 4129 4130 |
# File 'lib/google/apis/retail_v2/classes.rb', line 4128 def initialize(**args) update!(**args) end |
Instance Attribute Details
#control_id ⇒ String
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
4126 4127 4128 |
# File 'lib/google/apis/retail_v2/classes.rb', line 4126 def control_id @control_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4133 4134 4135 |
# File 'lib/google/apis/retail_v2/classes.rb', line 4133 def update!(**args) @control_id = args[:control_id] if args.key?(:control_id) end |