xref: /aosp_15_r20/external/googleapis/google/cloud/security/publicca/v1beta1/BUILD.bazel (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1# This file was automatically generated by BuildFileGenerator
2# https://github.com/googleapis/rules_gapic/tree/master/bazel
3
4# Most of the manual changes to this file will be overwritten.
5# It's **only** allowed to change the following rule attribute values:
6# - names of *_gapic_assembly_* rules
7# - certain parameters of *_gapic_library rules, including but not limited to:
8#    * extra_protoc_parameters
9#    * extra_protoc_file_parameters
10# The complete list of preserved parameters can be found in the source code.
11
12# This is an API workspace, having public visibility by default makes perfect sense.
13package(default_visibility = ["//visibility:public"])
14
15##############################################################################
16# Common
17##############################################################################
18load("@rules_proto//proto:defs.bzl", "proto_library")
19load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
20
21proto_library(
22    name = "publicca_proto",
23    srcs = [
24        "resources.proto",
25        "service.proto",
26    ],
27    deps = [
28        "//google/api:annotations_proto",
29        "//google/api:client_proto",
30        "//google/api:field_behavior_proto",
31        "//google/api:resource_proto",
32    ],
33)
34
35proto_library_with_info(
36    name = "publicca_proto_with_info",
37    deps = [
38        ":publicca_proto",
39        "//google/cloud:common_resources_proto",
40    ],
41)
42
43##############################################################################
44# Java
45##############################################################################
46load(
47    "@com_google_googleapis_imports//:imports.bzl",
48    "java_gapic_assembly_gradle_pkg",
49    "java_gapic_library",
50    "java_gapic_test",
51    "java_grpc_library",
52    "java_proto_library",
53)
54
55java_proto_library(
56    name = "publicca_java_proto",
57    deps = [":publicca_proto"],
58)
59
60java_grpc_library(
61    name = "publicca_java_grpc",
62    srcs = [":publicca_proto"],
63    deps = [":publicca_java_proto"],
64)
65
66java_gapic_library(
67    name = "publicca_java_gapic",
68    srcs = [":publicca_proto_with_info"],
69    gapic_yaml = None,
70    grpc_service_config = "publicca_v1beta1_grpc_service_config.json",
71    rest_numeric_enums = True,
72    service_yaml = "publicca_v1beta1.yaml",
73    test_deps = [
74        ":publicca_java_grpc",
75    ],
76    transport = "grpc+rest",
77    deps = [
78        ":publicca_java_proto",
79        "//google/api:api_java_proto",
80    ],
81)
82
83java_gapic_test(
84    name = "publicca_java_gapic_test_suite",
85    test_classes = [
86        "com.google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityServiceClientHttpJsonTest",
87        "com.google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityServiceClientTest",
88    ],
89    runtime_deps = [":publicca_java_gapic_test"],
90)
91
92# Open Source Packages
93java_gapic_assembly_gradle_pkg(
94    name = "google-cloud-security-publicca-v1beta1-java",
95    include_samples = True,
96    transport = "grpc+rest",
97    deps = [
98        ":publicca_java_gapic",
99        ":publicca_java_grpc",
100        ":publicca_java_proto",
101        ":publicca_proto",
102    ],
103)
104
105##############################################################################
106# Go
107##############################################################################
108load(
109    "@com_google_googleapis_imports//:imports.bzl",
110    "go_gapic_assembly_pkg",
111    "go_gapic_library",
112    "go_proto_library",
113)
114
115go_proto_library(
116    name = "publicca_go_proto",
117    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
118    importpath = "cloud.google.com/go/security/publicca/apiv1beta1/publiccapb",
119    protos = [":publicca_proto"],
120    deps = [
121        "//google/api:annotations_go_proto",
122    ],
123)
124
125go_gapic_library(
126    name = "publicca_go_gapic",
127    srcs = [":publicca_proto_with_info"],
128    grpc_service_config = "publicca_v1beta1_grpc_service_config.json",
129    importpath = "cloud.google.com/go/security/publicca/apiv1beta1;publicca",
130    metadata = True,
131    release_level = "beta",
132    rest_numeric_enums = True,
133    service_yaml = "publicca_v1beta1.yaml",
134    transport = "grpc+rest",
135    deps = [
136        ":publicca_go_proto",
137    ],
138)
139
140# Open Source Packages
141go_gapic_assembly_pkg(
142    name = "gapi-cloud-security-publicca-v1beta1-go",
143    deps = [
144        ":publicca_go_gapic",
145        ":publicca_go_gapic_srcjar-metadata.srcjar",
146        ":publicca_go_gapic_srcjar-snippets.srcjar",
147        ":publicca_go_gapic_srcjar-test.srcjar",
148        ":publicca_go_proto",
149    ],
150)
151
152##############################################################################
153# Python
154##############################################################################
155load(
156    "@com_google_googleapis_imports//:imports.bzl",
157    "py_gapic_assembly_pkg",
158    "py_gapic_library",
159    "py_test",
160)
161
162py_gapic_library(
163    name = "publicca_py_gapic",
164    srcs = [":publicca_proto"],
165    grpc_service_config = "publicca_v1beta1_grpc_service_config.json",
166    opt_args = [
167        "warehouse-package-name=google-cloud-public-ca",
168    ],
169    rest_numeric_enums = True,
170    service_yaml = "publicca_v1beta1.yaml",
171    transport = "grpc+rest",
172    deps = [
173    ],
174)
175
176py_test(
177    name = "publicca_py_gapic_test",
178    srcs = [
179        "publicca_py_gapic_pytest.py",
180        "publicca_py_gapic_test.py",
181    ],
182    legacy_create_init = False,
183    deps = [":publicca_py_gapic"],
184)
185
186# Open Source Packages
187py_gapic_assembly_pkg(
188    name = "security-publicca-v1beta1-py",
189    deps = [
190        ":publicca_py_gapic",
191    ],
192)
193
194##############################################################################
195# PHP
196##############################################################################
197load(
198    "@com_google_googleapis_imports//:imports.bzl",
199    "php_gapic_assembly_pkg",
200    "php_gapic_library",
201    "php_proto_library",
202)
203
204php_proto_library(
205    name = "publicca_php_proto",
206    deps = [":publicca_proto"],
207)
208
209php_gapic_library(
210    name = "publicca_php_gapic",
211    srcs = [":publicca_proto_with_info"],
212    grpc_service_config = "publicca_v1beta1_grpc_service_config.json",
213    migration_mode = "MIGRATING",
214    rest_numeric_enums = True,
215    service_yaml = "publicca_v1beta1.yaml",
216    transport = "grpc+rest",
217    deps = [":publicca_php_proto"],
218)
219
220# Open Source Packages
221php_gapic_assembly_pkg(
222    name = "google-cloud-security-publicca-v1beta1-php",
223    deps = [
224        ":publicca_php_gapic",
225        ":publicca_php_proto",
226    ],
227)
228
229##############################################################################
230# Node.js
231##############################################################################
232load(
233    "@com_google_googleapis_imports//:imports.bzl",
234    "nodejs_gapic_assembly_pkg",
235    "nodejs_gapic_library",
236)
237
238nodejs_gapic_library(
239    name = "publicca_nodejs_gapic",
240    package_name = "@google-cloud/publicca",
241    src = ":publicca_proto_with_info",
242    extra_protoc_parameters = ["metadata"],
243    grpc_service_config = "publicca_v1beta1_grpc_service_config.json",
244    package = "google.cloud.security.publicca.v1beta1",
245    rest_numeric_enums = True,
246    service_yaml = "publicca_v1beta1.yaml",
247    transport = "grpc+rest",
248    deps = [],
249)
250
251nodejs_gapic_assembly_pkg(
252    name = "security-publicca-v1beta1-nodejs",
253    deps = [
254        ":publicca_nodejs_gapic",
255        ":publicca_proto",
256    ],
257)
258
259##############################################################################
260# Ruby
261##############################################################################
262load(
263    "@com_google_googleapis_imports//:imports.bzl",
264    "ruby_cloud_gapic_library",
265    "ruby_gapic_assembly_pkg",
266    "ruby_grpc_library",
267    "ruby_proto_library",
268)
269
270ruby_proto_library(
271    name = "publicca_ruby_proto",
272    deps = [":publicca_proto"],
273)
274
275ruby_grpc_library(
276    name = "publicca_ruby_grpc",
277    srcs = [":publicca_proto"],
278    deps = [":publicca_ruby_proto"],
279)
280
281ruby_cloud_gapic_library(
282    name = "publicca_ruby_gapic",
283    srcs = [":publicca_proto_with_info"],
284    extra_protoc_parameters = [
285        "ruby-cloud-api-id=publicca.googleapis.com",
286        "ruby-cloud-api-shortname=publicca",
287        "ruby-cloud-gem-name=google-cloud-security-public_ca-v1beta1",
288        "ruby-cloud-gem-namespace=Google::Cloud::Security::PublicCA::V1beta1",
289        "ruby-cloud-product-url=https://cloud.google.com/certificate-manager/docs/public-ca/",
290    ],
291    grpc_service_config = "publicca_v1beta1_grpc_service_config.json",
292    rest_numeric_enums = True,
293    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.",
294    ruby_cloud_title = "Public Certificate Authority V1beta1",
295    service_yaml = "publicca_v1beta1.yaml",
296    transport = "grpc+rest",
297    deps = [
298        ":publicca_ruby_grpc",
299        ":publicca_ruby_proto",
300    ],
301)
302
303# Open Source Packages
304ruby_gapic_assembly_pkg(
305    name = "google-cloud-security-publicca-v1beta1-ruby",
306    deps = [
307        ":publicca_ruby_gapic",
308        ":publicca_ruby_grpc",
309        ":publicca_ruby_proto",
310    ],
311)
312
313##############################################################################
314# C#
315##############################################################################
316load(
317    "@com_google_googleapis_imports//:imports.bzl",
318    "csharp_gapic_assembly_pkg",
319    "csharp_gapic_library",
320    "csharp_grpc_library",
321    "csharp_proto_library",
322)
323
324csharp_proto_library(
325    name = "publicca_csharp_proto",
326    deps = [":publicca_proto"],
327)
328
329csharp_grpc_library(
330    name = "publicca_csharp_grpc",
331    srcs = [":publicca_proto"],
332    deps = [":publicca_csharp_proto"],
333)
334
335csharp_gapic_library(
336    name = "publicca_csharp_gapic",
337    srcs = [":publicca_proto_with_info"],
338    common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
339    grpc_service_config = "publicca_v1beta1_grpc_service_config.json",
340    rest_numeric_enums = True,
341    service_yaml = "publicca_v1beta1.yaml",
342    transport = "grpc+rest",
343    deps = [
344        ":publicca_csharp_grpc",
345        ":publicca_csharp_proto",
346    ],
347)
348
349# Open Source Packages
350csharp_gapic_assembly_pkg(
351    name = "google-cloud-security-publicca-v1beta1-csharp",
352    deps = [
353        ":publicca_csharp_gapic",
354        ":publicca_csharp_grpc",
355        ":publicca_csharp_proto",
356    ],
357)
358
359##############################################################################
360# C++
361##############################################################################
362load(
363    "@com_google_googleapis_imports//:imports.bzl",
364    "cc_grpc_library",
365    "cc_proto_library",
366)
367
368cc_proto_library(
369    name = "publicca_cc_proto",
370    deps = [":publicca_proto"],
371)
372
373cc_grpc_library(
374    name = "publicca_cc_grpc",
375    srcs = [":publicca_proto"],
376    grpc_only = True,
377    deps = [":publicca_cc_proto"],
378)
379