Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse

Returns a new instance of GoogleCloudRetailV2betaBatchRemoveCatalogAttributesResponse.



1980
1981
1982
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1980

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deleted_catalog_attributesArray<String>

Catalog attributes that were deleted. Only attributes that are not in use by products can be deleted. Corresponds to the JSON property deletedCatalogAttributes

Returns:

  • (Array<String>)


1971
1972
1973
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1971

def deleted_catalog_attributes
  @deleted_catalog_attributes
end

#reset_catalog_attributesArray<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

Returns:

  • (Array<String>)


1978
1979
1980
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1978

def reset_catalog_attributes
  @reset_catalog_attributes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1985
1986
1987
1988
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1985

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