BUILD.bazel 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # This build file includes a target for the Ruby wrapper library for
  2. # google-cloud-gke_connect-gateway.
  3. # This is an API workspace, having public visibility by default makes perfect sense.
  4. package(default_visibility = ["//visibility:public"])
  5. # Export yaml configs.
  6. exports_files(glob(["*.yaml"]))
  7. load(
  8. "@com_google_googleapis_imports//:imports.bzl",
  9. "ruby_cloud_gapic_library",
  10. "ruby_gapic_assembly_pkg",
  11. )
  12. # Generates a Ruby wrapper client for connectgateway.
  13. # Ruby wrapper clients are versionless, but are generated from source protos
  14. # for a particular service version, v1beta1 in this case.
  15. ruby_cloud_gapic_library(
  16. name = "connectgateway_ruby_wrapper",
  17. srcs = ["//google/cloud/gkeconnect/gateway/v1beta1:gateway_proto_with_info"],
  18. extra_protoc_parameters = [
  19. "ruby-cloud-gem-name=google-cloud-gke_connect-gateway",
  20. "ruby-cloud-env-prefix=GKE_CONNECT_GATEWAY",
  21. "ruby-cloud-wrapper-of=v1beta1:0.0",
  22. "ruby-cloud-product-url=https://cloud.google.com/anthos/multicluster-management/gateway/",
  23. "ruby-cloud-api-id=connectgateway.googleapis.com",
  24. "ruby-cloud-api-shortname=connectgateway",
  25. ],
  26. ruby_cloud_description = "The Connect gateway builds on the power of fleets to let Anthos users connect to and run commands against registered Anthos clusters in a simple, consistent, and secured way, whether the clusters are on Google Cloud, other public clouds, or on premises, and makes it easier to automate DevOps processes across all your clusters.",
  27. ruby_cloud_title = "Connect Gateway",
  28. )
  29. # Open Source package.
  30. ruby_gapic_assembly_pkg(
  31. name = "google-cloud-gkeconnect-gateway-ruby",
  32. deps = [
  33. ":connectgateway_ruby_wrapper",
  34. ],
  35. )