1# This build file includes a target for the Ruby wrapper library for 2# google-cloud-gke_connect-gateway. 3 4# This is an API workspace, having public visibility by default makes perfect sense. 5package(default_visibility = ["//visibility:public"]) 6 7# Export yaml configs. 8exports_files(glob(["*.yaml"])) 9 10load( 11 "@com_google_googleapis_imports//:imports.bzl", 12 "ruby_cloud_gapic_library", 13 "ruby_gapic_assembly_pkg", 14) 15 16# Generates a Ruby wrapper client for connectgateway. 17# Ruby wrapper clients are versionless, but are generated from source protos 18# for a particular service version, v1beta1 in this case. 19ruby_cloud_gapic_library( 20 name = "connectgateway_ruby_wrapper", 21 srcs = ["//google/cloud/gkeconnect/gateway/v1beta1:gateway_proto_with_info"], 22 extra_protoc_parameters = [ 23 "ruby-cloud-gem-name=google-cloud-gke_connect-gateway", 24 "ruby-cloud-env-prefix=GKE_CONNECT_GATEWAY", 25 "ruby-cloud-wrapper-of=v1beta1:0.5", 26 "ruby-cloud-product-url=https://cloud.google.com/anthos/multicluster-management/gateway/", 27 "ruby-cloud-api-id=connectgateway.googleapis.com", 28 "ruby-cloud-api-shortname=connectgateway", 29 ], 30 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.", 31 ruby_cloud_title = "Connect Gateway", 32) 33 34# Open Source package. 35ruby_gapic_assembly_pkg( 36 name = "google-cloud-gkeconnect-gateway-ruby", 37 deps = [ 38 ":connectgateway_ruby_wrapper", 39 ], 40) 41