Compute V1 Client - Class FutureReservationStatus (2.3.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ amendment_status string

[Output Only] The current status of the requested amendment. Check the AmendmentStatus enum for the list of possible values.

↳ auto_created_reservations array

Fully qualified urls of the automatically created reservations at start_time.

↳ existing_matching_usage_info FutureReservationStatusExistingMatchingUsageInfo

[Output Only] Represents the existing matching usage for the future reservation.

↳ fulfilled_count int|string

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] 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

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

Current state of this Future Reservation Check the ProcurementStatus enum for the list of possible values.

↳ specific_sku_properties FutureReservationStatusSpecificSKUProperties

getAmendmentStatus

[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] 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

Fully qualified urls of the automatically created reservations at start_time.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAutoCreatedReservations

Fully qualified urls of the automatically created reservations at start_time.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getExistingMatchingUsageInfo

[Output Only] Represents the existing matching usage for the future reservation.

Returns
Type Description
FutureReservationStatusExistingMatchingUsageInfo|null

hasExistingMatchingUsageInfo

clearExistingMatchingUsageInfo

setExistingMatchingUsageInfo

[Output Only] Represents the existing matching usage for the future reservation.

Parameter
Name Description
var FutureReservationStatusExistingMatchingUsageInfo
Returns
Type Description
$this

getFulfilledCount

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

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] 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] 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

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

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

Current state of this Future Reservation Check the ProcurementStatus enum for the list of possible values.

Returns
Type Description
string

hasProcurementStatus

clearProcurementStatus

setProcurementStatus

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