Skip to content

Commit f9382d1

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add the edgecontainer v1 api
PiperOrigin-RevId: 470102134
1 parent 2593ea2 commit f9382d1

5 files changed

Lines changed: 1525 additions & 0 deletions

File tree

Lines changed: 380 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,380 @@
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 = "edgecontainer_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+
"//google/longrunning:operations_proto",
33+
"//google/rpc:status_proto",
34+
"@com_google_protobuf//:field_mask_proto",
35+
"@com_google_protobuf//:timestamp_proto",
36+
],
37+
)
38+
39+
proto_library_with_info(
40+
name = "edgecontainer_proto_with_info",
41+
deps = [
42+
":edgecontainer_proto",
43+
"//google/cloud:common_resources_proto",
44+
],
45+
)
46+
47+
##############################################################################
48+
# Java
49+
##############################################################################
50+
load(
51+
"@com_google_googleapis_imports//:imports.bzl",
52+
"java_gapic_assembly_gradle_pkg",
53+
"java_gapic_library",
54+
"java_gapic_test",
55+
"java_grpc_library",
56+
"java_proto_library",
57+
)
58+
59+
java_proto_library(
60+
name = "edgecontainer_java_proto",
61+
deps = [":edgecontainer_proto"],
62+
)
63+
64+
java_grpc_library(
65+
name = "edgecontainer_java_grpc",
66+
srcs = [":edgecontainer_proto"],
67+
deps = [":edgecontainer_java_proto"],
68+
)
69+
70+
java_gapic_library(
71+
name = "edgecontainer_java_gapic",
72+
srcs = [":edgecontainer_proto_with_info"],
73+
gapic_yaml = None,
74+
grpc_service_config = "edgecontainer_grpc_service_config.json",
75+
service_yaml = None,
76+
test_deps = [
77+
":edgecontainer_java_grpc",
78+
],
79+
transport = "grpc+rest",
80+
deps = [
81+
":edgecontainer_java_proto",
82+
"//google/api:api_java_proto",
83+
],
84+
)
85+
86+
java_gapic_test(
87+
name = "edgecontainer_java_gapic_test_suite",
88+
test_classes = [
89+
"com.google.cloud.edgecontainer.v1.EdgeContainerClientHttpJsonTest",
90+
"com.google.cloud.edgecontainer.v1.EdgeContainerClientTest",
91+
],
92+
runtime_deps = [":edgecontainer_java_gapic_test"],
93+
)
94+
95+
# Open Source Packages
96+
java_gapic_assembly_gradle_pkg(
97+
name = "google-cloud-edgecontainer-v1-java",
98+
include_samples = True,
99+
transport = "grpc+rest",
100+
deps = [
101+
":edgecontainer_java_gapic",
102+
":edgecontainer_java_grpc",
103+
":edgecontainer_java_proto",
104+
":edgecontainer_proto",
105+
],
106+
)
107+
108+
##############################################################################
109+
# Go
110+
##############################################################################
111+
load(
112+
"@com_google_googleapis_imports//:imports.bzl",
113+
"go_gapic_assembly_pkg",
114+
"go_gapic_library",
115+
"go_proto_library",
116+
"go_test",
117+
)
118+
119+
go_proto_library(
120+
name = "edgecontainer_go_proto",
121+
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
122+
importpath = "google.golang.org/genproto/googleapis/cloud/edgecontainer/v1",
123+
protos = [":edgecontainer_proto"],
124+
deps = [
125+
"//google/api:annotations_go_proto",
126+
"//google/longrunning:longrunning_go_proto",
127+
"//google/rpc:status_go_proto",
128+
],
129+
)
130+
131+
go_gapic_library(
132+
name = "edgecontainer_go_gapic",
133+
srcs = [":edgecontainer_proto_with_info"],
134+
grpc_service_config = "edgecontainer_grpc_service_config.json",
135+
importpath = "cloud.google.com/go/edgecontainer/apiv1;edgecontainer",
136+
metadata = True,
137+
service_yaml = None,
138+
transport = "grpc+rest",
139+
deps = [
140+
":edgecontainer_go_proto",
141+
"//google/longrunning:longrunning_go_proto",
142+
"@com_google_cloud_go//longrunning:go_default_library",
143+
"@com_google_cloud_go//longrunning/autogen:go_default_library",
144+
],
145+
)
146+
147+
go_test(
148+
name = "edgecontainer_go_gapic_test",
149+
srcs = [":edgecontainer_go_gapic_srcjar_test"],
150+
embed = [":edgecontainer_go_gapic"],
151+
importpath = "cloud.google.com/go/edgecontainer/apiv1",
152+
)
153+
154+
# Open Source Packages
155+
go_gapic_assembly_pkg(
156+
name = "gapi-cloud-edgecontainer-v1-go",
157+
deps = [
158+
":edgecontainer_go_gapic",
159+
":edgecontainer_go_gapic_srcjar-metadata.srcjar",
160+
":edgecontainer_go_gapic_srcjar-test.srcjar",
161+
":edgecontainer_go_proto",
162+
],
163+
)
164+
165+
##############################################################################
166+
# Python
167+
##############################################################################
168+
load(
169+
"@com_google_googleapis_imports//:imports.bzl",
170+
"py_gapic_assembly_pkg",
171+
"py_gapic_library",
172+
"py_test",
173+
)
174+
175+
py_gapic_library(
176+
name = "edgecontainer_py_gapic",
177+
srcs = [":edgecontainer_proto"],
178+
grpc_service_config = "edgecontainer_grpc_service_config.json",
179+
service_yaml = None,
180+
deps = [
181+
],
182+
)
183+
184+
py_test(
185+
name = "edgecontainer_py_gapic_test",
186+
srcs = [
187+
"edgecontainer_py_gapic_pytest.py",
188+
"edgecontainer_py_gapic_test.py",
189+
],
190+
legacy_create_init = False,
191+
deps = [":edgecontainer_py_gapic"],
192+
)
193+
194+
# Open Source Packages
195+
py_gapic_assembly_pkg(
196+
name = "edgecontainer-v1-py",
197+
deps = [
198+
":edgecontainer_py_gapic",
199+
],
200+
)
201+
202+
##############################################################################
203+
# PHP
204+
##############################################################################
205+
load(
206+
"@com_google_googleapis_imports//:imports.bzl",
207+
"php_gapic_assembly_pkg",
208+
"php_gapic_library",
209+
"php_grpc_library",
210+
"php_proto_library",
211+
)
212+
213+
php_proto_library(
214+
name = "edgecontainer_php_proto",
215+
deps = [":edgecontainer_proto"],
216+
)
217+
218+
php_grpc_library(
219+
name = "edgecontainer_php_grpc",
220+
srcs = [":edgecontainer_proto"],
221+
deps = [":edgecontainer_php_proto"],
222+
)
223+
224+
php_gapic_library(
225+
name = "edgecontainer_php_gapic",
226+
srcs = [":edgecontainer_proto_with_info"],
227+
grpc_service_config = "edgecontainer_grpc_service_config.json",
228+
service_yaml = None,
229+
deps = [
230+
":edgecontainer_php_grpc",
231+
":edgecontainer_php_proto",
232+
],
233+
)
234+
235+
# Open Source Packages
236+
php_gapic_assembly_pkg(
237+
name = "google-cloud-edgecontainer-v1-php",
238+
deps = [
239+
":edgecontainer_php_gapic",
240+
":edgecontainer_php_grpc",
241+
":edgecontainer_php_proto",
242+
],
243+
)
244+
245+
##############################################################################
246+
# Node.js
247+
##############################################################################
248+
load(
249+
"@com_google_googleapis_imports//:imports.bzl",
250+
"nodejs_gapic_assembly_pkg",
251+
"nodejs_gapic_library",
252+
)
253+
254+
nodejs_gapic_library(
255+
name = "edgecontainer_nodejs_gapic",
256+
package_name = "@google-cloud/edgecontainer",
257+
src = ":edgecontainer_proto_with_info",
258+
extra_protoc_parameters = ["metadata"],
259+
grpc_service_config = "edgecontainer_grpc_service_config.json",
260+
package = "google.cloud.edgecontainer.v1",
261+
service_yaml = None,
262+
deps = [],
263+
)
264+
265+
nodejs_gapic_assembly_pkg(
266+
name = "edgecontainer-v1-nodejs",
267+
deps = [
268+
":edgecontainer_nodejs_gapic",
269+
":edgecontainer_proto",
270+
],
271+
)
272+
273+
##############################################################################
274+
# Ruby
275+
##############################################################################
276+
load(
277+
"@com_google_googleapis_imports//:imports.bzl",
278+
"ruby_cloud_gapic_library",
279+
"ruby_gapic_assembly_pkg",
280+
"ruby_grpc_library",
281+
"ruby_proto_library",
282+
)
283+
284+
ruby_proto_library(
285+
name = "edgecontainer_ruby_proto",
286+
deps = [":edgecontainer_proto"],
287+
)
288+
289+
ruby_grpc_library(
290+
name = "edgecontainer_ruby_grpc",
291+
srcs = [":edgecontainer_proto"],
292+
deps = [":edgecontainer_ruby_proto"],
293+
)
294+
295+
ruby_cloud_gapic_library(
296+
name = "edgecontainer_ruby_gapic",
297+
srcs = [":edgecontainer_proto_with_info"],
298+
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-edgecontainer-v1"],
299+
grpc_service_config = "edgecontainer_grpc_service_config.json",
300+
service_yaml = None,
301+
deps = [
302+
":edgecontainer_ruby_grpc",
303+
":edgecontainer_ruby_proto",
304+
],
305+
)
306+
307+
# Open Source Packages
308+
ruby_gapic_assembly_pkg(
309+
name = "google-cloud-edgecontainer-v1-ruby",
310+
deps = [
311+
":edgecontainer_ruby_gapic",
312+
":edgecontainer_ruby_grpc",
313+
":edgecontainer_ruby_proto",
314+
],
315+
)
316+
317+
##############################################################################
318+
# C#
319+
##############################################################################
320+
load(
321+
"@com_google_googleapis_imports//:imports.bzl",
322+
"csharp_gapic_assembly_pkg",
323+
"csharp_gapic_library",
324+
"csharp_grpc_library",
325+
"csharp_proto_library",
326+
)
327+
328+
csharp_proto_library(
329+
name = "edgecontainer_csharp_proto",
330+
deps = [":edgecontainer_proto"],
331+
)
332+
333+
csharp_grpc_library(
334+
name = "edgecontainer_csharp_grpc",
335+
srcs = [":edgecontainer_proto"],
336+
deps = [":edgecontainer_csharp_proto"],
337+
)
338+
339+
csharp_gapic_library(
340+
name = "edgecontainer_csharp_gapic",
341+
srcs = [":edgecontainer_proto_with_info"],
342+
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
343+
grpc_service_config = "edgecontainer_grpc_service_config.json",
344+
service_yaml = None,
345+
deps = [
346+
":edgecontainer_csharp_grpc",
347+
":edgecontainer_csharp_proto",
348+
],
349+
)
350+
351+
# Open Source Packages
352+
csharp_gapic_assembly_pkg(
353+
name = "google-cloud-edgecontainer-v1-csharp",
354+
deps = [
355+
":edgecontainer_csharp_gapic",
356+
":edgecontainer_csharp_grpc",
357+
":edgecontainer_csharp_proto",
358+
],
359+
)
360+
361+
##############################################################################
362+
# C++
363+
##############################################################################
364+
load(
365+
"@com_google_googleapis_imports//:imports.bzl",
366+
"cc_grpc_library",
367+
"cc_proto_library",
368+
)
369+
370+
cc_proto_library(
371+
name = "edgecontainer_cc_proto",
372+
deps = [":edgecontainer_proto"],
373+
)
374+
375+
cc_grpc_library(
376+
name = "edgecontainer_cc_grpc",
377+
srcs = [":edgecontainer_proto"],
378+
grpc_only = True,
379+
deps = [":edgecontainer_cc_proto"],
380+
)

0 commit comments

Comments
 (0)