# Compute V1 Client - Class FutureReservationStatus (2.10.0)

2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.1 1.21.0 1.20.0 1.19.0 1.18.1 1.17.0 1.16.2 1.14.0 1.13.0 1.12.1 1.11.1 1.10.1 1.9.1 1.8.3 1.7.1 1.6.1 1.5.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. \[Output Only\] The current status of the requested amendment. Check the AmendmentStatus enum for the list of possible values. |
| `↳ auto_created_reservations` | `string[]` Output only. Fully qualified urls of the automatically created reservations at start_time. |
| `↳ existing_matching_usage_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.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` | `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.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` | `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### 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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.FutureReservationStatusExistingMatchingUsageInfo|null` |   |

### hasExistingMatchingUsageInfo

### clearExistingMatchingUsageInfo

### setExistingMatchingUsageInfo

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.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` | `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.FutureReservationStatusSpecificSKUProperties|null` |   |

### hasSpecificSkuProperties

### clearSpecificSkuProperties

### setSpecificSkuProperties

Generated from protobuf field `optional .google.cloud.compute.v1.FutureReservationStatusSpecificSKUProperties specific_sku_properties = 108887106;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-compute/latest/V1.FutureReservationStatusSpecificSKUProperties` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |