Skip to content

Commit 5a9ee4d

Browse files
Google APIscopybara-github
authored andcommitted
feat: enable REST transport for Python Preview clients
PiperOrigin-RevId: 474571730
1 parent 4699046 commit 5a9ee4d

23 files changed

Lines changed: 24 additions & 24 deletions

File tree

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ go_register_toolchains(version = "1.16")
111111
# rules_gapic also depends on rules_go, so it must come after our own dependency on rules_go.
112112
# It must also come before gapic-generator-go so as to ensure that it does not bring in an old
113113
# version of rules_gapic.
114-
_rules_gapic_version = "0.16.0"
114+
_rules_gapic_version = "0.17.0"
115115

116-
_rules_gapic_sha256 = "161c6578a3da09a16f0ecc3a8beaeeee84886550ad78c051a567b154434921da"
116+
_rules_gapic_sha256 = "3fd8b13f0b801c5efc1bb24cf08c33ddc61793ba48818154058c2c533dfc11c5"
117117

118118
http_archive(
119119
name = "rules_gapic",

google/analytics/data/v1alpha/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ py_gapic_library(
167167
srcs = [":data_proto"],
168168
grpc_service_config = "analytics_data_grpc_service_config.json",
169169
service_yaml = "analyticsdata_v1alpha.yaml",
170-
transport = "grpc",
170+
transport = "grpc+rest",
171171
)
172172

173173
py_test(

google/analytics/data/v1beta/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ py_gapic_library(
163163
name = "data_py_gapic",
164164
srcs = [":data_proto"],
165165
grpc_service_config = "analytics_data_grpc_service_config.json",
166-
transport = "grpc",
166+
transport = "grpc+rest",
167167
)
168168

169169
py_test(

google/api/apikeys/v2/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ py_gapic_library(
180180
"python-gapic-name=api_keys",
181181
],
182182
service_yaml = "apikeys_v2.yaml",
183-
transport = "grpc",
183+
transport = "grpc+rest",
184184
deps = [],
185185
)
186186

google/area120/tables/v1alpha1/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ py_gapic_library(
164164
name = "tables_py_gapic",
165165
srcs = [":tables_proto"],
166166
grpc_service_config = "tables_grpc_service_config.json",
167-
transport = "grpc",
167+
transport = "grpc+rest",
168168
)
169169

170170
py_test(

google/cloud/apigeeregistry/v1/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ py_gapic_library(
194194
"python-gapic-name=apigee_registry",
195195
],
196196
service_yaml = "apigeeregistry_v1.yaml",
197-
transport = "grpc",
197+
transport = "grpc+rest",
198198
)
199199

200200
py_test(

google/cloud/batch/v1/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ py_gapic_library(
186186
srcs = [":batch_proto"],
187187
grpc_service_config = "batch_v1_grpc_service_config.json",
188188
service_yaml = "batch_v1.yaml",
189-
transport = "grpc",
189+
transport = "grpc+rest",
190190
deps = [
191191
"//google/iam/v1:iam_policy_py_proto",
192192
],

google/cloud/batch/v1alpha/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ py_gapic_library(
186186
srcs = [":batch_proto"],
187187
grpc_service_config = "batch_v1alpha_grpc_service_config.json",
188188
service_yaml = "batch_v1alpha.yaml",
189-
transport = "grpc",
189+
transport = "grpc+rest",
190190
deps = [
191191
"//google/iam/v1:iam_policy_py_proto",
192192
],

google/cloud/beyondcorp/appconnections/v1/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ py_gapic_library(
181181
"python-gapic-name=beyondcorp_appconnections",
182182
],
183183
service_yaml = "beyondcorp_v1.yaml",
184-
transport = "grpc",
184+
transport = "grpc+rest",
185185
deps = [
186186
"//google/iam/v1:iam_policy_py_proto",
187187
],

google/cloud/beyondcorp/appconnectors/v1/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ py_gapic_library(
185185
"python-gapic-name=beyondcorp_appconnectors",
186186
],
187187
service_yaml = "beyondcorp_v1.yaml",
188-
transport = "grpc",
188+
transport = "grpc+rest",
189189
deps = [
190190
"//google/iam/v1:iam_policy_py_proto",
191191
],

0 commit comments

Comments
 (0)