variants property

List<GoogleCloudRetailV2Product>? variants
getter/setter pair

Product variants grouped together on primary product which share similar product attributes.

It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.

Output only.

Implementation

core.List<GoogleCloudRetailV2Product>? variants;