Skip to content

Commit f108e9b

Browse files
feat(v2alpha1): added new WAITING_FOR_RESOURCES state for QueuedResourceState (#11673)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 566723901 Source-Link: googleapis/googleapis@1004d19 Source-Link: googleapis/googleapis-gen@04e4761 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRwdS8uT3dsQm90LnlhbWwiLCJoIjoiMDRlNDc2MWY4NDYzYjkzY2FkZjRmZDlmMjQxYWIwNWI2NzIxMWU4ZSJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 484bac8 commit f108e9b

8 files changed

Lines changed: 19 additions & 7 deletions

File tree

packages/google-cloud-tpu/google/cloud/tpu/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.15.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-tpu/google/cloud/tpu_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.15.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-tpu/google/cloud/tpu_v2/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.15.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-tpu/google/cloud/tpu_v2alpha1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.15.1" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-tpu/google/cloud/tpu_v2alpha1/types/cloud_tpu.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -989,6 +989,17 @@ class State(proto.Enum):
989989
SUSPENDED (8):
990990
The resources specified in the QueuedResource
991991
request have been deleted.
992+
WAITING_FOR_RESOURCES (9):
993+
The QueuedResource request has passed initial validation and
994+
has been persisted in the queue. It will remain in this
995+
state until there are sufficient free resources to begin
996+
provisioning your request. Wait times will vary
997+
significantly depending on demand levels. When demand is
998+
high, not all requests can be immediately provisioned. If
999+
you need more reliable obtainability of TPUs consider
1000+
purchasing a reservation. To put a limit on how long you are
1001+
willing to wait, use `timing
1002+
constraints <https://cloud.google.com/tpu/docs/queued-resources#request_a_queued_resource_before_a_specified_time>`__.
9921003
"""
9931004
STATE_UNSPECIFIED = 0
9941005
CREATING = 1
@@ -999,6 +1010,7 @@ class State(proto.Enum):
9991010
ACTIVE = 6
10001011
SUSPENDING = 7
10011012
SUSPENDED = 8
1013+
WAITING_FOR_RESOURCES = 9
10021014

10031015
class StateInitiator(proto.Enum):
10041016
r"""The initiator of the QueuedResource's SUSPENDING/SUSPENDED

packages/google-cloud-tpu/samples/generated_samples/snippet_metadata_google.cloud.tpu.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-tpu",
11-
"version": "1.15.1"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-tpu/samples/generated_samples/snippet_metadata_google.cloud.tpu.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-tpu",
11-
"version": "1.15.1"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-tpu/samples/generated_samples/snippet_metadata_google.cloud.tpu.v2alpha1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-tpu",
11-
"version": "1.15.1"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)