Class AttributesConfig (1.6.1)

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

Catalog level attribute config.

Attributes

NameDescription
name str
Required. Immutable. The fully qualified resource name of the attribute config. Format: ``projects/*/locations/*/catalogs/*/attributesConfig``
catalog_attributes Mapping[str, google.cloud.retail_v2alpha.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_v2alpha.types.AttributeConfigLevel
Output only. The AttributeConfigLevel used for this catalog.

Inheritance

builtins.object > proto.message.Message > AttributesConfig

Classes

CatalogAttributesEntry

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

The abstract base class for a message.

Parameters
NameDescription
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.