Skip to content

Commit b0f2af1

Browse files
Google APIscopybara-github
authored andcommitted
feat(typescript): enable REST transport
To use REST transport, pass {fallback: "rest"} to the client constructor. PiperOrigin-RevId: 512747300
1 parent 7d8d9a2 commit b0f2af1

92 files changed

Lines changed: 164 additions & 161 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

google/analytics/admin/v1beta/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,11 @@ csharp_gapic_library(
347347
grpc_service_config = "admin_grpc_service_config.json",
348348
rest_numeric_enums = True,
349349
service_yaml = "analyticsadmin.yaml",
350+
transport = "grpc+rest",
350351
deps = [
351352
":admin_csharp_grpc",
352353
":admin_csharp_proto",
353354
],
354-
transport = "grpc+rest",
355355
)
356356

357357
# Open Source Packages

google/analytics/data/v1alpha/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,11 @@ csharp_gapic_library(
299299
grpc_service_config = "analytics_data_grpc_service_config.json",
300300
rest_numeric_enums = True,
301301
service_yaml = "analyticsdata_v1alpha.yaml",
302+
transport = "grpc+rest",
302303
deps = [
303304
":data_csharp_grpc",
304305
":data_csharp_proto",
305306
],
306-
transport = "grpc+rest",
307307
)
308308

309309
# Open Source Packages

google/analytics/data/v1beta/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,11 @@ csharp_gapic_library(
352352
grpc_service_config = "analytics_data_grpc_service_config.json",
353353
rest_numeric_enums = True,
354354
service_yaml = "analyticsdata_v1beta.yaml",
355+
transport = "grpc+rest",
355356
deps = [
356357
":data_csharp_grpc",
357358
":data_csharp_proto",
358359
],
359-
transport = "grpc+rest",
360360
)
361361

362362
# Open Source Packages

google/apps/drive/labels/v2/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,11 +355,11 @@ csharp_gapic_library(
355355
grpc_service_config = "drivelabels_v2_grpc_service_config.json",
356356
rest_numeric_enums = True,
357357
service_yaml = "drivelabels_v2.yaml",
358+
transport = "grpc+rest",
358359
deps = [
359360
":labels_csharp_grpc",
360361
":labels_csharp_proto",
361362
],
362-
transport = "grpc+rest",
363363
)
364364

365365
# Open Source Packages

google/apps/drive/labels/v2beta/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,11 @@ csharp_gapic_library(
360360
grpc_service_config = "drivelabels_v2beta_grpc_service_config.json",
361361
rest_numeric_enums = True,
362362
service_yaml = "drivelabels_v2beta.yaml",
363+
transport = "grpc+rest",
363364
deps = [
364365
":labels_csharp_grpc",
365366
":labels_csharp_proto",
366367
],
367-
transport = "grpc+rest",
368368
)
369369

370370
# Open Source Packages

google/bigtable/admin/v2/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ nodejs_gapic_library(
250250
package = "google.bigtable.admin.v2",
251251
rest_numeric_enums = True,
252252
service_yaml = "bigtableadmin_v2.yaml",
253-
transport = "grpc+rest",
253+
transport = "grpc",
254254
deps = [],
255255
)
256256

google/bigtable/v2/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ nodejs_gapic_library(
231231
package = "google.bigtable.v2",
232232
rest_numeric_enums = True,
233233
service_yaml = "bigtable_v2.yaml",
234-
transport = "grpc+rest",
234+
transport = "grpc",
235235
deps = [],
236236
)
237237

google/cloud/advisorynotifications/v1/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ java_gapic_test(
9292
# Open Source Packages
9393
java_gapic_assembly_gradle_pkg(
9494
name = "google-cloud-advisorynotifications-v1-java",
95+
include_samples = True,
9596
transport = "grpc+rest",
9697
deps = [
9798
":advisorynotifications_java_gapic",
9899
":advisorynotifications_java_grpc",
99100
":advisorynotifications_java_proto",
100101
":advisorynotifications_proto",
101102
],
102-
include_samples = True,
103103
)
104104

105105
##############################################################################
@@ -150,8 +150,8 @@ go_gapic_assembly_pkg(
150150
name = "gapi-cloud-advisorynotifications-v1-go",
151151
deps = [
152152
":advisorynotifications_go_gapic",
153-
":advisorynotifications_go_gapic_srcjar-test.srcjar",
154153
":advisorynotifications_go_gapic_srcjar-metadata.srcjar",
154+
":advisorynotifications_go_gapic_srcjar-test.srcjar",
155155
":advisorynotifications_go_proto",
156156
],
157157
)
@@ -274,8 +274,8 @@ nodejs_gapic_assembly_pkg(
274274
##############################################################################
275275
load(
276276
"@com_google_googleapis_imports//:imports.bzl",
277-
"ruby_gapic_assembly_pkg",
278277
"ruby_cloud_gapic_library",
278+
"ruby_gapic_assembly_pkg",
279279
"ruby_grpc_library",
280280
"ruby_proto_library",
281281
)

google/cloud/aiplatform/v1/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ go_gapic_library(
255255
srcs = [":aiplatform_proto_with_info"],
256256
grpc_service_config = "aiplatform_grpc_service_config.json",
257257
importpath = "cloud.google.com/go/aiplatform/apiv1;aiplatform",
258-
release_level = "ga",
259258
metadata = True,
259+
release_level = "ga",
260260
rest_numeric_enums = False,
261261
service_yaml = "aiplatform_v1.yaml",
262262
transport = "grpc",

google/cloud/aiplatform/v1beta1/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ proto_library(
6464
"lineage_subgraph.proto",
6565
"machine_resources.proto",
6666
"manual_batch_tuning_parameters.proto",
67-
"metadata_schema.proto",
6867
"match_service.proto",
68+
"metadata_schema.proto",
6969
"metadata_service.proto",
7070
"metadata_store.proto",
7171
"migratable_resource.proto",
@@ -253,8 +253,8 @@ go_gapic_library(
253253
srcs = [":aiplatform_proto_with_info"],
254254
grpc_service_config = "aiplatform_grpc_service_config.json",
255255
importpath = "cloud.google.com/go/aiplatform/apiv1beta1;aiplatform",
256-
release_level = "beta",
257256
metadata = True,
257+
release_level = "beta",
258258
rest_numeric_enums = False,
259259
service_yaml = "aiplatform_v1beta1.yaml",
260260
transport = "grpc+rest",
@@ -399,7 +399,7 @@ nodejs_gapic_library(
399399
package = "google.cloud.aiplatform.v1beta1",
400400
rest_numeric_enums = False,
401401
service_yaml = "aiplatform_v1beta1.yaml",
402-
transport = "grpc",
402+
transport = "grpc+rest",
403403
deps = [],
404404
)
405405

0 commit comments

Comments
 (0)