Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRemoveCatalogAttributeRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaRemoveCatalogAttributeRequest
- 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.RemoveCatalogAttribute method.
Instance Attribute Summary collapse
-
#key ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaRemoveCatalogAttributeRequest
constructor
A new instance of GoogleCloudRetailV2betaRemoveCatalogAttributeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaRemoveCatalogAttributeRequest
Returns a new instance of GoogleCloudRetailV2betaRemoveCatalogAttributeRequest.
4772 4773 4774 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4772 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
4770 4771 4772 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4770 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4777 4778 4779 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4777 def update!(**args) @key = args[:key] if args.key?(:key) end |