Skip to content

Commit

Permalink
feat: Publish new JobRun resource and associated methods for Google C…
Browse files Browse the repository at this point in the history
…loud Deploy

PiperOrigin-RevId: 477144554
  • Loading branch information
Google APIs authored and Copybara-Service committed Sep 27, 2022
1 parent 2e19de1 commit 59a30fb
Show file tree
Hide file tree
Showing 5 changed files with 584 additions and 8 deletions.
23 changes: 23 additions & 0 deletions google/cloud/deploy/v1/BUILD.bazel
Expand Up @@ -23,6 +23,7 @@ proto_library(
srcs = [
"cloud_deploy.proto",
"deliverypipeline_notification_payload.proto",
"jobrun_notification_payload.proto",
"log_enums.proto",
"release_notification_payload.proto",
"release_render_payload.proto",
Expand All @@ -36,6 +37,7 @@ proto_library(
"//google/api:resource_proto",
"//google/longrunning:operations_proto",
"//google/type:date_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:field_mask_proto",
"@com_google_protobuf//:timestamp_proto",
],
Expand All @@ -46,6 +48,8 @@ proto_library_with_info(
deps = [
":deploy_proto",
"//google/cloud:common_resources_proto",
"//google/cloud/location:location_proto",
"//google/iam/v1:iam_policy_proto",
],
)

Expand Down Expand Up @@ -77,14 +81,19 @@ java_gapic_library(
srcs = [":deploy_proto_with_info"],
gapic_yaml = None,
grpc_service_config = "clouddeploy_grpc_service_config.json",
rest_numeric_enums = False,
service_yaml = "clouddeploy_v1.yaml",
test_deps = [
":deploy_java_grpc",
"//google/cloud/location:location_java_grpc",
"//google/iam/v1:iam_java_grpc",
],
transport = "grpc+rest",
deps = [
":deploy_java_proto",
"//google/api:api_java_proto",
"//google/cloud/location:location_java_proto",
"//google/iam/v1:iam_java_proto",
],
)

Expand Down Expand Up @@ -139,13 +148,17 @@ go_gapic_library(
grpc_service_config = "clouddeploy_grpc_service_config.json",
importpath = "cloud.google.com/go/deploy/apiv1;deploy",
metadata = True,
rest_numeric_enums = False,
service_yaml = "clouddeploy_v1.yaml",
transport = "grpc+rest",
deps = [
":deploy_go_proto",
"//google/cloud/location:location_go_proto",
"//google/iam/v1:iam_go_proto",
"//google/longrunning:longrunning_go_proto",
"@com_google_cloud_go//longrunning:go_default_library",
"@com_google_cloud_go//longrunning/autogen:go_default_library",
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
],
)

Expand Down Expand Up @@ -181,7 +194,12 @@ py_gapic_library(
name = "deploy_py_gapic",
srcs = [":deploy_proto"],
grpc_service_config = "clouddeploy_grpc_service_config.json",
rest_numeric_enums = False,
service_yaml = "clouddeploy_v1.yaml",
transport = "grpc",
deps = [
"//google/iam/v1:iam_policy_py_proto",
],
)

py_test(
Expand Down Expand Up @@ -228,6 +246,7 @@ php_gapic_library(
name = "deploy_php_gapic",
srcs = [":deploy_proto_with_info"],
grpc_service_config = "clouddeploy_grpc_service_config.json",
rest_numeric_enums = False,
service_yaml = "clouddeploy_v1.yaml",
deps = [
":deploy_php_grpc",
Expand Down Expand Up @@ -261,6 +280,7 @@ nodejs_gapic_library(
extra_protoc_parameters = ["metadata"],
grpc_service_config = "clouddeploy_grpc_service_config.json",
package = "google.cloud.deploy.v1",
rest_numeric_enums = False,
service_yaml = "clouddeploy_v1.yaml",
deps = [],
)
Expand Down Expand Up @@ -306,8 +326,10 @@ ruby_cloud_gapic_library(
"ruby-cloud-yard-strict=false",
],
grpc_service_config = "clouddeploy_grpc_service_config.json",
rest_numeric_enums = False,
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.",
ruby_cloud_title = "Google Cloud Deploy V1",
service_yaml = "clouddeploy_v1.yaml",
deps = [
":deploy_ruby_grpc",
":deploy_ruby_proto",
Expand Down Expand Up @@ -351,6 +373,7 @@ csharp_gapic_library(
srcs = [":deploy_proto_with_info"],
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
grpc_service_config = "clouddeploy_grpc_service_config.json",
rest_numeric_enums = False,
service_yaml = "clouddeploy_v1.yaml",
deps = [
":deploy_csharp_grpc",
Expand Down

0 comments on commit 59a30fb

Please sign in to comment.