Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::AttributesConfig.
Catalog level attribute config.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attribute_config_level
def attribute_config_level() -> ::Google::Cloud::Retail::V2::AttributeConfigLevel
- (::Google::Cloud::Retail::V2::AttributeConfigLevel) — Output only. The AttributeConfigLevel used for this catalog.
#catalog_attributes
def catalog_attributes() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CatalogAttribute}
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CatalogAttribute}) — Enable attribute(s) config at catalog level.
For example, indexable, dynamic_facetable, or searchable for each
attribute.
The key is catalog attribute's name. For example:
color
,brands
,attributes.custom_attribute
, such asattributes.xyz
.The maximum number of catalog attributes allowed in a request is 1000.
#catalog_attributes=
def catalog_attributes=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CatalogAttribute}
-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CatalogAttribute}) — Enable attribute(s) config at catalog level.
For example, indexable, dynamic_facetable, or searchable for each
attribute.
The key is catalog attribute's name. For example:
color
,brands
,attributes.custom_attribute
, such asattributes.xyz
.The maximum number of catalog attributes allowed in a request is 1000.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Retail::V2::CatalogAttribute}) — Enable attribute(s) config at catalog level.
For example, indexable, dynamic_facetable, or searchable for each
attribute.
The key is catalog attribute's name. For example:
color
,brands
,attributes.custom_attribute
, such asattributes.xyz
.The maximum number of catalog attributes allowed in a request is 1000.
#name
def name() -> ::String
-
(::String) — Required. Immutable. The fully qualified resource name of the attribute
config. Format:
projects/*/locations/*/catalogs/*/attributesConfig
#name=
def name=(value) -> ::String
-
value (::String) — Required. Immutable. The fully qualified resource name of the attribute
config. Format:
projects/*/locations/*/catalogs/*/attributesConfig
-
(::String) — Required. Immutable. The fully qualified resource name of the attribute
config. Format:
projects/*/locations/*/catalogs/*/attributesConfig