Reference documentation and code samples for the Compute V1 Client class FutureReservationStatus.
[Output only] Represents status related to the future reservation.
Generated from protobuf message google.cloud.compute.v1.FutureReservationStatus
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ amendment_status |
string
Output only. [Output Only] The current status of the requested amendment. Check the AmendmentStatus enum for the list of possible values. |
↳ auto_created_reservations |
array
Output only. Fully qualified urls of the automatically created reservations at start_time. |
↳ existing_matching_usage_info |
FutureReservationStatusExistingMatchingUsageInfo
Output only. [Output Only] Represents the existing matching usage for the future reservation. |
↳ fulfilled_count |
int|string
Output only. This count indicates the fulfilled capacity so far. This is set during "PROVISIONING" state. This count also includes capacity delivered as part of existing matching reservations. |
↳ last_known_good_state |
FutureReservationStatusLastKnownGoodState
Output only. [Output Only] This field represents the future reservation before an amendment was requested. If the amendment is declined, the Future Reservation will be reverted to the last known good state. The last known good state is not set when updating a future reservation whose Procurement Status is DRAFTING. |
↳ lock_time |
string
Output only. Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time. |
↳ procurement_status |
string
Output only. Current state of this Future Reservation Check the ProcurementStatus enum for the list of possible values. |
↳ specific_sku_properties |
FutureReservationStatusSpecificSKUProperties
|
getAmendmentStatus
Output only. [Output Only] The current status of the requested amendment.
Check the AmendmentStatus enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasAmendmentStatus
clearAmendmentStatus
setAmendmentStatus
Output only. [Output Only] The current status of the requested amendment.
Check the AmendmentStatus enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAutoCreatedReservations
Output only. Fully qualified urls of the automatically created reservations at start_time.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setAutoCreatedReservations
Output only. Fully qualified urls of the automatically created reservations at start_time.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExistingMatchingUsageInfo
Output only. [Output Only] Represents the existing matching usage for the future reservation.
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo|null |
|
hasExistingMatchingUsageInfo
clearExistingMatchingUsageInfo
setExistingMatchingUsageInfo
Output only. [Output Only] Represents the existing matching usage for the future reservation.
| Parameter | |
|---|---|
| Name | Description |
var |
FutureReservationStatusExistingMatchingUsageInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFulfilledCount
Output only. This count indicates the fulfilled capacity so far. This is set during "PROVISIONING" state. This count also includes capacity delivered as part of existing matching reservations.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasFulfilledCount
clearFulfilledCount
setFulfilledCount
Output only. This count indicates the fulfilled capacity so far. This is set during "PROVISIONING" state. This count also includes capacity delivered as part of existing matching reservations.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLastKnownGoodState
Output only. [Output Only] This field represents the future reservation before an amendment was requested. If the amendment is declined, the Future Reservation will be reverted to the last known good state. The last known good state is not set when updating a future reservation whose Procurement Status is DRAFTING.
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusLastKnownGoodState|null |
|
hasLastKnownGoodState
clearLastKnownGoodState
setLastKnownGoodState
Output only. [Output Only] This field represents the future reservation before an amendment was requested. If the amendment is declined, the Future Reservation will be reverted to the last known good state. The last known good state is not set when updating a future reservation whose Procurement Status is DRAFTING.
| Parameter | |
|---|---|
| Name | Description |
var |
FutureReservationStatusLastKnownGoodState
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLockTime
Output only. Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasLockTime
clearLockTime
setLockTime
Output only. Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProcurementStatus
Output only. Current state of this Future Reservation Check the ProcurementStatus enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasProcurementStatus
clearProcurementStatus
setProcurementStatus
Output only. Current state of this Future Reservation Check the ProcurementStatus enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSpecificSkuProperties
Generated from protobuf field optional .google.cloud.compute.v1.FutureReservationStatusSpecificSKUProperties specific_sku_properties = 108887106;
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusSpecificSKUProperties|null |
|
hasSpecificSkuProperties
clearSpecificSkuProperties
setSpecificSkuProperties
Generated from protobuf field optional .google.cloud.compute.v1.FutureReservationStatusSpecificSKUProperties specific_sku_properties = 108887106;
| Parameter | |
|---|---|
| Name | Description |
var |
FutureReservationStatusSpecificSKUProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|