Skip to content

Commit 557d78e

Browse files
Google APIscopybara-github
authored andcommitted
feat: add BeyondCorp appconnections API
PiperOrigin-RevId: 456539168
1 parent 426d87e commit 557d78e

4 files changed

Lines changed: 991 additions & 0 deletions

File tree

Lines changed: 322 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,322 @@
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+
##############################################################################
13+
# Common
14+
##############################################################################
15+
load("@rules_proto//proto:defs.bzl", "proto_library")
16+
load(
17+
"@com_google_googleapis_imports//:imports.bzl",
18+
"cc_grpc_library",
19+
"cc_proto_library",
20+
"csharp_gapic_assembly_pkg",
21+
"csharp_gapic_library",
22+
"csharp_grpc_library",
23+
"csharp_proto_library",
24+
"go_gapic_assembly_pkg",
25+
"go_gapic_library",
26+
"go_proto_library",
27+
"go_test",
28+
"java_gapic_assembly_gradle_pkg",
29+
"java_gapic_library",
30+
"java_gapic_test",
31+
"java_grpc_library",
32+
"java_proto_library",
33+
"nodejs_gapic_assembly_pkg",
34+
"nodejs_gapic_library",
35+
"php_gapic_assembly_pkg",
36+
"php_gapic_library",
37+
"php_grpc_library",
38+
"php_proto_library",
39+
"proto_library_with_info",
40+
"py_gapic_assembly_pkg",
41+
"py_gapic_library",
42+
"ruby_cloud_gapic_library",
43+
"ruby_gapic_assembly_pkg",
44+
"ruby_grpc_library",
45+
"ruby_proto_library",
46+
)
47+
48+
# This is an API workspace, having public visibility by default makes perfect sense.
49+
package(default_visibility = ["//visibility:public"])
50+
51+
proto_library(
52+
name = "appconnections_proto",
53+
srcs = [
54+
"app_connections_service.proto",
55+
],
56+
deps = [
57+
"//google/api:annotations_proto",
58+
"//google/api:client_proto",
59+
"//google/api:field_behavior_proto",
60+
"//google/api:resource_proto",
61+
"//google/longrunning:operations_proto",
62+
"@com_google_protobuf//:field_mask_proto",
63+
"@com_google_protobuf//:timestamp_proto",
64+
],
65+
)
66+
67+
proto_library_with_info(
68+
name = "appconnections_proto_with_info",
69+
deps = [
70+
":appconnections_proto",
71+
"//google/cloud:common_resources_proto",
72+
"//google/cloud/location:location_proto",
73+
"//google/iam/v1:iam_policy_proto",
74+
],
75+
)
76+
77+
java_proto_library(
78+
name = "appconnections_java_proto",
79+
deps = [":appconnections_proto"],
80+
)
81+
82+
java_grpc_library(
83+
name = "appconnections_java_grpc",
84+
srcs = [":appconnections_proto"],
85+
deps = [":appconnections_java_proto"],
86+
)
87+
88+
java_gapic_library(
89+
name = "appconnections_java_gapic",
90+
srcs = [":appconnections_proto_with_info"],
91+
gapic_yaml = None,
92+
grpc_service_config = "beyondcorp-appconnections_grpc_service_config.json",
93+
service_yaml = "beyondcorp_v1.yaml",
94+
test_deps = [
95+
":appconnections_java_grpc",
96+
"//google/cloud/location:location_java_grpc",
97+
"//google/iam/v1:iam_java_grpc",
98+
],
99+
deps = [
100+
":appconnections_java_proto",
101+
"//google/api:api_java_proto",
102+
"//google/cloud/location:location_java_proto",
103+
"//google/iam/v1:iam_java_proto",
104+
],
105+
)
106+
107+
java_gapic_test(
108+
name = "appconnections_java_gapic_test_suite",
109+
test_classes = [
110+
"com.google.cloud.beyondcorp.appconnections.v1.AppConnectionsServiceClientTest",
111+
],
112+
runtime_deps = [":appconnections_java_gapic_test"],
113+
)
114+
115+
# Open Source Packages
116+
java_gapic_assembly_gradle_pkg(
117+
name = "google-cloud-beyondcorp-appconnections-v1-java",
118+
include_samples = True,
119+
deps = [
120+
":appconnections_java_gapic",
121+
":appconnections_java_grpc",
122+
":appconnections_java_proto",
123+
":appconnections_proto",
124+
],
125+
)
126+
127+
go_proto_library(
128+
name = "appconnections_go_proto",
129+
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
130+
importpath = "google.golang.org/genproto/googleapis/cloud/beyondcorp/appconnections/v1",
131+
protos = [":appconnections_proto"],
132+
deps = [
133+
"//google/api:annotations_go_proto",
134+
"//google/longrunning:longrunning_go_proto",
135+
],
136+
)
137+
138+
go_gapic_library(
139+
name = "appconnections_go_gapic",
140+
srcs = [":appconnections_proto_with_info"],
141+
grpc_service_config = "beyondcorp-appconnections_grpc_service_config.json",
142+
importpath = "cloud.google.com/go/beyondcorp/appconnections/apiv1;appconnections",
143+
metadata = True,
144+
service_yaml = "beyondcorp_v1.yaml",
145+
deps = [
146+
":appconnections_go_proto",
147+
"//google/cloud/location:location_go_proto",
148+
"//google/iam/v1:iam_go_proto",
149+
"//google/longrunning:longrunning_go_proto",
150+
"@com_google_cloud_go//longrunning:go_default_library",
151+
"@com_google_cloud_go//longrunning/autogen:go_default_library",
152+
],
153+
)
154+
155+
go_test(
156+
name = "appconnections_go_gapic_test",
157+
srcs = [":appconnections_go_gapic_srcjar_test"],
158+
embed = [":appconnections_go_gapic"],
159+
importpath = "cloud.google.com/go/beyondcorp/appconnections/apiv1",
160+
)
161+
162+
# Open Source Packages
163+
go_gapic_assembly_pkg(
164+
name = "gapi-cloud-beyondcorp-appconnections-v1-go",
165+
deps = [
166+
":appconnections_go_gapic",
167+
":appconnections_go_gapic_srcjar-metadata.srcjar",
168+
":appconnections_go_gapic_srcjar-test.srcjar",
169+
":appconnections_go_proto",
170+
],
171+
)
172+
173+
py_gapic_library(
174+
name = "appconnections_py_gapic",
175+
srcs = [":appconnections_proto"],
176+
grpc_service_config = "beyondcorp-appconnections_grpc_service_config.json",
177+
service_yaml = "beyondcorp_v1.yaml",
178+
)
179+
180+
# Open Source Packages
181+
py_gapic_assembly_pkg(
182+
name = "beyondcorp-appconnections-v1-py",
183+
deps = [
184+
":appconnections_py_gapic",
185+
],
186+
)
187+
188+
php_proto_library(
189+
name = "appconnections_php_proto",
190+
deps = [":appconnections_proto"],
191+
)
192+
193+
php_grpc_library(
194+
name = "appconnections_php_grpc",
195+
srcs = [":appconnections_proto"],
196+
deps = [":appconnections_php_proto"],
197+
)
198+
199+
php_gapic_library(
200+
name = "appconnections_php_gapic",
201+
srcs = [":appconnections_proto_with_info"],
202+
grpc_service_config = "beyondcorp-appconnections_grpc_service_config.json",
203+
service_yaml = "beyondcorp_v1.yaml",
204+
deps = [
205+
":appconnections_php_grpc",
206+
":appconnections_php_proto",
207+
],
208+
)
209+
210+
# Open Source Packages
211+
php_gapic_assembly_pkg(
212+
name = "google-cloud-beyondcorp-appconnections-v1-php",
213+
deps = [
214+
":appconnections_php_gapic",
215+
":appconnections_php_grpc",
216+
":appconnections_php_proto",
217+
],
218+
)
219+
220+
nodejs_gapic_library(
221+
name = "appconnections_nodejs_gapic",
222+
package_name = "@google-cloud/appconnections",
223+
src = ":appconnections_proto_with_info",
224+
extra_protoc_parameters = ["metadata"],
225+
grpc_service_config = "beyondcorp-appconnections_grpc_service_config.json",
226+
package = "google.cloud.beyondcorp.appconnections.v1",
227+
service_yaml = "beyondcorp_v1.yaml",
228+
deps = [],
229+
)
230+
231+
nodejs_gapic_assembly_pkg(
232+
name = "beyondcorp-appconnections-v1-nodejs",
233+
deps = [
234+
":appconnections_nodejs_gapic",
235+
":appconnections_proto",
236+
],
237+
)
238+
239+
ruby_proto_library(
240+
name = "appconnections_ruby_proto",
241+
deps = [":appconnections_proto"],
242+
)
243+
244+
ruby_grpc_library(
245+
name = "appconnections_ruby_grpc",
246+
srcs = [":appconnections_proto"],
247+
deps = [":appconnections_ruby_proto"],
248+
)
249+
250+
ruby_cloud_gapic_library(
251+
name = "appconnections_ruby_gapic",
252+
srcs = [":appconnections_proto_with_info"],
253+
extra_protoc_parameters = [
254+
"ruby-cloud-gem-name=google-cloud-beyond_corp-app_connections-v1",
255+
"ruby-cloud-product-url=https://cloud.google.com/beyondcorp/",
256+
"ruby-cloud-api-id=beyondcorp.googleapis.com",
257+
"ruby-cloud-api-shortname=beyondcorp",
258+
],
259+
grpc_service_config = "beyondcorp-appconnections_grpc_service_config.json",
260+
ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.",
261+
ruby_cloud_title = "BeyondCorp AppConnections V1",
262+
service_yaml = "beyondcorp_v1.yaml",
263+
deps = [
264+
":appconnections_ruby_grpc",
265+
":appconnections_ruby_proto",
266+
],
267+
)
268+
269+
# Open Source Packages
270+
ruby_gapic_assembly_pkg(
271+
name = "google-cloud-beyondcorp-appconnections-v1-ruby",
272+
deps = [
273+
":appconnections_ruby_gapic",
274+
":appconnections_ruby_grpc",
275+
":appconnections_ruby_proto",
276+
],
277+
)
278+
279+
csharp_proto_library(
280+
name = "appconnections_csharp_proto",
281+
deps = [":appconnections_proto"],
282+
)
283+
284+
csharp_grpc_library(
285+
name = "appconnections_csharp_grpc",
286+
srcs = [":appconnections_proto"],
287+
deps = [":appconnections_csharp_proto"],
288+
)
289+
290+
csharp_gapic_library(
291+
name = "appconnections_csharp_gapic",
292+
srcs = [":appconnections_proto_with_info"],
293+
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
294+
grpc_service_config = "beyondcorp-appconnections_grpc_service_config.json",
295+
service_yaml = "beyondcorp_v1.yaml",
296+
deps = [
297+
":appconnections_csharp_grpc",
298+
":appconnections_csharp_proto",
299+
],
300+
)
301+
302+
# Open Source Packages
303+
csharp_gapic_assembly_pkg(
304+
name = "google-cloud-beyondcorp-appconnections-v1-csharp",
305+
deps = [
306+
":appconnections_csharp_gapic",
307+
":appconnections_csharp_grpc",
308+
":appconnections_csharp_proto",
309+
],
310+
)
311+
312+
cc_proto_library(
313+
name = "appconnections_cc_proto",
314+
deps = [":appconnections_proto"],
315+
)
316+
317+
cc_grpc_library(
318+
name = "appconnections_cc_grpc",
319+
srcs = [":appconnections_proto"],
320+
grpc_only = True,
321+
deps = [":appconnections_cc_proto"],
322+
)

0 commit comments

Comments
 (0)