Google Cloud Retail V2 Client - Class AttributeType (1.1.1)

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

Methods

name

Parameter
NameDescription
value mixed

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;