Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5edc235

Browse filesBrowse files
Google APIscopybara-github
authored andcommitted
fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets
PiperOrigin-RevId: 510187992
1 parent 60e595b commit 5edc235
Copy full SHA for 5edc235

File tree

Expand file treeCollapse file tree

170 files changed

+299
-129
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

170 files changed

+299
-129
lines changed

‎google/ads/admob/v1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/ads/admob/v1/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ py_gapic_library(
182182
":admob_proto_with_info",
183183
],
184184
rest_numeric_enums = True,
185+
service_yaml = "//google/ads/admob:admob_v1.yaml",
185186
transport = "rest",
186187
)
187188

‎google/ads/googleads/v11/BUILD.bazel

Copy file name to clipboardExpand all lines: google/ads/googleads/v11/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ py_gapic_library(
222222
"python-gapic-templates=ads-templates",
223223
"warehouse-package-name=google-ads",
224224
],
225+
service_yaml = "googleads_v11.yaml",
225226
)
226227

227228
py_gapic_assembly_pkg(

‎google/ads/googleads/v12/BUILD.bazel

Copy file name to clipboardExpand all lines: google/ads/googleads/v12/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ py_gapic_library(
222222
"python-gapic-templates=ads-templates",
223223
"warehouse-package-name=google-ads",
224224
],
225+
service_yaml = "googleads_v12.yaml",
225226
)
226227

227228
py_gapic_assembly_pkg(

‎google/ads/googleads/v13/BUILD.bazel

Copy file name to clipboardExpand all lines: google/ads/googleads/v13/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ py_gapic_library(
222222
"python-gapic-templates=ads-templates",
223223
"warehouse-package-name=google-ads",
224224
],
225+
service_yaml = "googleads_v13.yaml",
225226
)
226227

227228
py_gapic_assembly_pkg(

‎google/api/servicecontrol/v1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/api/servicecontrol/v1/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ py_gapic_library(
187187
"warehouse-package-name=google-cloud-service-control",
188188
],
189189
rest_numeric_enums = True,
190+
service_yaml = "servicecontrol.yaml",
190191
transport = "grpc+rest",
191192
)
192193

@@ -324,11 +325,11 @@ csharp_gapic_library(
324325
grpc_service_config = "servicecontrol_grpc_service_config.json",
325326
rest_numeric_enums = True,
326327
service_yaml = "servicecontrol.yaml",
328+
transport = "grpc+rest",
327329
deps = [
328330
":servicecontrol_csharp_grpc",
329331
":servicecontrol_csharp_proto",
330332
],
331-
transport = "grpc+rest",
332333
)
333334

334335
# Open Source Packages

‎google/api/servicecontrol/v2/BUILD.bazel

Copy file name to clipboardExpand all lines: google/api/servicecontrol/v2/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ py_gapic_library(
175175
"warehouse-package-name=google-cloud-service-control",
176176
],
177177
rest_numeric_enums = True,
178+
service_yaml = "servicecontrol.yaml",
178179
transport = "grpc+rest",
179180
)
180181

@@ -310,11 +311,11 @@ csharp_gapic_library(
310311
grpc_service_config = "servicecontrol_grpc_service_config.json",
311312
rest_numeric_enums = True,
312313
service_yaml = "servicecontrol.yaml",
314+
transport = "grpc+rest",
313315
deps = [
314316
":servicecontrol_csharp_grpc",
315317
":servicecontrol_csharp_proto",
316318
],
317-
transport = "grpc+rest",
318319
)
319320

320321
# Open Source Packages

‎google/api/servicemanagement/v1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/api/servicemanagement/v1/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ py_gapic_library(
186186
"warehouse-package-name=google-cloud-service-management",
187187
],
188188
rest_numeric_enums = True,
189+
service_yaml = "servicemanagement_v1.yaml",
189190
transport = "grpc+rest",
190191
)
191192

‎google/api/serviceusage/v1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/api/serviceusage/v1/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ py_gapic_library(
193193
"python-gapic-name=service_usage",
194194
],
195195
rest_numeric_enums = True,
196+
service_yaml = "serviceusage_v1.yaml",
196197
transport = "grpc+rest",
197198
)
198199

@@ -328,11 +329,11 @@ csharp_gapic_library(
328329
grpc_service_config = "serviceusage_grpc_service_config.json",
329330
rest_numeric_enums = True,
330331
service_yaml = "serviceusage_v1.yaml",
332+
transport = "grpc+rest",
331333
deps = [
332334
":serviceusage_csharp_grpc",
333335
":serviceusage_csharp_proto",
334336
],
335-
transport = "grpc+rest",
336337
)
337338

338339
# Open Source Packages

‎google/api/serviceusage/v1beta1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/api/serviceusage/v1beta1/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ py_gapic_library(
178178
srcs = [":serviceusage_proto"],
179179
grpc_service_config = "serviceusage_grpc_service_config.json",
180180
rest_numeric_enums = True,
181+
service_yaml = "serviceusage_v1beta1.yaml",
181182
transport = "grpc+rest",
182183
)
183184

‎google/appengine/v1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/appengine/v1/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ py_gapic_library(
208208
"python-gapic-name=appengine_admin",
209209
],
210210
rest_numeric_enums = True,
211+
service_yaml = "appengine_v1.yaml",
211212
transport = "grpc+rest",
212213
)
213214

@@ -342,11 +343,11 @@ csharp_gapic_library(
342343
grpc_service_config = "appengine_grpc_service_config.json",
343344
rest_numeric_enums = True,
344345
service_yaml = "appengine_v1.yaml",
346+
transport = "grpc+rest",
345347
deps = [
346348
":appengine_csharp_grpc",
347349
":appengine_csharp_proto",
348350
],
349-
transport = "grpc+rest",
350351
)
351352

352353
# Open Source Packages

‎google/apps/alertcenter/v1beta1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/apps/alertcenter/v1beta1/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ py_gapic_library(
166166
srcs = [":alertcenter_proto"],
167167
grpc_service_config = "alertcenter_grpc_service_config.json",
168168
rest_numeric_enums = True,
169+
service_yaml = "alertcenter.yaml",
169170
transport = "grpc+rest",
170171
)
171172

@@ -295,11 +296,11 @@ csharp_gapic_library(
295296
grpc_service_config = "alertcenter_grpc_service_config.json",
296297
rest_numeric_enums = True,
297298
service_yaml = "alertcenter.yaml",
299+
transport = "grpc+rest",
298300
deps = [
299301
":alertcenter_csharp_grpc",
300302
":alertcenter_csharp_proto",
301303
],
302-
transport = "grpc+rest",
303304
)
304305

305306
# Open Source Packages

‎google/apps/market/v2/BUILD.bazel

Copy file name to clipboardExpand all lines: google/apps/market/v2/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ py_gapic_library(
164164
srcs = [":marketplace_proto"],
165165
grpc_service_config = "service_grpc_service_config.json",
166166
rest_numeric_enums = True,
167+
service_yaml = "appsmarket_v2.yaml",
167168
transport = "grpc+rest",
168169
)
169170

@@ -292,11 +293,11 @@ csharp_gapic_library(
292293
grpc_service_config = "service_grpc_service_config.json",
293294
rest_numeric_enums = True,
294295
service_yaml = "appsmarket_v2.yaml",
296+
transport = "grpc+rest",
295297
deps = [
296298
":marketplace_csharp_grpc",
297299
":marketplace_csharp_proto",
298300
],
299-
transport = "grpc+rest",
300301
)
301302

302303
# Open Source Packages

‎google/area120/tables/v1alpha1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/area120/tables/v1alpha1/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ py_gapic_library(
164164
srcs = [":tables_proto"],
165165
grpc_service_config = "tables_grpc_service_config.json",
166166
rest_numeric_enums = True,
167+
service_yaml = "area120tables_v1alpha1.yaml",
167168
transport = "grpc+rest",
168169
)
169170

@@ -298,11 +299,11 @@ csharp_gapic_library(
298299
grpc_service_config = "tables_grpc_service_config.json",
299300
rest_numeric_enums = True,
300301
service_yaml = "area120tables_v1alpha1.yaml",
302+
transport = "grpc+rest",
301303
deps = [
302304
":tables_csharp_grpc",
303305
":tables_csharp_proto",
304306
],
305-
transport = "grpc+rest",
306307
)
307308

308309
# Open Source Packages

‎google/bigtable/admin/v2/BUILD.bazel

Copy file name to clipboardExpand all lines: google/bigtable/admin/v2/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ py_gapic_library(
181181
"autogen-snippets=False",
182182
],
183183
rest_numeric_enums = True,
184+
service_yaml = "bigtableadmin_v2.yaml",
184185
transport = "grpc+rest",
185186
deps = [
186187
"//google/iam/v1:iam_policy_py_proto",
@@ -321,11 +322,11 @@ csharp_gapic_library(
321322
grpc_service_config = "bigtableadmin_grpc_service_config.json",
322323
rest_numeric_enums = True,
323324
service_yaml = "bigtableadmin_v2.yaml",
325+
transport = "grpc",
324326
deps = [
325327
":admin_csharp_grpc",
326328
":admin_csharp_proto",
327329
],
328-
transport = "grpc",
329330
)
330331

331332
# Open Source Packages

‎google/bigtable/v2/BUILD.bazel

Copy file name to clipboardExpand all lines: google/bigtable/v2/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ py_gapic_library(
166166
"autogen-snippets=False",
167167
],
168168
rest_numeric_enums = True,
169+
service_yaml = "bigtable_v2.yaml",
169170
transport = "grpc+rest",
170171
)
171172

‎google/chromeos/moblab/v1beta1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/chromeos/moblab/v1beta1/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ py_gapic_library(
173173
srcs = [":moblab_proto"],
174174
grpc_service_config = "moblab_grpc_service_config.json",
175175
rest_numeric_enums = True,
176+
service_yaml = "chromeosmoblab_v1beta1.yaml",
176177
transport = "grpc+rest",
177178
)
178179

@@ -300,11 +301,11 @@ csharp_gapic_library(
300301
grpc_service_config = "moblab_grpc_service_config.json",
301302
rest_numeric_enums = True,
302303
service_yaml = "chromeosmoblab_v1beta1.yaml",
304+
transport = "grpc+rest",
303305
deps = [
304306
":moblab_csharp_grpc",
305307
":moblab_csharp_proto",
306308
],
307-
transport = "grpc+rest",
308309
)
309310

310311
# Open Source Packages

‎google/chromeos/uidetection/v1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/chromeos/uidetection/v1/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ py_gapic_library(
166166
srcs = [":uidetection_proto"],
167167
grpc_service_config = "ui_detection_grpc_service_config.json",
168168
rest_numeric_enums = True,
169+
service_yaml = "chromeosuidetection_v1.yaml",
169170
transport = "grpc+rest",
170171
)
171172

@@ -295,11 +296,11 @@ csharp_gapic_library(
295296
grpc_service_config = "ui_detection_grpc_service_config.json",
296297
rest_numeric_enums = True,
297298
service_yaml = "chromeosuidetection_v1.yaml",
299+
transport = "grpc+rest",
298300
deps = [
299301
":uidetection_csharp_grpc",
300302
":uidetection_csharp_proto",
301303
],
302-
transport = "grpc+rest",
303304
)
304305

305306
# Open Source Packages

‎google/cloud/accessapproval/v1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/cloud/accessapproval/v1/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ py_gapic_library(
173173
"warehouse-package-name=google-cloud-access-approval",
174174
],
175175
rest_numeric_enums = True,
176+
service_yaml = "accessapproval_v1.yaml",
176177
transport = "grpc+rest",
177178
)
178179

‎google/cloud/apigateway/v1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/cloud/apigateway/v1/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ py_gapic_library(
177177
grpc_service_config = "apigateway_grpc_service_config.json",
178178
opt_args = ["warehouse-package-name=google-cloud-api-gateway"],
179179
rest_numeric_enums = True,
180+
service_yaml = "apigateway_v1.yaml",
180181
transport = "grpc+rest",
181182
)
182183

‎google/cloud/apigeeconnect/v1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/cloud/apigeeconnect/v1/BUILD.bazel
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ go_gapic_library(
129129
srcs = [":apigeeconnect_proto_with_info"],
130130
grpc_service_config = "connection_grpc_service_config.json",
131131
importpath = "cloud.google.com/go/apigeeconnect/apiv1;apigeeconnect",
132-
release_level = "ga",
133132
metadata = True,
133+
release_level = "ga",
134134
rest_numeric_enums = True,
135135
service_yaml = "apigeeconnect_v1.yaml",
136136
deps = [
@@ -173,6 +173,7 @@ py_gapic_library(
173173
grpc_service_config = "connection_grpc_service_config.json",
174174
opt_args = ["warehouse-package-name=google-cloud-apigee-connect"],
175175
rest_numeric_enums = True,
176+
service_yaml = "apigeeconnect_v1.yaml",
176177
transport = "grpc",
177178
)
178179

@@ -350,11 +351,11 @@ csharp_gapic_library(
350351
grpc_service_config = "connection_grpc_service_config.json",
351352
rest_numeric_enums = True,
352353
service_yaml = "apigeeconnect_v1.yaml",
354+
transport = "grpc+rest",
353355
deps = [
354356
":apigeeconnect_csharp_grpc",
355357
":apigeeconnect_csharp_proto",
356358
],
357-
transport = "grpc+rest",
358359
)
359360

360361
# Open Source Packages

‎google/cloud/asset/v1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/cloud/asset/v1/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ py_gapic_library(
188188
srcs = [":asset_proto"],
189189
grpc_service_config = "cloudasset_grpc_service_config.json",
190190
rest_numeric_enums = True,
191+
service_yaml = "cloudasset_v1.yaml",
191192
transport = "grpc+rest",
192193
deps = [
193194
"//google/cloud/orgpolicy/v1:orgpolicy_py_original_proto",

‎google/cloud/asset/v1p1beta1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/cloud/asset/v1p1beta1/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ py_gapic_library(
161161
srcs = [":asset_proto"],
162162
grpc_service_config = "cloudasset_grpc_service_config.json",
163163
rest_numeric_enums = True,
164+
service_yaml = "cloudasset_v1p1beta1.yaml",
164165
transport = "grpc+rest",
165166
deps = [
166167
"//google/iam/v1:iam_policy_py_proto",
@@ -330,11 +331,11 @@ csharp_gapic_library(
330331
grpc_service_config = "cloudasset_grpc_service_config.json",
331332
rest_numeric_enums = True,
332333
service_yaml = "cloudasset_v1p1beta1.yaml",
334+
transport = "grpc+rest",
333335
deps = [
334336
":asset_csharp_grpc",
335337
":asset_csharp_proto",
336338
],
337-
transport = "grpc+rest",
338339
)
339340

340341
# Open Source Packages

‎google/cloud/asset/v1p2beta1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/cloud/asset/v1p2beta1/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ py_gapic_library(
174174
srcs = [":asset_proto"],
175175
grpc_service_config = "cloudasset_grpc_service_config.json",
176176
rest_numeric_enums = True,
177+
service_yaml = "cloudasset_v1p2beta1.yaml",
177178
transport = "grpc+rest",
178179
deps = [
179180
"//google/iam/v1:iam_policy_py_proto",

‎google/cloud/asset/v1p5beta1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/cloud/asset/v1p5beta1/BUILD.bazel
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ py_gapic_library(
169169
srcs = [":asset_proto"],
170170
grpc_service_config = "cloudasset_grpc_service_config.json",
171171
rest_numeric_enums = True,
172+
service_yaml = "cloudasset_v1p5beta1.yaml",
172173
transport = "grpc+rest",
173174
deps = [
174175
"//google/cloud/orgpolicy/v1:orgpolicy_py_original_proto",

‎google/cloud/asset/v1p7beta1/BUILD.bazel

Copy file name to clipboardExpand all lines: google/cloud/asset/v1p7beta1/BUILD.bazel
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ go_gapic_library(
144144
srcs = [":asset_proto_with_info"],
145145
grpc_service_config = "cloudasset_grpc_service_config.json",
146146
importpath = "cloud.google.com/go/asset/apiv1p7beta1;asset",
147-
release_level = "beta",
148147
metadata = True,
148+
release_level = "beta",
149149
rest_numeric_enums = True,
150150
service_yaml = "cloudasset_v1p7beta1.yaml",
151151
transport = "grpc",
@@ -183,6 +183,7 @@ py_gapic_library(
183183
srcs = [":asset_proto"],
184184
grpc_service_config = "cloudasset_grpc_service_config.json",
185185
rest_numeric_enums = True,
186+
service_yaml = "cloudasset_v1p7beta1.yaml",
186187
transport = "grpc",
187188
)
188189

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.