Reference documentation and code samples for the Google Cloud Retail V2 Client class Type.
The type of this product.
Protobuf type google.cloud.retail.v2.Product.Type
Methods
name
value
mixed
value
name
mixed
Constants
TYPE_UNSPECIFIED
Value: 0
Default value. Default to Catalog.product_level_config.ingestion_product_type if unset.
Generated from protobuf enum TYPE_UNSPECIFIED = 0;
PRIMARY
Value: 1
The primary type.
As the primary unit for predicting, indexing and search serving, a Type.PRIMARY Product is grouped with multiple Type.VARIANT Product s.
Generated from protobuf enum PRIMARY = 1;
VARIANT
Value: 2
The variant type.
Type.VARIANT Product s usually share some common attributes on the same Type.PRIMARY Product s, but they have variant attributes like different colors, sizes and prices, etc.
Generated from protobuf enum VARIANT = 2;
COLLECTION
Value: 3
The collection type. Collection products are bundled Type.PRIMARY Product s or Type.VARIANT Product s that are sold together, such as a jewelry set with necklaces, earrings and rings, etc.
Generated from protobuf enum COLLECTION = 3;