Skip to content

Commit 895ad28

Browse files
Google APIscopybara-github
authored andcommitted
chore: Add partial C# generation to AI Platform
PiperOrigin-RevId: 408964828
1 parent 66878ca commit 895ad28

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/BUILD.bazel

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,32 @@ csharp_grpc_library(
430430
srcs = [":aiplatform_proto"],
431431
deps = [":aiplatform_csharp_proto"],
432432
)
433+
434+
# Generate a package for googleapis-gen even without the GAPIC client.
435+
# This will allow OwlBot to trigger changes to be pushed to google-cloud-dotnet,
436+
# which will perform full generation after fixing up the protos first.
437+
438+
csharp_gapic_assembly_pkg(
439+
name = "google-cloud-aiplatform-v1-csharp",
440+
package_name = "Google.Cloud.AIPlatform.V1",
441+
generate_nongapic_package = True,
442+
deps = [
443+
":aiplatform_csharp_grpc",
444+
":aiplatform_csharp_proto",
445+
],
446+
)
447+
448+
# csharp_gapic_library(
449+
# name = "aiplatform_csharp_gapic",
450+
# srcs = [":aiplatform_proto_with_info"],
451+
# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
452+
# grpc_service_config = "aiplatform_grpc_service_config.json",
453+
# deps = [
454+
# ":aiplatform_csharp_grpc",
455+
# ":aiplatform_csharp_proto",
456+
# ],
457+
# )
458+
433459
################################
434460
# Keep C# target commented out through the regeneration, as C# gen has an issue
435461
# with the aiplatform v1 protos

0 commit comments

Comments
 (0)