Class: Google::Apis::RetailV2::GoogleCloudRetailV2RemoveCatalogAttributeRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2/classes.rb,
lib/google/apis/retail_v2/representations.rb,
lib/google/apis/retail_v2/representations.rb

Overview

Request for CatalogService.RemoveCatalogAttribute method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2RemoveCatalogAttributeRequest

Returns a new instance of GoogleCloudRetailV2RemoveCatalogAttributeRequest.



3823
3824
3825
# File 'lib/google/apis/retail_v2/classes.rb', line 3823

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keyString

Required. The attribute name key of the CatalogAttribute to remove. Corresponds to the JSON property key

Returns:

  • (String)


3821
3822
3823
# File 'lib/google/apis/retail_v2/classes.rb', line 3821

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3828
3829
3830
# File 'lib/google/apis/retail_v2/classes.rb', line 3828

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