# Google Cloud Migration Center V1 Client - Class CommitmentPlan (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class CommitmentPlan.

The plan of commitments for VM resource-based committed use discount (CUD).

Protobuf type `google.cloud.migrationcenter.v1.CommitmentPlan`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### COMMITMENT_PLAN_UNSPECIFIED

    Value: 0

Unspecified commitment plan.

Generated from protobuf enum `COMMITMENT_PLAN_UNSPECIFIED = 0;`

### COMMITMENT_PLAN_NONE

    Value: 1

No commitment plan.

Generated from protobuf enum `COMMITMENT_PLAN_NONE = 1;`

### COMMITMENT_PLAN_ONE_YEAR

    Value: 2

1 year commitment.

Generated from protobuf enum `COMMITMENT_PLAN_ONE_YEAR = 2;`

### COMMITMENT_PLAN_THREE_YEARS

    Value: 3

3 years commitment.

Generated from protobuf enum `COMMITMENT_PLAN_THREE_YEARS = 3;`