xref: /aosp_15_r20/external/googleapis/google/cloud/workflows/executions/v1beta/BUILD.bazel (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1# This file was automatically generated by BuildFileGenerator
2
3# This is an API workspace, having public visibility by default makes perfect sense.
4package(default_visibility = ["//visibility:public"])
5
6##############################################################################
7# Common
8##############################################################################
9load("@rules_proto//proto:defs.bzl", "proto_library")
10load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
11
12proto_library(
13    name = "executions_proto",
14    srcs = [
15        "executions.proto",
16    ],
17    deps = [
18        "//google/api:annotations_proto",
19        "//google/api:client_proto",
20        "//google/api:field_behavior_proto",
21        "//google/api:resource_proto",
22        "@com_google_protobuf//:timestamp_proto",
23    ],
24)
25
26proto_library_with_info(
27    name = "executions_proto_with_info",
28    deps = [
29        ":executions_proto",
30        "//google/cloud:common_resources_proto",
31    ],
32)
33
34##############################################################################
35# Java
36##############################################################################
37load(
38    "@com_google_googleapis_imports//:imports.bzl",
39    "java_gapic_assembly_gradle_pkg",
40    "java_gapic_library",
41    "java_gapic_test",
42    "java_grpc_library",
43    "java_proto_library",
44)
45
46java_proto_library(
47    name = "executions_java_proto",
48    deps = [":executions_proto"],
49)
50
51java_grpc_library(
52    name = "executions_java_grpc",
53    srcs = [":executions_proto"],
54    deps = [":executions_java_proto"],
55)
56
57java_gapic_library(
58    name = "executions_java_gapic",
59    srcs = [":executions_proto_with_info"],
60    grpc_service_config = "executions_grpc_service_config.json",
61    rest_numeric_enums = False,
62    service_yaml = "workflowexecutions_v1beta.yaml",
63    test_deps = [
64        ":executions_java_grpc",
65    ],
66    transport = "grpc+rest",
67    deps = [
68        ":executions_java_proto",
69    ],
70)
71
72java_gapic_test(
73    name = "executions_java_gapic_test_suite",
74    test_classes = [
75        "com.google.cloud.workflows.executions.v1beta.ExecutionsClientHttpJsonTest",
76        "com.google.cloud.workflows.executions.v1beta.ExecutionsClientTest",
77    ],
78    runtime_deps = [":executions_java_gapic_test"],
79)
80
81# Open Source Packages
82java_gapic_assembly_gradle_pkg(
83    name = "google-cloud-workflows-executions-v1beta-java",
84    include_samples = True,
85    transport = "grpc+rest",
86    deps = [
87        ":executions_java_gapic",
88        ":executions_java_grpc",
89        ":executions_java_proto",
90        ":executions_proto",
91    ],
92)
93
94##############################################################################
95# Go
96##############################################################################
97load(
98    "@com_google_googleapis_imports//:imports.bzl",
99    "go_gapic_assembly_pkg",
100    "go_gapic_library",
101    "go_proto_library",
102)
103
104go_proto_library(
105    name = "executions_go_proto",
106    compilers = ["@io_bazel_rules_go//proto:go_grpc"],
107    importpath = "cloud.google.com/go/workflows/executions/apiv1beta/executionspb",
108    protos = [":executions_proto"],
109    deps = [
110        "//google/api:annotations_go_proto",
111    ],
112)
113
114go_gapic_library(
115    name = "executions_go_gapic",
116    srcs = [":executions_proto_with_info"],
117    grpc_service_config = "executions_grpc_service_config.json",
118    importpath = "cloud.google.com/go/workflows/executions/apiv1beta;executions",
119    metadata = True,
120    release_level = "beta",
121    rest_numeric_enums = False,
122    service_yaml = "workflowexecutions_v1beta.yaml",
123    transport = "grpc+rest",
124    deps = [
125        ":executions_go_proto",
126    ],
127)
128
129# Open Source Packages
130go_gapic_assembly_pkg(
131    name = "gapi-cloud-workflows-executions-v1beta-go",
132    deps = [
133        ":executions_go_gapic",
134        ":executions_go_gapic_srcjar-snippets.srcjar",
135        ":executions_go_gapic_srcjar-test.srcjar",
136        ":executions_go_proto",
137    ],
138)
139
140##############################################################################
141# Python
142##############################################################################
143load(
144    "@com_google_googleapis_imports//:imports.bzl",
145    "py_gapic_assembly_pkg",
146    "py_gapic_library",
147    "py_test",
148)
149
150py_gapic_library(
151    name = "executions_py_gapic",
152    srcs = [":executions_proto"],
153    grpc_service_config = "executions_grpc_service_config.json",
154    rest_numeric_enums = False,
155    service_yaml = "workflowexecutions_v1beta.yaml",
156    transport = "grpc",
157)
158
159py_test(
160    name = "executions_py_gapic_test",
161    srcs = [
162        "executions_py_gapic_pytest.py",
163        "executions_py_gapic_test.py",
164    ],
165    legacy_create_init = False,
166    deps = [":executions_py_gapic"],
167)
168
169# Open Source Packages
170py_gapic_assembly_pkg(
171    name = "workflows-executions-v1beta-py",
172    deps = [
173        ":executions_py_gapic",
174    ],
175)
176
177##############################################################################
178# PHP
179##############################################################################
180load(
181    "@com_google_googleapis_imports//:imports.bzl",
182    "php_gapic_assembly_pkg",
183    "php_gapic_library",
184    "php_proto_library",
185)
186
187php_proto_library(
188    name = "executions_php_proto",
189    deps = [":executions_proto"],
190)
191
192php_gapic_library(
193    name = "executions_php_gapic",
194    srcs = [":executions_proto_with_info"],
195    rest_numeric_enums = False,
196    service_yaml = "workflowexecutions_v1beta.yaml",
197    transport = "grpc+rest",
198    deps = [":executions_php_proto"],
199)
200
201# Open Source Packages
202php_gapic_assembly_pkg(
203    name = "google-cloud-workflows-executions-v1beta-php",
204    deps = [
205        ":executions_php_gapic",
206        ":executions_php_proto",
207    ],
208)
209
210##############################################################################
211# Node.js
212##############################################################################
213load(
214    "@com_google_googleapis_imports//:imports.bzl",
215    "nodejs_gapic_assembly_pkg",
216    "nodejs_gapic_library",
217)
218
219nodejs_gapic_library(
220    name = "executions_nodejs_gapic",
221    package_name = "@google-cloud/workflows-executions",
222    src = ":executions_proto_with_info",
223    extra_protoc_parameters = ["metadata"],
224    gapic_yaml = "executions_gapic.yaml",
225    package = "google.cloud.workflows.executions.v1beta",
226    rest_numeric_enums = False,
227    service_yaml = "workflowexecutions_v1beta.yaml",
228    transport = "grpc+rest",
229    deps = [],
230)
231
232nodejs_gapic_assembly_pkg(
233    name = "workflows-executions-v1beta-nodejs",
234    deps = [
235        ":executions_nodejs_gapic",
236        ":executions_proto",
237    ],
238)
239
240##############################################################################
241# Ruby
242##############################################################################
243load(
244    "@com_google_googleapis_imports//:imports.bzl",
245    "ruby_cloud_gapic_library",
246    "ruby_gapic_assembly_pkg",
247    "ruby_grpc_library",
248    "ruby_proto_library",
249)
250
251ruby_proto_library(
252    name = "executions_ruby_proto",
253    deps = [":executions_proto"],
254)
255
256ruby_grpc_library(
257    name = "executions_ruby_grpc",
258    srcs = [":executions_proto"],
259    deps = [":executions_ruby_proto"],
260)
261
262ruby_cloud_gapic_library(
263    name = "executions_ruby_gapic",
264    srcs = [":executions_proto_with_info"],
265    extra_protoc_parameters = [
266        "ruby-cloud-gem-name=google-cloud-workflows-executions-v1beta",
267        "ruby-cloud-env-prefix=WORKFLOWS",
268        "ruby-cloud-product-url=https://cloud.google.com/workflows/",
269        "ruby-cloud-api-id=workflowexecutions.googleapis.com",
270        "ruby-cloud-api-shortname=workflowexecutions",
271        "ruby-cloud-wrapper-gem-override=google-cloud-workflows",
272    ],
273    grpc_service_config = "executions_grpc_service_config.json",
274    rest_numeric_enums = False,
275    ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..",
276    ruby_cloud_title = "Workflows Executions V1beta",
277    service_yaml = "workflowexecutions_v1beta.yaml",
278    deps = [
279        ":executions_ruby_grpc",
280        ":executions_ruby_proto",
281    ],
282)
283
284# Open Source Packages
285ruby_gapic_assembly_pkg(
286    name = "google-cloud-workflows-executions-v1beta-ruby",
287    deps = [
288        ":executions_ruby_gapic",
289        ":executions_ruby_grpc",
290        ":executions_ruby_proto",
291    ],
292)
293
294##############################################################################
295# C#
296##############################################################################
297load(
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
305csharp_proto_library(
306    name = "executions_csharp_proto",
307    deps = [":executions_proto"],
308)
309
310csharp_grpc_library(
311    name = "executions_csharp_grpc",
312    srcs = [":executions_proto"],
313    deps = [":executions_csharp_proto"],
314)
315
316csharp_gapic_library(
317    name = "executions_csharp_gapic",
318    srcs = [":executions_proto_with_info"],
319    common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
320    grpc_service_config = "executions_grpc_service_config.json",
321    rest_numeric_enums = False,
322    service_yaml = "workflowexecutions_v1beta.yaml",
323    deps = [
324        ":executions_csharp_grpc",
325        ":executions_csharp_proto",
326    ],
327)
328
329# Open Source Packages
330csharp_gapic_assembly_pkg(
331    name = "google-cloud-workflows-executions-v1beta-csharp",
332    deps = [
333        ":executions_csharp_gapic",
334        ":executions_csharp_grpc",
335        ":executions_csharp_proto",
336    ],
337)
338
339##############################################################################
340# C++
341##############################################################################
342# Put your C++ rules here
343