Skip to content

Commit 370df45

Browse files
Google APIscopybara-github
authored andcommitted
feat: networksecurity public protos
Committer: @alexander-fenster PiperOrigin-RevId: 380923948
1 parent 7c7d22f commit 370df45

9 files changed

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

0 commit comments

Comments
 (0)