BUILD.bazel 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. # This file was automatically generated by BuildFileGenerator
  2. # https://github.com/googleapis/rules_gapic/tree/master/bazel
  3. # Most of the manual changes to this file will be overwritten.
  4. # It's **only** allowed to change the following rule attribute values:
  5. # - names of *_gapic_assembly_* rules
  6. # - certain parameters of *_gapic_library rules, including but not limited to:
  7. # * extra_protoc_parameters
  8. # * extra_protoc_file_parameters
  9. # The complete list of preserved parameters can be found in the source code.
  10. ##############################################################################
  11. # Common
  12. ##############################################################################
  13. load("@rules_proto//proto:defs.bzl", "proto_library")
  14. load(
  15. "@com_google_googleapis_imports//:imports.bzl",
  16. "cc_grpc_library",
  17. "cc_proto_library",
  18. "csharp_gapic_assembly_pkg",
  19. "csharp_gapic_library",
  20. "csharp_grpc_library",
  21. "csharp_proto_library",
  22. "go_gapic_assembly_pkg",
  23. "go_gapic_library",
  24. "go_proto_library",
  25. "go_test",
  26. "java_gapic_assembly_gradle_pkg",
  27. "java_gapic_library",
  28. "java_gapic_test",
  29. "java_grpc_library",
  30. "java_proto_library",
  31. "nodejs_gapic_assembly_pkg",
  32. "nodejs_gapic_library",
  33. "php_gapic_assembly_pkg",
  34. "php_gapic_library",
  35. "php_grpc_library",
  36. "php_proto_library",
  37. "proto_library_with_info",
  38. "py_gapic_assembly_pkg",
  39. "py_gapic_library",
  40. "py_test",
  41. "ruby_cloud_gapic_library",
  42. "ruby_gapic_assembly_pkg",
  43. "ruby_grpc_library",
  44. "ruby_proto_library",
  45. )
  46. # This is an API workspace, having public visibility by default makes perfect sense.
  47. package(default_visibility = ["//visibility:public"])
  48. proto_library(
  49. name = "appgateways_proto",
  50. srcs = [
  51. "app_gateways_service.proto",
  52. ],
  53. deps = [
  54. "//google/api:annotations_proto",
  55. "//google/api:client_proto",
  56. "//google/api:field_behavior_proto",
  57. "//google/api:resource_proto",
  58. "//google/longrunning:operations_proto",
  59. "@com_google_protobuf//:timestamp_proto",
  60. ],
  61. )
  62. proto_library_with_info(
  63. name = "appgateways_proto_with_info",
  64. deps = [
  65. ":appgateways_proto",
  66. "//google/cloud:common_resources_proto",
  67. "//google/cloud/location:location_proto",
  68. "//google/iam/v1:iam_policy_proto",
  69. ],
  70. )
  71. java_proto_library(
  72. name = "appgateways_java_proto",
  73. deps = [":appgateways_proto"],
  74. )
  75. java_grpc_library(
  76. name = "appgateways_java_grpc",
  77. srcs = [":appgateways_proto"],
  78. deps = [":appgateways_java_proto"],
  79. )
  80. java_gapic_library(
  81. name = "appgateways_java_gapic",
  82. srcs = [":appgateways_proto_with_info"],
  83. gapic_yaml = None,
  84. grpc_service_config = "beyondcorp-appgateways_grpc_service_config.json",
  85. rest_numeric_enums = False,
  86. service_yaml = "beyondcorp_v1.yaml",
  87. test_deps = [
  88. ":appgateways_java_grpc",
  89. "//google/cloud/location:location_java_grpc",
  90. "//google/iam/v1:iam_java_grpc",
  91. ],
  92. transport = "grpc",
  93. deps = [
  94. ":appgateways_java_proto",
  95. "//google/api:api_java_proto",
  96. "//google/cloud/location:location_java_proto",
  97. "//google/iam/v1:iam_java_proto",
  98. ],
  99. )
  100. java_gapic_test(
  101. name = "appgateways_java_gapic_test_suite",
  102. test_classes = [
  103. "com.google.cloud.beyondcorp.appgateways.v1.AppGatewaysServiceClientTest",
  104. ],
  105. runtime_deps = [":appgateways_java_gapic_test"],
  106. )
  107. # Open Source Packages
  108. java_gapic_assembly_gradle_pkg(
  109. name = "google-cloud-beyondcorp-appgateways-v1-java",
  110. include_samples = True,
  111. transport = "grpc",
  112. deps = [
  113. ":appgateways_java_gapic",
  114. ":appgateways_java_grpc",
  115. ":appgateways_java_proto",
  116. ":appgateways_proto",
  117. ],
  118. )
  119. go_proto_library(
  120. name = "appgateways_go_proto",
  121. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  122. importpath = "google.golang.org/genproto/googleapis/cloud/beyondcorp/appgateways/v1",
  123. protos = [":appgateways_proto"],
  124. deps = [
  125. "//google/api:annotations_go_proto",
  126. "//google/longrunning:longrunning_go_proto",
  127. ],
  128. )
  129. go_gapic_library(
  130. name = "appgateways_go_gapic",
  131. srcs = [":appgateways_proto_with_info"],
  132. grpc_service_config = "beyondcorp-appgateways_grpc_service_config.json",
  133. importpath = "cloud.google.com/go/beyondcorp/appgateways/apiv1;appgateways",
  134. metadata = True,
  135. rest_numeric_enums = False,
  136. service_yaml = "beyondcorp_v1.yaml",
  137. deps = [
  138. ":appgateways_go_proto",
  139. "//google/cloud/location:location_go_proto",
  140. "//google/iam/v1:iam_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. go_test(
  147. name = "appgateways_go_gapic_test",
  148. srcs = [":appgateways_go_gapic_srcjar_test"],
  149. embed = [":appgateways_go_gapic"],
  150. importpath = "cloud.google.com/go/beyondcorp/appgateways/apiv1",
  151. )
  152. # Open Source Packages
  153. go_gapic_assembly_pkg(
  154. name = "gapi-cloud-beyondcorp-appgateways-v1-go",
  155. deps = [
  156. ":appgateways_go_gapic",
  157. ":appgateways_go_gapic_srcjar-metadata.srcjar",
  158. ":appgateways_go_gapic_srcjar-test.srcjar",
  159. ":appgateways_go_proto",
  160. ],
  161. )
  162. py_gapic_library(
  163. name = "appgateways_py_gapic",
  164. srcs = [":appgateways_proto"],
  165. grpc_service_config = "beyondcorp-appgateways_grpc_service_config.json",
  166. opt_args = [
  167. "warehouse-package-name=google-cloud-beyondcorp-appgateways",
  168. "python-gapic-namespace=google.cloud",
  169. "python-gapic-name=beyondcorp_appgateways",
  170. ],
  171. rest_numeric_enums = False,
  172. service_yaml = "beyondcorp_v1.yaml",
  173. transport = "grpc+rest",
  174. deps = [
  175. "//google/iam/v1:iam_policy_py_proto",
  176. ],
  177. )
  178. py_test(
  179. name = "appgateways_py_gapic_test",
  180. srcs = [
  181. "appgateways_py_gapic_pytest.py",
  182. "appgateways_py_gapic_test.py",
  183. ],
  184. legacy_create_init = False,
  185. deps = [":appgateways_py_gapic"],
  186. )
  187. # Open Source Packages
  188. py_gapic_assembly_pkg(
  189. name = "beyondcorp-appgateways-v1-py",
  190. deps = [
  191. ":appgateways_py_gapic",
  192. ],
  193. )
  194. php_proto_library(
  195. name = "appgateways_php_proto",
  196. deps = [":appgateways_proto"],
  197. )
  198. php_grpc_library(
  199. name = "appgateways_php_grpc",
  200. srcs = [":appgateways_proto"],
  201. deps = [":appgateways_php_proto"],
  202. )
  203. php_gapic_library(
  204. name = "appgateways_php_gapic",
  205. srcs = [":appgateways_proto_with_info"],
  206. grpc_service_config = "beyondcorp-appgateways_grpc_service_config.json",
  207. rest_numeric_enums = False,
  208. service_yaml = "beyondcorp_v1.yaml",
  209. transport = "grpc+rest",
  210. deps = [
  211. ":appgateways_php_grpc",
  212. ":appgateways_php_proto",
  213. ],
  214. )
  215. # Open Source Packages
  216. php_gapic_assembly_pkg(
  217. name = "google-cloud-beyondcorp-appgateways-v1-php",
  218. deps = [
  219. ":appgateways_php_gapic",
  220. ":appgateways_php_grpc",
  221. ":appgateways_php_proto",
  222. ],
  223. )
  224. nodejs_gapic_library(
  225. name = "appgateways_nodejs_gapic",
  226. package_name = "@google-cloud/appgateways",
  227. src = ":appgateways_proto_with_info",
  228. extra_protoc_parameters = ["metadata"],
  229. grpc_service_config = "beyondcorp-appgateways_grpc_service_config.json",
  230. package = "google.cloud.beyondcorp.appgateways.v1",
  231. rest_numeric_enums = False,
  232. service_yaml = "beyondcorp_v1.yaml",
  233. transport = "grpc+rest",
  234. deps = [],
  235. )
  236. nodejs_gapic_assembly_pkg(
  237. name = "beyondcorp-appgateways-v1-nodejs",
  238. deps = [
  239. ":appgateways_nodejs_gapic",
  240. ":appgateways_proto",
  241. ],
  242. )
  243. ruby_proto_library(
  244. name = "appgateways_ruby_proto",
  245. deps = [":appgateways_proto"],
  246. )
  247. ruby_grpc_library(
  248. name = "appgateways_ruby_grpc",
  249. srcs = [":appgateways_proto"],
  250. deps = [":appgateways_ruby_proto"],
  251. )
  252. ruby_cloud_gapic_library(
  253. name = "appgateways_ruby_gapic",
  254. srcs = [":appgateways_proto_with_info"],
  255. extra_protoc_parameters = [
  256. "ruby-cloud-gem-name=google-cloud-beyond_corp-app_gateways-v1",
  257. "ruby-cloud-product-url=https://cloud.google.com/beyondcorp/",
  258. "ruby-cloud-api-id=beyondcorp.googleapis.com",
  259. "ruby-cloud-api-shortname=beyondcorp",
  260. "ruby-cloud-wrapper-gem-override=google-cloud-beyond_corp",
  261. ],
  262. grpc_service_config = "beyondcorp-appgateways_grpc_service_config.json",
  263. rest_numeric_enums = False,
  264. 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.",
  265. ruby_cloud_title = "BeyondCorp AppGateways V1",
  266. service_yaml = "beyondcorp_v1.yaml",
  267. deps = [
  268. ":appgateways_ruby_grpc",
  269. ":appgateways_ruby_proto",
  270. ],
  271. )
  272. # Open Source Packages
  273. ruby_gapic_assembly_pkg(
  274. name = "google-cloud-beyondcorp-appgateways-v1-ruby",
  275. deps = [
  276. ":appgateways_ruby_gapic",
  277. ":appgateways_ruby_grpc",
  278. ":appgateways_ruby_proto",
  279. ],
  280. )
  281. csharp_proto_library(
  282. name = "appgateways_csharp_proto",
  283. deps = [":appgateways_proto"],
  284. )
  285. csharp_grpc_library(
  286. name = "appgateways_csharp_grpc",
  287. srcs = [":appgateways_proto"],
  288. deps = [":appgateways_csharp_proto"],
  289. )
  290. csharp_gapic_library(
  291. name = "appgateways_csharp_gapic",
  292. srcs = [":appgateways_proto_with_info"],
  293. common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
  294. grpc_service_config = "beyondcorp-appgateways_grpc_service_config.json",
  295. rest_numeric_enums = False,
  296. service_yaml = "beyondcorp_v1.yaml",
  297. deps = [
  298. ":appgateways_csharp_grpc",
  299. ":appgateways_csharp_proto",
  300. ],
  301. )
  302. # Open Source Packages
  303. csharp_gapic_assembly_pkg(
  304. name = "google-cloud-beyondcorp-appgateways-v1-csharp",
  305. deps = [
  306. ":appgateways_csharp_gapic",
  307. ":appgateways_csharp_grpc",
  308. ":appgateways_csharp_proto",
  309. ],
  310. )
  311. cc_proto_library(
  312. name = "appgateways_cc_proto",
  313. deps = [":appgateways_proto"],
  314. )
  315. cc_grpc_library(
  316. name = "appgateways_cc_grpc",
  317. srcs = [":appgateways_proto"],
  318. grpc_only = True,
  319. deps = [":appgateways_cc_proto"],
  320. )