Skip to content

Commit c7e1d21

Browse files
feat: [google-cloud-tpu] Introduce PerformMaintenance API (googleapis#13442)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat(v2alpha1): Introduce PerformMaintenance API feat(v2alpha1): Make v6e available for public preview feat(v2alpha1): add workload_type field feat(v2alpha1): Add reservation_name field feat(v2alpha1): Add UNKNOWN to TPU node state, This state will be used to prevent a node from being marked as READY during diagnose after it has failed repair feat(v2alpha1): add repeated networks feat(v2alpha1): Make V5Litepod accelerator config available feat(v2alpha1): A new enum `State` is added feat(v2alpha1): Promote `spot` to v2alpha1 API feat(v2alpha1): v5p available for public review feat(v2alpha1): add creation timestamp to queued resources feat(v2alpha1): add Usage to CLH getreservations API feat(v2alpha1): provide WAITING_FOR_CAPACITY state for queued resource, when the session is waiting to be provisioned feat(v2alpha1): publish boot_disk_config to support CHD with KMS docs(v2alpha1): A comment for field `network_config` in message `.google.cloud.tpu.v2alpha1.Node` is changed docs(v2alpha1): A comment for field `state_initiator` in message `.google.cloud.tpu.v2alpha1.QueuedResourceState` is changed END_COMMIT_OVERRIDE PiperOrigin-RevId: 715454157 Source-Link: googleapis/googleapis@fc2697e Source-Link: https://github.com/googleapis/googleapis-gen/commit/f3dc9f841a476d4ece01a85df5c95843f5ab179f Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRwdS8uT3dsQm90LnlhbWwiLCJoIjoiZjNkYzlmODQxYTQ3NmQ0ZWNlMDFhODVkZjVjOTU4NDNmNWFiMTc5ZiJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 74b2bd2 commit c7e1d21

25 files changed

+3533
-60
lines changed

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.21.0" # {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.21.0" # {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.21.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,19 @@
4747
ListNodesResponse,
4848
ListQueuedResourcesRequest,
4949
ListQueuedResourcesResponse,
50+
ListReservationsRequest,
51+
ListReservationsResponse,
5052
ListRuntimeVersionsRequest,
5153
ListRuntimeVersionsResponse,
5254
NetworkConfig,
5355
NetworkEndpoint,
5456
Node,
5557
OperationMetadata,
58+
PerformMaintenanceQueuedResourceRequest,
59+
PerformMaintenanceRequest,
5660
QueuedResource,
5761
QueuedResourceState,
62+
Reservation,
5863
ResetQueuedResourceRequest,
5964
RuntimeVersion,
6065
SchedulingConfig,
@@ -65,6 +70,7 @@
6570
StartNodeRequest,
6671
StopNodeRequest,
6772
Symptom,
73+
UpcomingMaintenance,
6874
UpdateNodeRequest,
6975
)
7076

@@ -97,14 +103,19 @@
97103
"ListNodesResponse",
98104
"ListQueuedResourcesRequest",
99105
"ListQueuedResourcesResponse",
106+
"ListReservationsRequest",
107+
"ListReservationsResponse",
100108
"ListRuntimeVersionsRequest",
101109
"ListRuntimeVersionsResponse",
102110
"NetworkConfig",
103111
"NetworkEndpoint",
104112
"Node",
105113
"OperationMetadata",
114+
"PerformMaintenanceQueuedResourceRequest",
115+
"PerformMaintenanceRequest",
106116
"QueuedResource",
107117
"QueuedResourceState",
118+
"Reservation",
108119
"ResetQueuedResourceRequest",
109120
"RuntimeVersion",
110121
"SchedulingConfig",
@@ -116,5 +127,6 @@
116127
"StopNodeRequest",
117128
"Symptom",
118129
"TpuClient",
130+
"UpcomingMaintenance",
119131
"UpdateNodeRequest",
120132
)

packages/google-cloud-tpu/google/cloud/tpu_v2alpha1/gapic_metadata.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,26 @@
7575
"list_queued_resources"
7676
]
7777
},
78+
"ListReservations": {
79+
"methods": [
80+
"list_reservations"
81+
]
82+
},
7883
"ListRuntimeVersions": {
7984
"methods": [
8085
"list_runtime_versions"
8186
]
8287
},
88+
"PerformMaintenance": {
89+
"methods": [
90+
"perform_maintenance"
91+
]
92+
},
93+
"PerformMaintenanceQueuedResource": {
94+
"methods": [
95+
"perform_maintenance_queued_resource"
96+
]
97+
},
8398
"ResetQueuedResource": {
8499
"methods": [
85100
"reset_queued_resource"
@@ -175,11 +190,26 @@
175190
"list_queued_resources"
176191
]
177192
},
193+
"ListReservations": {
194+
"methods": [
195+
"list_reservations"
196+
]
197+
},
178198
"ListRuntimeVersions": {
179199
"methods": [
180200
"list_runtime_versions"
181201
]
182202
},
203+
"PerformMaintenance": {
204+
"methods": [
205+
"perform_maintenance"
206+
]
207+
},
208+
"PerformMaintenanceQueuedResource": {
209+
"methods": [
210+
"perform_maintenance_queued_resource"
211+
]
212+
},
183213
"ResetQueuedResource": {
184214
"methods": [
185215
"reset_queued_resource"

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.21.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

0 commit comments

Comments
 (0)