Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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


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