Compute V1 Client - Class FutureReservationStatusLastKnownGoodState (2.3.0)

Reference documentation and code samples for the Compute V1 Client class FutureReservationStatusLastKnownGoodState.

The state that the future reservation will be reverted to should the amendment be declined.

Generated from protobuf message google.cloud.compute.v1.FutureReservationStatusLastKnownGoodState

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ description string

[Output Only] The description of the FutureReservation before an amendment was requested.

↳ existing_matching_usage_info FutureReservationStatusExistingMatchingUsageInfo

[Output Only] Represents the matching usage for the future reservation before an amendment was requested.

↳ future_reservation_specs FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
↳ lock_time string

[Output Only] The lock time of the FutureReservation before an amendment was requested.

↳ name_prefix string

[Output Only] The name prefix of the Future Reservation before an amendment was requested.

↳ procurement_status string

[Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.

getDescription

[Output Only] The description of the FutureReservation before an amendment was requested.

Returns
Type Description
string

hasDescription

clearDescription

setDescription

[Output Only] The description of the FutureReservation before an amendment was requested.

Parameter
Name Description
var string
Returns
Type Description
$this

getExistingMatchingUsageInfo

[Output Only] Represents the matching usage for the future reservation before an amendment was requested.

Returns
Type Description
FutureReservationStatusExistingMatchingUsageInfo|null

hasExistingMatchingUsageInfo

clearExistingMatchingUsageInfo

setExistingMatchingUsageInfo

[Output Only] Represents the matching usage for the future reservation before an amendment was requested.

Parameter
Name Description
var FutureReservationStatusExistingMatchingUsageInfo
Returns
Type Description
$this

getFutureReservationSpecs

Generated from protobuf field optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;

Returns
Type Description
FutureReservationStatusLastKnownGoodStateFutureReservationSpecs|null

hasFutureReservationSpecs

clearFutureReservationSpecs

setFutureReservationSpecs

Generated from protobuf field optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;

Parameter
Name Description
var FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
Returns
Type Description
$this

getLockTime

[Output Only] The lock time of the FutureReservation before an amendment was requested.

Returns
Type Description
string

hasLockTime

clearLockTime

setLockTime

[Output Only] The lock time of the FutureReservation before an amendment was requested.

Parameter
Name Description
var string
Returns
Type Description
$this

getNamePrefix

[Output Only] The name prefix of the Future Reservation before an amendment was requested.

Returns
Type Description
string

hasNamePrefix

clearNamePrefix

setNamePrefix

[Output Only] The name prefix of the Future Reservation before an amendment was requested.

Parameter
Name Description
var string
Returns
Type Description
$this

getProcurementStatus

[Output Only] The status of the last known good state for the Future Reservation.

Check the ProcurementStatus enum for the list of possible values.

Returns
Type Description
string

hasProcurementStatus

clearProcurementStatus

setProcurementStatus

[Output Only] The status of the last known good state for the Future Reservation.

Check the ProcurementStatus enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this