Skip to content

Commit d5d129f

Browse files
Google APIscopybara-github
authored andcommitted
feat: Adding Certificate Manager v1 API
See public documentation at https://cloud.google.com/certificate-manager/docs PiperOrigin-RevId: 427451561
1 parent 7a961f3 commit d5d129f

4 files changed

Lines changed: 1548 additions & 0 deletions

File tree

Lines changed: 356 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,356 @@
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.
13+
package(default_visibility = ["//visibility:public"])
14+
15+
##############################################################################
16+
# Common
17+
##############################################################################
18+
load("@rules_proto//proto:defs.bzl", "proto_library")
19+
load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
20+
21+
proto_library(
22+
name = "certificatemanager_proto",
23+
srcs = [
24+
"certificate_manager.proto",
25+
],
26+
deps = [
27+
"//google/api:annotations_proto",
28+
"//google/api:client_proto",
29+
"//google/api:field_behavior_proto",
30+
"//google/api:resource_proto",
31+
"//google/longrunning:operations_proto",
32+
"@com_google_protobuf//:field_mask_proto",
33+
"@com_google_protobuf//:timestamp_proto",
34+
],
35+
)
36+
37+
proto_library_with_info(
38+
name = "certificatemanager_proto_with_info",
39+
deps = [
40+
":certificatemanager_proto",
41+
"//google/cloud:common_resources_proto",
42+
],
43+
)
44+
45+
##############################################################################
46+
# Java
47+
##############################################################################
48+
load(
49+
"@com_google_googleapis_imports//:imports.bzl",
50+
"java_gapic_assembly_gradle_pkg",
51+
"java_gapic_library",
52+
"java_gapic_test",
53+
"java_grpc_library",
54+
"java_proto_library",
55+
)
56+
57+
java_proto_library(
58+
name = "certificatemanager_java_proto",
59+
deps = [":certificatemanager_proto"],
60+
)
61+
62+
java_grpc_library(
63+
name = "certificatemanager_java_grpc",
64+
srcs = [":certificatemanager_proto"],
65+
deps = [":certificatemanager_java_proto"],
66+
)
67+
68+
java_gapic_library(
69+
name = "certificatemanager_java_gapic",
70+
srcs = [":certificatemanager_proto_with_info"],
71+
gapic_yaml = None,
72+
grpc_service_config = "certificatemanager_grpc_service_config.json",
73+
service_yaml = "certificatemanager_v1.yaml",
74+
test_deps = [
75+
":certificatemanager_java_grpc",
76+
],
77+
deps = [
78+
":certificatemanager_java_proto",
79+
"//google/api:api_java_proto",
80+
],
81+
)
82+
83+
java_gapic_test(
84+
name = "certificatemanager_java_gapic_test_suite",
85+
test_classes = [
86+
"com.google.cloud.certificatemanager.v1.CertificateManagerClientTest",
87+
],
88+
runtime_deps = [":certificatemanager_java_gapic_test"],
89+
)
90+
91+
# Open Source Packages
92+
java_gapic_assembly_gradle_pkg(
93+
name = "google-cloud-certificatemanager-v1-java",
94+
deps = [
95+
":certificatemanager_java_gapic",
96+
":certificatemanager_java_grpc",
97+
":certificatemanager_java_proto",
98+
":certificatemanager_proto",
99+
],
100+
)
101+
102+
##############################################################################
103+
# Go
104+
##############################################################################
105+
load(
106+
"@com_google_googleapis_imports//:imports.bzl",
107+
"go_gapic_assembly_pkg",
108+
"go_gapic_library",
109+
"go_proto_library",
110+
"go_test",
111+
)
112+
113+
go_proto_library(
114+
name = "certificatemanager_go_proto",
115+
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
116+
importpath = "google.golang.org/genproto/googleapis/cloud/certificatemanager/v1",
117+
protos = [":certificatemanager_proto"],
118+
deps = [
119+
"//google/api:annotations_go_proto",
120+
"//google/longrunning:longrunning_go_proto",
121+
],
122+
)
123+
124+
go_gapic_library(
125+
name = "certificatemanager_go_gapic",
126+
srcs = [":certificatemanager_proto_with_info"],
127+
grpc_service_config = "certificatemanager_grpc_service_config.json",
128+
importpath = "cloud.google.com/go/certificatemanager/apiv1;certificatemanager",
129+
metadata = True,
130+
service_yaml = "certificatemanager_v1.yaml",
131+
deps = [
132+
":certificatemanager_go_proto",
133+
"//google/longrunning:longrunning_go_proto",
134+
"@com_google_cloud_go//longrunning:go_default_library",
135+
"@com_google_cloud_go//longrunning/autogen:go_default_library",
136+
],
137+
)
138+
139+
go_test(
140+
name = "certificatemanager_go_gapic_test",
141+
srcs = [":certificatemanager_go_gapic_srcjar_test"],
142+
embed = [":certificatemanager_go_gapic"],
143+
importpath = "cloud.google.com/go/certificatemanager/apiv1",
144+
)
145+
146+
# Open Source Packages
147+
go_gapic_assembly_pkg(
148+
name = "gapi-cloud-certificatemanager-v1-go",
149+
deps = [
150+
":certificatemanager_go_gapic",
151+
":certificatemanager_go_gapic_srcjar-metadata.srcjar",
152+
":certificatemanager_go_gapic_srcjar-test.srcjar",
153+
":certificatemanager_go_proto",
154+
],
155+
)
156+
157+
##############################################################################
158+
# Python
159+
##############################################################################
160+
load(
161+
"@com_google_googleapis_imports//:imports.bzl",
162+
"py_gapic_assembly_pkg",
163+
"py_gapic_library",
164+
)
165+
166+
py_gapic_library(
167+
name = "certificatemanager_py_gapic",
168+
srcs = [":certificatemanager_proto"],
169+
grpc_service_config = "certificatemanager_grpc_service_config.json",
170+
)
171+
172+
# Open Source Packages
173+
py_gapic_assembly_pkg(
174+
name = "certificatemanager-v1-py",
175+
deps = [
176+
":certificatemanager_py_gapic",
177+
],
178+
)
179+
180+
##############################################################################
181+
# PHP
182+
##############################################################################
183+
load(
184+
"@com_google_googleapis_imports//:imports.bzl",
185+
"php_gapic_assembly_pkg",
186+
"php_gapic_library",
187+
"php_grpc_library",
188+
"php_proto_library",
189+
)
190+
191+
php_proto_library(
192+
name = "certificatemanager_php_proto",
193+
deps = [":certificatemanager_proto"],
194+
)
195+
196+
php_grpc_library(
197+
name = "certificatemanager_php_grpc",
198+
srcs = [":certificatemanager_proto"],
199+
deps = [":certificatemanager_php_proto"],
200+
)
201+
202+
php_gapic_library(
203+
name = "certificatemanager_php_gapic",
204+
srcs = [":certificatemanager_proto_with_info"],
205+
grpc_service_config = "certificatemanager_grpc_service_config.json",
206+
service_yaml = "certificatemanager_v1.yaml",
207+
deps = [
208+
":certificatemanager_php_grpc",
209+
":certificatemanager_php_proto",
210+
],
211+
)
212+
213+
# Open Source Packages
214+
php_gapic_assembly_pkg(
215+
name = "google-cloud-certificatemanager-v1-php",
216+
deps = [
217+
":certificatemanager_php_gapic",
218+
":certificatemanager_php_grpc",
219+
":certificatemanager_php_proto",
220+
],
221+
)
222+
223+
##############################################################################
224+
# Node.js
225+
##############################################################################
226+
load(
227+
"@com_google_googleapis_imports//:imports.bzl",
228+
"nodejs_gapic_assembly_pkg",
229+
"nodejs_gapic_library",
230+
)
231+
232+
nodejs_gapic_library(
233+
name = "certificatemanager_nodejs_gapic",
234+
package_name = "@google-cloud/certificatemanager",
235+
src = ":certificatemanager_proto_with_info",
236+
extra_protoc_parameters = ["metadata"],
237+
grpc_service_config = "certificatemanager_grpc_service_config.json",
238+
package = "google.cloud.certificatemanager.v1",
239+
service_yaml = "certificatemanager_v1.yaml",
240+
deps = [],
241+
)
242+
243+
nodejs_gapic_assembly_pkg(
244+
name = "certificatemanager-v1-nodejs",
245+
deps = [
246+
":certificatemanager_nodejs_gapic",
247+
":certificatemanager_proto",
248+
],
249+
)
250+
251+
##############################################################################
252+
# Ruby
253+
##############################################################################
254+
load(
255+
"@com_google_googleapis_imports//:imports.bzl",
256+
"ruby_cloud_gapic_library",
257+
"ruby_gapic_assembly_pkg",
258+
"ruby_grpc_library",
259+
"ruby_proto_library",
260+
)
261+
262+
ruby_proto_library(
263+
name = "certificatemanager_ruby_proto",
264+
deps = [":certificatemanager_proto"],
265+
)
266+
267+
ruby_grpc_library(
268+
name = "certificatemanager_ruby_grpc",
269+
srcs = [":certificatemanager_proto"],
270+
deps = [":certificatemanager_ruby_proto"],
271+
)
272+
273+
ruby_cloud_gapic_library(
274+
name = "certificatemanager_ruby_gapic",
275+
srcs = [":certificatemanager_proto_with_info"],
276+
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-certificatemanager-v1"],
277+
grpc_service_config = "certificatemanager_grpc_service_config.json",
278+
deps = [
279+
":certificatemanager_ruby_grpc",
280+
":certificatemanager_ruby_proto",
281+
],
282+
)
283+
284+
# Open Source Packages
285+
ruby_gapic_assembly_pkg(
286+
name = "google-cloud-certificatemanager-v1-ruby",
287+
deps = [
288+
":certificatemanager_ruby_gapic",
289+
":certificatemanager_ruby_grpc",
290+
":certificatemanager_ruby_proto",
291+
],
292+
)
293+
294+
##############################################################################
295+
# C#
296+
##############################################################################
297+
load(
298+
"@com_google_googleapis_imports//:imports.bzl",
299+
"csharp_gapic_assembly_pkg",
300+
"csharp_gapic_library",
301+
"csharp_grpc_library",
302+
"csharp_proto_library",
303+
)
304+
305+
csharp_proto_library(
306+
name = "certificatemanager_csharp_proto",
307+
deps = [":certificatemanager_proto"],
308+
)
309+
310+
csharp_grpc_library(
311+
name = "certificatemanager_csharp_grpc",
312+
srcs = [":certificatemanager_proto"],
313+
deps = [":certificatemanager_csharp_proto"],
314+
)
315+
316+
csharp_gapic_library(
317+
name = "certificatemanager_csharp_gapic",
318+
srcs = [":certificatemanager_proto_with_info"],
319+
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
320+
grpc_service_config = "certificatemanager_grpc_service_config.json",
321+
deps = [
322+
":certificatemanager_csharp_grpc",
323+
":certificatemanager_csharp_proto",
324+
],
325+
)
326+
327+
# Open Source Packages
328+
csharp_gapic_assembly_pkg(
329+
name = "google-cloud-certificatemanager-v1-csharp",
330+
deps = [
331+
":certificatemanager_csharp_gapic",
332+
":certificatemanager_csharp_grpc",
333+
":certificatemanager_csharp_proto",
334+
],
335+
)
336+
337+
##############################################################################
338+
# C++
339+
##############################################################################
340+
load(
341+
"@com_google_googleapis_imports//:imports.bzl",
342+
"cc_grpc_library",
343+
"cc_proto_library",
344+
)
345+
346+
cc_proto_library(
347+
name = "certificatemanager_cc_proto",
348+
deps = [":certificatemanager_proto"],
349+
)
350+
351+
cc_grpc_library(
352+
name = "certificatemanager_cc_grpc",
353+
srcs = [":certificatemanager_proto"],
354+
grpc_only = True,
355+
deps = [":certificatemanager_cc_proto"],
356+
)

0 commit comments

Comments
 (0)