# Google Cloud Capacity Planner V1beta Client - Class Status (0.1.2)

0.1.2 (latest) 0.1.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class Status.

Represents status related to the future reservation.

Generated from protobuf message `google.cloud.capacityplanner.v1beta.FutureReservation.Status`

## Namespace

Google \\ Cloud \\ CapacityPlanner \\ V1beta \\ FutureReservation

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ procurement_status` | `int` Current state of this Future Reservation |
| `↳ lock_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` 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. |
| `↳ auto_created_reservations` | `string[]` Fully qualified urls of the automatically created reservations at start_time. |
| `↳ 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. |

### getProcurementStatus

Current state of this Future Reservation

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ProcurementStatus](https://docs.cloud.google.com/php/docs/reference/cloud-capacityplanner/latest/V1beta.FutureReservation.Status.ProcurementStatus). |

### setProcurementStatus

Current state of this Future Reservation

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ProcurementStatus](https://docs.cloud.google.com/php/docs/reference/cloud-capacityplanner/latest/V1beta.FutureReservation.Status.ProcurementStatus). |

| **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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### 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` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getAutoCreatedReservations

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

Fully qualified urls of the automatically created reservations at
start_time.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **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` |   |

### 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` |   |