Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
- 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 CatalogService.BatchRemoveCatalogAttributes method.
Instance Attribute Summary collapse
-
#attribute_keys ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
constructor
A new instance of GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest
Returns a new instance of GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest.
1545 1546 1547 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1545 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribute_keys ⇒ Array<String>
Required. The attribute name keys of the CatalogAttributes to delete. A
maximum of 1000 catalog attributes can be deleted in a batch.
Corresponds to the JSON property attributeKeys
1543 1544 1545 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1543 def attribute_keys @attribute_keys end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1550 1551 1552 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1550 def update!(**args) @attribute_keys = args[:attribute_keys] if args.key?(:attribute_keys) end |