Skip to content

Commit f8dcd67

Browse files
feat: [tpu] added new WAITING_FOR_RESOURCES state for QueuedResourceState (#4682)
* feat: added new WAITING_FOR_RESOURCES state for QueuedResourceState PiperOrigin-RevId: 566723901 Source-Link: googleapis/googleapis@1004d19 Source-Link: googleapis/googleapis-gen@04e4761 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRwdS8uT3dsQm90LnlhbWwiLCJoIjoiMDRlNDc2MWY4NDYzYjkzY2FkZjRmZDlmMjQxYWIwNWI2NzIxMWU4ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent bf0f0e2 commit f8dcd67

4 files changed

Lines changed: 22 additions & 2 deletions

File tree

packages/google-cloud-tpu/protos/google/cloud/tpu/v2alpha1/cloud_tpu.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,17 @@ message QueuedResourceState {
723723
// The resources specified in the QueuedResource request have been
724724
// deleted.
725725
SUSPENDED = 8;
726+
727+
// The QueuedResource request has passed initial validation and has been
728+
// persisted in the queue. It will remain in this state until there are
729+
// sufficient free resources to begin provisioning your request. Wait times
730+
// will vary significantly depending on demand levels. When demand is high,
731+
// not all requests can be immediately provisioned. If you
732+
// need more reliable obtainability of TPUs consider purchasing a
733+
// reservation. To put a limit on how long you are willing to wait, use
734+
// [timing
735+
// constraints](https://cloud.google.com/tpu/docs/queued-resources#request_a_queued_resource_before_a_specified_time).
736+
WAITING_FOR_RESOURCES = 9;
726737
}
727738

728739
// Further data for the creating state.

packages/google-cloud-tpu/protos/protos.d.ts

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-tpu/protos/protos.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-tpu/protos/protos.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)