Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest
- 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.RemoveCatalogAttribute method.
Instance Attribute Summary collapse
-
#key ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest
constructor
A new instance of GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest
Returns a new instance of GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest.
5798 5799 5800 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5798 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Required. The attribute name key of the CatalogAttribute to remove.
Corresponds to the JSON property key
5796 5797 5798 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5796 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5803 5804 5805 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5803 def update!(**args) @key = args[:key] if args.key?(:key) end |