Skip to content

Commit

Permalink
chore: Add C# generation for Compute v1
Browse files Browse the repository at this point in the history
  • Loading branch information
jskeet committed Nov 11, 2021
1 parent 76f7f48 commit 05a6a82
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions google/cloud/compute/v1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -427,3 +427,47 @@ ruby_gapic_assembly_pkg(
":compute_ruby_proto",
],
)


##############################################################################
# C#
##############################################################################
load(
"@com_google_googleapis_imports//:imports.bzl",
"csharp_gapic_assembly_pkg",
"csharp_gapic_library",
"csharp_grpc_library",
"csharp_proto_library",
)

csharp_proto_library(
name = "compute_csharp_proto",
deps = [":compute_proto"],
)

csharp_grpc_library(
name = "compute_csharp_grpc",
srcs = [":compute_proto"],
deps = [":compute_csharp_proto"],
)

csharp_gapic_library(
name = "compute_csharp_gapic",
srcs = [":compute_proto_with_info"],
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
grpc_service_config = ":compute_grpc_service_config.json",
deps = [
":compute_csharp_grpc",
":compute_csharp_proto",
],
)

# Open Source Packages
csharp_gapic_assembly_pkg(
name = "google-cloud-compute-v1-csharp",
deps = [
":compute_csharp_gapic",
":compute_csharp_grpc",
":compute_csharp_proto",
],
)

0 comments on commit 05a6a82

Please sign in to comment.