Class QueuedResource (1.24.0) Stay organized with collections Save and categorize content based on your preferences.
QueuedResource(mapping=None,*,ignore_unknown_fields=False,**kwargs)A QueuedResource represents a request for resources that willbe placed in a queue and fulfilled when the necessary resourcesare available.
This message hasoneof_ 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 othermembers.
.. _oneof:https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
|---|---|
| Name | Description |
name | strOutput only. Immutable. The name of the QueuedResource. |
create_time | google.protobuf.timestamp_pb2.TimestampOutput only. The time when the QueuedResource was created. |
tpu | google.cloud.tpu_v2.types.QueuedResource.TpuOptional. Defines a TPU resource. This field is a member of oneof_resource. |
spot | google.cloud.tpu_v2.types.QueuedResource.SpotOptional. The Spot tier. This field is a member of oneof_tier. |
guaranteed | google.cloud.tpu_v2.types.QueuedResource.GuaranteedOptional. The Guaranteed tier This field is a member of oneof_tier. |
queueing_policy | google.cloud.tpu_v2.types.QueuedResource.QueueingPolicyOptional. The queueing policy of the QueuedRequest. |
state | google.cloud.tpu_v2.types.QueuedResourceStateOutput only. State of the QueuedResource request. |
reservation_name | strOptional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation} |
Classes
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 hasoneof_ 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 othermembers.
.. _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.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.