Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest

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 CatalogService.BatchRemoveCatalogAttributes method.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_keysArray<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

Returns:

  • (Array<String>)


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