type property

String? type
getter/setter pair

The type of the product.

Default to Catalog.product_level_config.ingestion_product_type if unset.

Immutable. Possible string values are:

  • "TYPE_UNSPECIFIED" : Default value. Default to Catalog.product_level_config.ingestion_product_type if unset.
  • "PRIMARY" : The primary type. As the primary unit for predicting, indexing and search serving, a Type.PRIMARY Product is grouped with multiple Type.VARIANT Products.
  • "VARIANT" : The variant type. Type.VARIANT Products usually share some common attributes on the same Type.PRIMARY Products, but they have variant attributes like different colors, sizes and prices, etc.
  • "COLLECTION" : The collection type. Collection products are bundled Type.PRIMARY Products or Type.VARIANT Products that are sold together, such as a jewelry set with necklaces, earrings and rings, etc.

Implementation

core.String? type;