# REST Resource: logicalProducts.variants

- [Resource: LogicalProductVariant](https://docs.cloud.google.com/product-registry/reference/cloudproductregistry-api/rest/v1/logicalProducts.variants#LogicalProductVariant)
  - [JSON representation](https://docs.cloud.google.com/product-registry/reference/cloudproductregistry-api/rest/v1/logicalProducts.variants#LogicalProductVariant.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/product-registry/reference/cloudproductregistry-api/rest/v1/logicalProducts.variants#METHODS_SUMMARY)

## Resource: LogicalProductVariant

Represents a distinct offering derived from a primary product that retains core functionalities but offers specialized features for a specific market segment.

| JSON representation |
|---|
| ``` { "name": string, "title": string, "lifecycleState": enum (`https://docs.cloud.google.com/product-registry/reference/cloudproductregistry-api/rest/v1/LifecycleState`), "replaced": boolean, "replacement": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the LogicalProductVariant. Format: logicalProducts/{logicalProduct}/variants/{variant} |
| `title` | `string` Display name of the LogicalProductVariant. |
| `lifecycleState` | ``enum (`https://docs.cloud.google.com/product-registry/reference/cloudproductregistry-api/rest/v1/LifecycleState`)`` Output only. Current Lifecycle state of the logical product variant. |
| `replaced` | `boolean` Output only. Indicates whether the logical product variant has been replaced. If `false`, the variant is active. If `true`, the variant has been replaced by another type, and the `replacement` field contains the resource name of that replacement. |
| `replacement` | `string` Output only. The resource name of the Logical Entity that the logical product variant is replaced by. This field is only populated when this logical product variant is replaced by some other type. Eg: logicalProducts/{logicalProduct}, productSuites/{productSuite}, etc. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/product-registry/reference/cloudproductregistry-api/rest/v1/logicalProducts.variants/get` | Get details of a LogicalProductVariant. |
| ### `https://docs.cloud.google.com/product-registry/reference/cloudproductregistry-api/rest/v1/logicalProducts.variants/list` | Lists LogicalProductVariants matching given criteria. |
| ### `https://docs.cloud.google.com/product-registry/reference/cloudproductregistry-api/rest/v1/logicalProducts.variants/lookupEntity` | Look up entities. |