Class AttributesConfig (1.20.1)

AttributesConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Catalog level attribute config.

Attributes

Name Description
name str
Required. Immutable. The fully qualified resource name of the attribute config. Format: projects/*/locations/*/catalogs/*/attributesConfig
catalog_attributes MutableMapping[str, google.cloud.retail_v2.types.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 as attributes.xyz. The maximum number of catalog attributes allowed in a request is 1000.
attribute_config_level google.cloud.retail_v2.types.AttributeConfigLevel
Output only. The AttributeConfigLevel used for this catalog.

Classes

CatalogAttributesEntry

CatalogAttributesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.