xref: /aosp_15_r20/external/googleapis/google/cloud/security/publicca/BUILD.bazel (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1# This build file includes a target for the Ruby wrapper library for
2# google-cloud-security-public_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 publicca.
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 = "publicca_ruby_wrapper",
21    srcs = ["//google/cloud/security/publicca/v1beta1:publicca_proto_with_info"],
22    extra_protoc_parameters = [
23        "ruby-cloud-api-id=publicca.googleapis.com",
24        "ruby-cloud-api-shortname=publicca",
25        "ruby-cloud-gem-name=google-cloud-security-public_ca",
26        "ruby-cloud-gem-namespace=Google::Cloud::Security::PublicCA",
27        "ruby-cloud-wrapper-of=v1beta1:0.5",
28        "ruby-cloud-product-url=https://cloud.google.com/certificate-manager/docs/public-ca/",
29    ],
30    ruby_cloud_description = "Certificate Manager's Public Certificate Authority (CA) functionality allows you to provision and deploy widely trusted X.509 certificates after validating that the certificate requester controls the domains. Certificate Manager lets you directly and programmatically request publicly trusted TLS certificates that are already in the root of trust stores used by major browsers, operating systems, and applications. You can use these TLS certificates to authenticate and encrypt internet traffic.",
31    ruby_cloud_title = "Public Certificate Authority",
32    transport = "grpc+rest",
33)
34
35# Open Source package.
36ruby_gapic_assembly_pkg(
37    name = "google-cloud-security-publicca-ruby",
38    deps = [
39        ":publicca_ruby_wrapper",
40    ],
41)
42