Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAddCatalogAttributeRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAddCatalogAttributeRequest
- 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.AddCatalogAttribute method.
Instance Attribute Summary collapse
-
#catalog_attribute ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute
Catalog level attribute config for an attribute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaAddCatalogAttributeRequest
constructor
A new instance of GoogleCloudRetailV2betaAddCatalogAttributeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaAddCatalogAttributeRequest
Returns a new instance of GoogleCloudRetailV2betaAddCatalogAttributeRequest.
2414 2415 2416 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2414 def initialize(**args) update!(**args) end |
Instance Attribute Details
#catalog_attribute ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalogAttribute
Catalog level attribute config for an attribute. For example, if customers
want to enable/disable facet for a specific attribute.
Corresponds to the JSON property catalogAttribute
2412 2413 2414 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2412 def catalog_attribute @catalog_attribute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2419 2420 2421 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2419 def update!(**args) @catalog_attribute = args[:catalog_attribute] if args.key?(:catalog_attribute) end |