Skip to content

Commit fc2697e

Browse files
Google APIscopybara-github
authored andcommitted
feat: Introduce PerformMaintenance API
feat: Make v6e available for public preview feat: add workload_type field in ALPHA TPU API feat: Add reservation_name field in v2alpha API feat: 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: add repeated networks for ALPHA TPU API feat: Make V5Litepod accelerator config available for v2alpha1 feat: A new enum `State` is added feat: Promote `spot` to v2alpha1 API feat: v5p available for public review feat: add creation timestamp to queued resources feat: add Usage to CLH getreservations API feat: provide WAITING_FOR_CAPACITY state for queued resource, when the session is waiting to be provisioned feat: publish boot_disk_config to support CHD with KMS docs: A comment for field `network_config` in message `.google.cloud.tpu.v2alpha1.Node` is changed docs: A comment for field `state_initiator` in message `.google.cloud.tpu.v2alpha1.QueuedResourceState` is changed PiperOrigin-RevId: 715454157
1 parent 34d78f0 commit fc2697e

2 files changed

Lines changed: 302 additions & 4 deletions

File tree

google/cloud/tpu/v2alpha1/BUILD.bazel

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@
99
# * extra_protoc_file_parameters
1010
# The complete list of preserved parameters can be found in the source code.
1111

12+
# buildifier: disable=load-on-top
13+
1214
# This is an API workspace, having public visibility by default makes perfect sense.
1315
package(default_visibility = ["//visibility:public"])
1416

1517
##############################################################################
1618
# Common
1719
##############################################################################
18-
load("@rules_proto//proto:defs.bzl", "proto_library")
20+
# buildifier: disable=same-origin-load
1921
load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
22+
load("@rules_proto//proto:defs.bzl", "proto_library")
2023

2124
proto_library(
2225
name = "tpu_proto",
@@ -27,6 +30,7 @@ proto_library(
2730
"//google/api:annotations_proto",
2831
"//google/api:client_proto",
2932
"//google/api:field_behavior_proto",
33+
"//google/api:field_info_proto",
3034
"//google/api:resource_proto",
3135
"//google/longrunning:operations_proto",
3236
"//google/rpc:status_proto",
@@ -50,6 +54,7 @@ proto_library_with_info(
5054
##############################################################################
5155
# Java
5256
##############################################################################
57+
# buildifier: disable=same-origin-load
5358
load(
5459
"@com_google_googleapis_imports//:imports.bzl",
5560
"java_gapic_assembly_gradle_pkg",
@@ -113,6 +118,7 @@ java_gapic_assembly_gradle_pkg(
113118
##############################################################################
114119
# Go
115120
##############################################################################
121+
# buildifier: disable=same-origin-load
116122
load(
117123
"@com_google_googleapis_imports//:imports.bzl",
118124
"go_gapic_assembly_pkg",
@@ -168,6 +174,7 @@ go_gapic_assembly_pkg(
168174
##############################################################################
169175
# Python
170176
##############################################################################
177+
# buildifier: disable=same-origin-load
171178
load(
172179
"@com_google_googleapis_imports//:imports.bzl",
173180
"py_gapic_assembly_pkg",
@@ -207,6 +214,7 @@ py_gapic_assembly_pkg(
207214
##############################################################################
208215
# PHP
209216
##############################################################################
217+
# buildifier: disable=same-origin-load
210218
load(
211219
"@com_google_googleapis_imports//:imports.bzl",
212220
"php_gapic_assembly_pkg",
@@ -223,10 +231,13 @@ php_gapic_library(
223231
name = "tpu_php_gapic",
224232
srcs = [":tpu_proto_with_info"],
225233
grpc_service_config = "tpu_grpc_service_config.json",
234+
migration_mode = "PRE_MIGRATION_SURFACE_ONLY",
226235
rest_numeric_enums = True,
227236
service_yaml = "tpu_v2alpha1.yaml",
228237
transport = "grpc+rest",
229-
deps = [":tpu_php_proto"],
238+
deps = [
239+
":tpu_php_proto",
240+
],
230241
)
231242

232243
# Open Source Packages
@@ -241,6 +252,7 @@ php_gapic_assembly_pkg(
241252
##############################################################################
242253
# Node.js
243254
##############################################################################
255+
# buildifier: disable=same-origin-load
244256
load(
245257
"@com_google_googleapis_imports//:imports.bzl",
246258
"nodejs_gapic_assembly_pkg",
@@ -271,6 +283,7 @@ nodejs_gapic_assembly_pkg(
271283
##############################################################################
272284
# Ruby
273285
##############################################################################
286+
# buildifier: disable=same-origin-load
274287
load(
275288
"@com_google_googleapis_imports//:imports.bzl",
276289
"ruby_cloud_gapic_library",
@@ -317,6 +330,7 @@ ruby_gapic_assembly_pkg(
317330
##############################################################################
318331
# C#
319332
##############################################################################
333+
# buildifier: disable=same-origin-load
320334
load(
321335
"@com_google_googleapis_imports//:imports.bzl",
322336
"csharp_gapic_assembly_pkg",
@@ -327,6 +341,7 @@ load(
327341

328342
csharp_proto_library(
329343
name = "tpu_csharp_proto",
344+
extra_opts = [],
330345
deps = [":tpu_proto"],
331346
)
332347

@@ -363,6 +378,7 @@ csharp_gapic_assembly_pkg(
363378
##############################################################################
364379
# C++
365380
##############################################################################
381+
# buildifier: disable=same-origin-load
366382
load(
367383
"@com_google_googleapis_imports//:imports.bzl",
368384
"cc_grpc_library",

0 commit comments

Comments
 (0)