Google Cloud Retail V2 Client - Class AttributeType (1.4.2)

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
NameDescription
value mixed

static::value

Parameter
NameDescription
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;