1# This build file includes a target for the Ruby wrapper library for 2# google-cloud-security-private_ca. 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 privateca. 17# Ruby wrapper clients are versionless, but are generated from source protos 18# for a particular service version, v1 in this case. 19ruby_cloud_gapic_library( 20 name = "privateca_ruby_wrapper", 21 srcs = ["//google/cloud/security/privateca/v1:privateca_proto_with_info"], 22 extra_protoc_parameters = [ 23 "ruby-cloud-gem-name=google-cloud-security-private_ca", 24 "ruby-cloud-gem-namespace=Google::Cloud::Security::PrivateCA", 25 "ruby-cloud-env-prefix=PRIVATE_CA", 26 "ruby-cloud-wrapper-of=v1:0.10;v1beta1:0.8", 27 "ruby-cloud-product-url=https://cloud.google.com/certificate-authority-service/", 28 "ruby-cloud-api-id=privateca.googleapis.com", 29 "ruby-cloud-api-shortname=privateca", 30 ], 31 ruby_cloud_description = "Certificate Authority Service is a highly available, scalable Google Cloud service that enables you to simplify, automate, and customize the deployment, management, and security of private certificate authorities (CA).", 32 ruby_cloud_title = "Certificate Authority Service", 33 transport = "grpc+rest", 34) 35 36# Open Source package. 37ruby_gapic_assembly_pkg( 38 name = "google-cloud-security-privateca-ruby", 39 deps = [ 40 ":privateca_ruby_wrapper", 41 ], 42) 43