Reference documentation and code samples for the Compute V1 Client class FutureReservationCommitmentInfo.
Generated from protobuf message google.cloud.compute.v1.FutureReservationCommitmentInfo
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ commitment_name |
string
name of the commitment where capacity is being delivered to. |
↳ commitment_plan |
string
Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created. Check the CommitmentPlan enum for the list of possible values. |
↳ previous_commitment_terms |
string
Only applicable if FR is delivering to the same reservation. If set, all parent commitments will be extended to match the end date of the plan for this commitment. Check the PreviousCommitmentTerms enum for the list of possible values. |
getCommitmentName
name of the commitment where capacity is being delivered to.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCommitmentName
clearCommitmentName
setCommitmentName
name of the commitment where capacity is being delivered to.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCommitmentPlan
Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created.
Check the CommitmentPlan enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCommitmentPlan
clearCommitmentPlan
setCommitmentPlan
Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created.
Check the CommitmentPlan enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPreviousCommitmentTerms
Only applicable if FR is delivering to the same reservation. If set, all parent commitments will be extended to match the end date of the plan for this commitment.
Check the PreviousCommitmentTerms enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasPreviousCommitmentTerms
clearPreviousCommitmentTerms
setPreviousCommitmentTerms
Only applicable if FR is delivering to the same reservation. If set, all parent commitments will be extended to match the end date of the plan for this commitment.
Check the PreviousCommitmentTerms enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|