Class: Google::Apis::RetailV2::GoogleCloudRetailV2RemoveCatalogAttributeRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2::GoogleCloudRetailV2RemoveCatalogAttributeRequest
- 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
-
#key ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2RemoveCatalogAttributeRequest
constructor
A new instance of GoogleCloudRetailV2RemoveCatalogAttributeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2RemoveCatalogAttributeRequest
Returns a new instance of GoogleCloudRetailV2RemoveCatalogAttributeRequest.
3847 3848 3849 |
# File 'lib/google/apis/retail_v2/classes.rb', line 3847 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
3845 3846 3847 |
# File 'lib/google/apis/retail_v2/classes.rb', line 3845 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3852 3853 3854 |
# File 'lib/google/apis/retail_v2/classes.rb', line 3852 def update!(**args) @key = args[:key] if args.key?(:key) end |