# Class QueuedResource (1.27.0)

1.27.0 (latest) 1.26.0 1.25.0 1.24.0 1.23.2 1.22.0 1.21.0 1.20.0 1.19.1 1.18.5 1.17.0 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.2 1.10.1 1.9.0 1.8.0 1.7.2 1.6.0 1.5.2 1.4.1 1.3.4 1.2.1 1.1.0 1.0.2 0.2.2 0.1.0

    QueuedResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A QueuedResource represents a request for resources that will
be placed in a queue and fulfilled when the necessary resources
are available.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. Immutable. The name of the QueuedResource. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the QueuedResource was created. |
| `tpu` | `https://docs.cloud.google.com/python/docs/reference/tpu/latest/google.cloud.tpu_v2alpha1.types.QueuedResource.Tpu` Defines a TPU resource. This field is a member of `oneof`_ `resource`. |
| `best_effort` | `https://docs.cloud.google.com/python/docs/reference/tpu/latest/google.cloud.tpu_v2alpha1.types.QueuedResource.BestEffort` The BestEffort tier. This field is a member of `oneof`_ `tier`. |
| `guaranteed` | `https://docs.cloud.google.com/python/docs/reference/tpu/latest/google.cloud.tpu_v2alpha1.types.QueuedResource.Guaranteed` The Guaranteed tier. This field is a member of `oneof`_ `tier`. |
| `spot` | `https://docs.cloud.google.com/python/docs/reference/tpu/latest/google.cloud.tpu_v2alpha1.types.QueuedResource.Spot` Optional. The Spot tier. This field is a member of `oneof`_ `tier`. |
| `queueing_policy` | `https://docs.cloud.google.com/python/docs/reference/tpu/latest/google.cloud.tpu_v2alpha1.types.QueuedResource.QueueingPolicy` The queueing policy of the QueuedRequest. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/tpu/latest/google.cloud.tpu_v2alpha1.types.QueuedResourceState` Output only. State of the QueuedResource request. |
| `reservation_name` | `str` Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation} |

## Classes

### BestEffort

    BestEffort(mapping=None, *, ignore_unknown_fields=False, **kwargs)

BestEffort tier definition.

### Guaranteed

    Guaranteed(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Guaranteed tier definition.

### QueueingPolicy

    QueueingPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Defines the policy of the QueuedRequest.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### Spot

    Spot(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Spot tier definition.

### Tpu

    Tpu(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Details of the TPU resource(s) being requested.