Google Cloud Retail V2 Client - Class AttributeType (2.1.0)

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

The type of an attribute.

Protobuf type google.cloud.retail.v2.CatalogAttribute.AttributeType

Namespace

Google \ Cloud \ Retail \ V2 \ CatalogAttribute

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNKNOWN

Value: 0

The type of the attribute is unknown.

Used when type cannot be derived from attribute that is not in_use.

Generated from protobuf enum UNKNOWN = 0;

TEXTUAL

Value: 1

Textual attribute.

Generated from protobuf enum TEXTUAL = 1;

NUMERICAL

Value: 2

Numerical attribute.

Generated from protobuf enum NUMERICAL = 2;