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.



1315
1316
1317
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1315

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


1313
1314
1315
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1313

def attribute_keys
  @attribute_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1320
1321
1322
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1320

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