googleapis/google/cloud/security/privateca/BUILD.bazel
Google APIs 5a03319c6f feat!: Updated google-cloud-security-private_ca-v1 dependency to version 2.x
feat!: Removed dependency on google-cloud-security-private_ca-v1beta1 prerelease service

PiperOrigin-RevId: 725807562
2025-02-11 16:09:27 -08:00

42 lines
1.7 KiB
Text

# This build file includes a target for the Ruby wrapper library for
# google-cloud-security-private_ca.
# This is an API workspace, having public visibility by default makes perfect sense.
package(default_visibility = ["//visibility:public"])
# Export yaml configs.
exports_files(glob(["*.yaml"]))
load(
"@com_google_googleapis_imports//:imports.bzl",
"ruby_cloud_gapic_library",
"ruby_gapic_assembly_pkg",
)
# Generates a Ruby wrapper client for privateca.
# Ruby wrapper clients are versionless, but are generated from source protos
# for a particular service version, v1 in this case.
ruby_cloud_gapic_library(
name = "privateca_ruby_wrapper",
srcs = ["//google/cloud/security/privateca/v1:privateca_proto_with_info"],
extra_protoc_parameters = [
"ruby-cloud-gem-name=google-cloud-security-private_ca",
"ruby-cloud-gem-namespace=Google::Cloud::Security::PrivateCA",
"ruby-cloud-env-prefix=PRIVATE_CA",
"ruby-cloud-wrapper-of=v1:2.0",
"ruby-cloud-product-url=https://cloud.google.com/certificate-authority-service/",
"ruby-cloud-api-id=privateca.googleapis.com",
"ruby-cloud-api-shortname=privateca",
],
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).",
ruby_cloud_title = "Certificate Authority Service",
transport = "grpc+rest",
)
# Open Source package.
ruby_gapic_assembly_pkg(
name = "google-cloud-security-privateca-ruby",
deps = [
":privateca_ruby_wrapper",
],
)