Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
- 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
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) ⇒ GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
constructor
A new instance of GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse
Returns a new instance of GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse.
2749 2750 2751 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deleted_catalog_attributes ⇒ Array<String>
Catalog attributes that were deleted. Only pre-loaded catalog attributes that
are neither in use by products nor predefined can be deleted.
Corresponds to the JSON property deletedCatalogAttributes
2740 2741 2742 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2740 def deleted_catalog_attributes @deleted_catalog_attributes end |
#reset_catalog_attributes ⇒ Array<String>
Catalog attributes that were reset. Catalog attributes that are either in use
by products or are predefined attributes cannot be deleted; however, their
configuration properties will reset to default values upon removal request.
Corresponds to the JSON property resetCatalogAttributes
2747 2748 2749 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2747 def reset_catalog_attributes @reset_catalog_attributes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2754 2755 2756 2757 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2754 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 |