Skip to content

Commit 5257378

Browse files
Google APIscopybara-github
authored andcommitted
feat!: Update default transport type for Connect Gateway v1beta1 client to "rest"
BREAKING CHANGE: gRPC support is being removed in favor of HTTP support, as gRPC is not currently supported by Connect Gateway. PiperOrigin-RevId: 695487411
1 parent c809d35 commit 5257378

1 file changed

Lines changed: 9 additions & 17 deletions

File tree

google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ load(
5050
"java_gapic_assembly_gradle_pkg",
5151
"java_gapic_library",
5252
"java_gapic_test",
53-
"java_grpc_library",
5453
"java_proto_library",
5554
)
5655

@@ -59,12 +58,6 @@ java_proto_library(
5958
deps = [":gateway_proto"],
6059
)
6160

62-
java_grpc_library(
63-
name = "gateway_java_grpc",
64-
srcs = [":gateway_proto"],
65-
deps = [":gateway_java_proto"],
66-
)
67-
6861
java_gapic_library(
6962
name = "gateway_java_gapic",
7063
srcs = [":gateway_proto_with_info"],
@@ -73,9 +66,8 @@ java_gapic_library(
7366
rest_numeric_enums = False,
7467
service_yaml = "connectgateway_v1beta1.yaml",
7568
test_deps = [
76-
":gateway_java_grpc",
7769
],
78-
transport = "grpc",
70+
transport = "rest",
7971
deps = [
8072
":gateway_java_proto",
8173
"//google/api:api_java_proto",
@@ -94,10 +86,9 @@ java_gapic_test(
9486
java_gapic_assembly_gradle_pkg(
9587
name = "google-cloud-gkeconnect-gateway-v1beta1-java",
9688
include_samples = True,
97-
transport = "grpc",
89+
transport = "rest",
9890
deps = [
9991
":gateway_java_gapic",
100-
":gateway_java_grpc",
10192
":gateway_java_proto",
10293
":gateway_proto",
10394
],
@@ -133,7 +124,7 @@ go_gapic_library(
133124
release_level = "beta",
134125
rest_numeric_enums = False,
135126
service_yaml = "connectgateway_v1beta1.yaml",
136-
transport = "grpc+rest",
127+
transport = "rest",
137128
deps = [
138129
":gateway_go_proto",
139130
],
@@ -169,7 +160,7 @@ py_gapic_library(
169160
opt_args = ["warehouse-package-name=google-cloud-gke-connect-gateway"],
170161
rest_numeric_enums = False,
171162
service_yaml = "connectgateway_v1beta1.yaml",
172-
transport = "grpc",
163+
transport = "rest",
173164
deps = [
174165
],
175166
)
@@ -215,7 +206,7 @@ php_gapic_library(
215206
migration_mode = "MIGRATING",
216207
rest_numeric_enums = False,
217208
service_yaml = "connectgateway_v1beta1.yaml",
218-
transport = "grpc+rest",
209+
transport = "rest",
219210
deps = [
220211
":gateway_php_proto",
221212
],
@@ -249,7 +240,7 @@ nodejs_gapic_library(
249240
package = "google.cloud.gkeconnect.gateway.v1beta1",
250241
rest_numeric_enums = False,
251242
service_yaml = "connectgateway_v1beta1.yaml",
252-
transport = "grpc+rest",
243+
transport = "rest",
253244
deps = [],
254245
)
255246

@@ -299,7 +290,7 @@ ruby_cloud_gapic_library(
299290
ruby_cloud_description = "The Connect gateway builds on the power of fleets to let Anthos users connect to and run commands against registered Anthos clusters in a simple, consistent, and secured way, whether the clusters are on Google Cloud, other public clouds, or on premises, and makes it easier to automate DevOps processes across all your clusters.",
300291
ruby_cloud_title = "Connect Gateway V1beta1",
301292
service_yaml = "connectgateway_v1beta1.yaml",
302-
transport = "grpc+rest",
293+
transport = "rest",
303294
deps = [
304295
":gateway_ruby_grpc",
305296
":gateway_ruby_proto",
@@ -330,6 +321,7 @@ load(
330321

331322
csharp_proto_library(
332323
name = "gateway_csharp_proto",
324+
extra_opts = [],
333325
deps = [":gateway_proto"],
334326
)
335327

@@ -346,7 +338,7 @@ csharp_gapic_library(
346338
grpc_service_config = "connectgateway_v1beta1_grpc_service_config.json",
347339
rest_numeric_enums = False,
348340
service_yaml = "connectgateway_v1beta1.yaml",
349-
transport = "grpc+rest",
341+
transport = "rest",
350342
deps = [
351343
":gateway_csharp_grpc",
352344
":gateway_csharp_proto",

0 commit comments

Comments
 (0)