# 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.

Type of committed use discount.

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

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1 \\ VmwareEnginePreferences

## 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;`

### ON_DEMAND

    Value: 1

No commitment plan (on-demand usage).

Generated from protobuf enum `ON_DEMAND = 1;`

### COMMITMENT_1_YEAR_MONTHLY_PAYMENTS

    Value: 2

1 year commitment (monthly payments).

Generated from protobuf enum `COMMITMENT_1_YEAR_MONTHLY_PAYMENTS = 2;`

### COMMITMENT_3_YEAR_MONTHLY_PAYMENTS

    Value: 3

3 year commitment (monthly payments).

Generated from protobuf enum `COMMITMENT_3_YEAR_MONTHLY_PAYMENTS = 3;`

### COMMITMENT_1_YEAR_UPFRONT_PAYMENT

    Value: 4

1 year commitment (upfront payment).

Generated from protobuf enum `COMMITMENT_1_YEAR_UPFRONT_PAYMENT = 4;`

### COMMITMENT_3_YEAR_UPFRONT_PAYMENT

    Value: 5

3 years commitment (upfront payment).

Generated from protobuf enum `COMMITMENT_3_YEAR_UPFRONT_PAYMENT = 5;`