Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
- 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
Response of the CatalogService.BatchRemoveCatalogAttributes.
Instance Attribute Summary collapse
-
#deleted_catalog_attributes ⇒ Array<String>
Catalog attributes that were deleted.
-
#reset_catalog_attributes ⇒ Array<String>
Catalog attributes that were reset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
constructor
A new instance of GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse
Returns a new instance of GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesResponse.
1000 1001 1002 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1000 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deleted_catalog_attributes ⇒ Array<String>
Catalog attributes that were deleted. Only attributes that are not in use by
products can be deleted.
Corresponds to the JSON property deletedCatalogAttributes
991 992 993 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 991 def deleted_catalog_attributes @deleted_catalog_attributes end |
#reset_catalog_attributes ⇒ Array<String>
Catalog attributes that were reset. Attributes that are in use by products
cannot be deleted, however their configuration properties will reset to
default values upon removal request.
Corresponds to the JSON property resetCatalogAttributes
998 999 1000 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 998 def reset_catalog_attributes @reset_catalog_attributes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1005 1006 1007 1008 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 1005 def update!(**args) @deleted_catalog_attributes = args[:deleted_catalog_attributes] if args.key?(:deleted_catalog_attributes) @reset_catalog_attributes = args[:reset_catalog_attributes] if args.key?(:reset_catalog_attributes) end |