# Google Cloud Tpu V2 Client - Class Guaranteed (2.3.0)

2.3.0 (latest) 2.2.2 2.1.2 2.0.0 1.4.7 1.3.2 1.2.0 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Tpu V2 Client class Guaranteed.

Guaranteed tier definition.

Generated from protobuf message `google.cloud.tpu.v2.QueuedResource.Guaranteed`

## Namespace

Google \\ Cloud \\ Tpu \\ V2 \\ QueuedResource

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ min_duration` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` Optional. Defines the minimum duration of the guarantee. If specified, the requested resources will only be provisioned if they can be allocated for at least the given duration. |

### getMinDuration

Optional. Defines the minimum duration of the guarantee. If specified,
the requested resources will only be provisioned if they can be
allocated for at least the given duration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration|null` |   |

### hasMinDuration

### clearMinDuration

### setMinDuration

Optional. Defines the minimum duration of the guarantee. If specified,
the requested resources will only be provisioned if they can be
allocated for at least the given duration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` |

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