State of the QueuedResource request is not known/set.
Generated from protobuf enumSTATE_UNSPECIFIED = 0;
CREATING
Value: 1
The QueuedResource request has been received. We're still working on
determining if we will be able to honor this request.
Generated from protobuf enumCREATING = 1;
ACCEPTED
Value: 2
The QueuedResource request has passed initial validation/admission
control and has been persisted in the queue.
Generated from protobuf enumACCEPTED = 2;
PROVISIONING
Value: 3
The QueuedResource request has been selected. The
associated resources are currently being provisioned (or very soon
will begin provisioning).
Generated from protobuf enumPROVISIONING = 3;
FAILED
Value: 4
The request could not be completed. This may be due to some
late-discovered problem with the request itself, or due to
unavailability of resources within the constraints of the request
(e.g., the 'valid until' start timing constraint expired).
Generated from protobuf enumFAILED = 4;
DELETING
Value: 5
The QueuedResource is being deleted.
Generated from protobuf enumDELETING = 5;
ACTIVE
Value: 6
The resources specified in the QueuedResource request have been
provisioned and are ready for use by the end-user/consumer.
Generated from protobuf enumACTIVE = 6;
SUSPENDING
Value: 7
The resources specified in the QueuedResource request are being
deleted. This may have been initiated by the user, or
the Cloud TPU service. Inspect the state data for more details.
Generated from protobuf enumSUSPENDING = 7;
SUSPENDED
Value: 8
The resources specified in the QueuedResource request have been
deleted.
Generated from protobuf enumSUSPENDED = 8;
WAITING_FOR_RESOURCES
Value: 9
The QueuedResource request has passed initial validation and has been
persisted in the queue. It will remain in this state until there are
sufficient free resources to begin provisioning your request. Wait times
will vary significantly depending on demand levels. When demand is high,
not all requests can be immediately provisioned. If you
need more reliable obtainability of TPUs consider purchasing a
reservation. To put a limit on how long you are willing to wait, usetiming
constraints.
Generated from protobuf enumWAITING_FOR_RESOURCES = 9;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Tpu V2 Client - Class State (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-tpu/latest/V2.QueuedResourceState.State)\n- [2.1.1](/php/docs/reference/cloud-tpu/2.1.1/V2.QueuedResourceState.State)\n- [2.0.0](/php/docs/reference/cloud-tpu/2.0.0/V2.QueuedResourceState.State)\n- [1.4.7](/php/docs/reference/cloud-tpu/1.4.7/V2.QueuedResourceState.State)\n- [1.3.2](/php/docs/reference/cloud-tpu/1.3.2/V2.QueuedResourceState.State)\n- [1.2.0](/php/docs/reference/cloud-tpu/1.2.0/V2.QueuedResourceState.State)\n- [1.1.1](/php/docs/reference/cloud-tpu/1.1.1/V2.QueuedResourceState.State)\n- [1.0.5](/php/docs/reference/cloud-tpu/1.0.5/V2.QueuedResourceState.State) \nReference documentation and code samples for the Google Cloud Tpu V2 Client class State.\n\nOutput only state of the request\n\nProtobuf type `google.cloud.tpu.v2.QueuedResourceState.State`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Tpu \\\\ V2 \\\\ QueuedResourceState\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n Value: 0\n\nState of the QueuedResource request is not known/set.\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### CREATING\n\n Value: 1\n\nThe QueuedResource request has been received. We're still working on\ndetermining if we will be able to honor this request.\n\nGenerated from protobuf enum `CREATING = 1;`\n\n### ACCEPTED\n\n Value: 2\n\nThe QueuedResource request has passed initial validation/admission\ncontrol and has been persisted in the queue.\n\nGenerated from protobuf enum `ACCEPTED = 2;`\n\n### PROVISIONING\n\n Value: 3\n\nThe QueuedResource request has been selected. The\nassociated resources are currently being provisioned (or very soon\nwill begin provisioning).\n\nGenerated from protobuf enum `PROVISIONING = 3;`\n\n### FAILED\n\n Value: 4\n\nThe request could not be completed. This may be due to some\nlate-discovered problem with the request itself, or due to\nunavailability of resources within the constraints of the request\n(e.g., the 'valid until' start timing constraint expired).\n\nGenerated from protobuf enum `FAILED = 4;`\n\n### DELETING\n\n Value: 5\n\nThe QueuedResource is being deleted.\n\nGenerated from protobuf enum `DELETING = 5;`\n\n### ACTIVE\n\n Value: 6\n\nThe resources specified in the QueuedResource request have been\nprovisioned and are ready for use by the end-user/consumer.\n\nGenerated from protobuf enum `ACTIVE = 6;`\n\n### SUSPENDING\n\n Value: 7\n\nThe resources specified in the QueuedResource request are being\ndeleted. This may have been initiated by the user, or\nthe Cloud TPU service. Inspect the state data for more details.\n\nGenerated from protobuf enum `SUSPENDING = 7;`\n\n### SUSPENDED\n\n Value: 8\n\nThe resources specified in the QueuedResource request have been\ndeleted.\n\nGenerated from protobuf enum `SUSPENDED = 8;`\n\n### WAITING_FOR_RESOURCES\n\n Value: 9\n\nThe QueuedResource request has passed initial validation and has been\npersisted in the queue. It will remain in this state until there are\nsufficient free resources to begin provisioning your request. Wait times\nwill vary significantly depending on demand levels. When demand is high,\nnot all requests can be immediately provisioned. If you\nneed more reliable obtainability of TPUs consider purchasing a\nreservation. To put a limit on how long you are willing to wait, use\n[timing\nconstraints](https://cloud.google.com/tpu/docs/queued-resources#request_a_queued_resource_before_a_specified_time).\n\nGenerated from protobuf enum `WAITING_FOR_RESOURCES = 9;`"]]