Skip to content

Commit 59a30fb

Browse files
Google APIscopybara-github
authored andcommitted
feat: Publish new JobRun resource and associated methods for Google Cloud Deploy
PiperOrigin-RevId: 477144554
1 parent 2e19de1 commit 59a30fb

5 files changed

Lines changed: 584 additions & 8 deletions

File tree

google/cloud/deploy/v1/BUILD.bazel

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ proto_library(
2323
srcs = [
2424
"cloud_deploy.proto",
2525
"deliverypipeline_notification_payload.proto",
26+
"jobrun_notification_payload.proto",
2627
"log_enums.proto",
2728
"release_notification_payload.proto",
2829
"release_render_payload.proto",
@@ -36,6 +37,7 @@ proto_library(
3637
"//google/api:resource_proto",
3738
"//google/longrunning:operations_proto",
3839
"//google/type:date_proto",
40+
"@com_google_protobuf//:duration_proto",
3941
"@com_google_protobuf//:field_mask_proto",
4042
"@com_google_protobuf//:timestamp_proto",
4143
],
@@ -46,6 +48,8 @@ proto_library_with_info(
4648
deps = [
4749
":deploy_proto",
4850
"//google/cloud:common_resources_proto",
51+
"//google/cloud/location:location_proto",
52+
"//google/iam/v1:iam_policy_proto",
4953
],
5054
)
5155

@@ -77,14 +81,19 @@ java_gapic_library(
7781
srcs = [":deploy_proto_with_info"],
7882
gapic_yaml = None,
7983
grpc_service_config = "clouddeploy_grpc_service_config.json",
84+
rest_numeric_enums = False,
8085
service_yaml = "clouddeploy_v1.yaml",
8186
test_deps = [
8287
":deploy_java_grpc",
88+
"//google/cloud/location:location_java_grpc",
89+
"//google/iam/v1:iam_java_grpc",
8390
],
8491
transport = "grpc+rest",
8592
deps = [
8693
":deploy_java_proto",
8794
"//google/api:api_java_proto",
95+
"//google/cloud/location:location_java_proto",
96+
"//google/iam/v1:iam_java_proto",
8897
],
8998
)
9099

@@ -139,13 +148,17 @@ go_gapic_library(
139148
grpc_service_config = "clouddeploy_grpc_service_config.json",
140149
importpath = "cloud.google.com/go/deploy/apiv1;deploy",
141150
metadata = True,
151+
rest_numeric_enums = False,
142152
service_yaml = "clouddeploy_v1.yaml",
143153
transport = "grpc+rest",
144154
deps = [
145155
":deploy_go_proto",
156+
"//google/cloud/location:location_go_proto",
157+
"//google/iam/v1:iam_go_proto",
146158
"//google/longrunning:longrunning_go_proto",
147159
"@com_google_cloud_go//longrunning:go_default_library",
148160
"@com_google_cloud_go//longrunning/autogen:go_default_library",
161+
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
149162
],
150163
)
151164

@@ -181,7 +194,12 @@ py_gapic_library(
181194
name = "deploy_py_gapic",
182195
srcs = [":deploy_proto"],
183196
grpc_service_config = "clouddeploy_grpc_service_config.json",
197+
rest_numeric_enums = False,
198+
service_yaml = "clouddeploy_v1.yaml",
184199
transport = "grpc",
200+
deps = [
201+
"//google/iam/v1:iam_policy_py_proto",
202+
],
185203
)
186204

187205
py_test(
@@ -228,6 +246,7 @@ php_gapic_library(
228246
name = "deploy_php_gapic",
229247
srcs = [":deploy_proto_with_info"],
230248
grpc_service_config = "clouddeploy_grpc_service_config.json",
249+
rest_numeric_enums = False,
231250
service_yaml = "clouddeploy_v1.yaml",
232251
deps = [
233252
":deploy_php_grpc",
@@ -261,6 +280,7 @@ nodejs_gapic_library(
261280
extra_protoc_parameters = ["metadata"],
262281
grpc_service_config = "clouddeploy_grpc_service_config.json",
263282
package = "google.cloud.deploy.v1",
283+
rest_numeric_enums = False,
264284
service_yaml = "clouddeploy_v1.yaml",
265285
deps = [],
266286
)
@@ -306,8 +326,10 @@ ruby_cloud_gapic_library(
306326
"ruby-cloud-yard-strict=false",
307327
],
308328
grpc_service_config = "clouddeploy_grpc_service_config.json",
329+
rest_numeric_enums = False,
309330
ruby_cloud_description = "Google Cloud Deploy is a managed service that automates delivery of your applications to a series of target environments in a defined promotion sequence.",
310331
ruby_cloud_title = "Google Cloud Deploy V1",
332+
service_yaml = "clouddeploy_v1.yaml",
311333
deps = [
312334
":deploy_ruby_grpc",
313335
":deploy_ruby_proto",
@@ -351,6 +373,7 @@ csharp_gapic_library(
351373
srcs = [":deploy_proto_with_info"],
352374
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
353375
grpc_service_config = "clouddeploy_grpc_service_config.json",
376+
rest_numeric_enums = False,
354377
service_yaml = "clouddeploy_v1.yaml",
355378
deps = [
356379
":deploy_csharp_grpc",

0 commit comments

Comments
 (0)