Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb
Overview
Request for CatalogService.BatchRemoveCatalogAttributes method.
Instance Attribute Summary collapse
-
#attribute_keys ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest
constructor
A new instance of GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest
Returns a new instance of GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest.
2722 2723 2724 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2722 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
2720 2721 2722 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2720 def attribute_keys @attribute_keys end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2727 2728 2729 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2727 def update!(**args) @attribute_keys = args[:attribute_keys] if args.key?(:attribute_keys) end |