Google Cloud Retail V2 Client - Class AttributeConfigLevel (2.1.1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class AttributeConfigLevel.

At which level we offer configuration for attributes.

Protobuf type google.cloud.retail.v2.AttributeConfigLevel

Namespace

Google \ Cloud \ Retail \ V2

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED

Value: 0

Value used when unset. In this case, server behavior defaults to CATALOG_LEVEL_ATTRIBUTE_CONFIG.

Generated from protobuf enum ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED = 0;

PRODUCT_LEVEL_ATTRIBUTE_CONFIG

Value: 1

At this level, we honor the attribute configurations set in Product.attributes.

Generated from protobuf enum PRODUCT_LEVEL_ATTRIBUTE_CONFIG = 1;

CATALOG_LEVEL_ATTRIBUTE_CONFIG

Value: 2

At this level, we honor the attribute configurations set in CatalogConfig.attribute_configs.

Generated from protobuf enum CATALOG_LEVEL_ATTRIBUTE_CONFIG = 2;