Class Type (1.20.0)

Type(value)

The type of this product.

Values: TYPE_UNSPECIFIED (0): Default value. Default to Catalog.product_level_config.ingestion_product_type if unset. PRIMARY (1): The primary type.

    As the primary unit for predicting, indexing and search
    serving, a
    <xref uid="google.cloud.retail.v2alpha.Product.Type.PRIMARY">Type.PRIMARY</xref>
    <xref uid="google.cloud.retail.v2alpha.Product">Product</xref> is grouped
    with multiple
    <xref uid="google.cloud.retail.v2alpha.Product.Type.VARIANT">Type.VARIANT</xref>
    <xref uid="google.cloud.retail.v2alpha.Product">Product</xref>s.
VARIANT (2):
    The variant type.

    <xref uid="google.cloud.retail.v2alpha.Product.Type.VARIANT">Type.VARIANT</xref>
    <xref uid="google.cloud.retail.v2alpha.Product">Product</xref>s usually
    share some common attributes on the same
    <xref uid="google.cloud.retail.v2alpha.Product.Type.PRIMARY">Type.PRIMARY</xref>
    <xref uid="google.cloud.retail.v2alpha.Product">Product</xref>s, but they
    have variant attributes like different colors, sizes and
    prices, etc.
COLLECTION (3):
    The collection type. Collection products are bundled
    <xref uid="google.cloud.retail.v2alpha.Product.Type.PRIMARY">Type.PRIMARY</xref>
    <xref uid="google.cloud.retail.v2alpha.Product">Product</xref>s or
    <xref uid="google.cloud.retail.v2alpha.Product.Type.VARIANT">Type.VARIANT</xref>
    <xref uid="google.cloud.retail.v2alpha.Product">Product</xref>s that are
    sold together, such as a jewelry set with necklaces,
    earrings and rings, etc.