BUILD.bazel 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  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 = "clientconnectorservices_proto",
  50. srcs = [
  51. "client_connector_services_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//:field_mask_proto",
  60. "@com_google_protobuf//:timestamp_proto",
  61. ],
  62. )
  63. proto_library_with_info(
  64. name = "clientconnectorservices_proto_with_info",
  65. deps = [
  66. ":clientconnectorservices_proto",
  67. "//google/cloud:common_resources_proto",
  68. "//google/cloud/location:location_proto",
  69. "//google/iam/v1:iam_policy_proto",
  70. ],
  71. )
  72. java_proto_library(
  73. name = "clientconnectorservices_java_proto",
  74. deps = [":clientconnectorservices_proto"],
  75. )
  76. java_grpc_library(
  77. name = "clientconnectorservices_java_grpc",
  78. srcs = [":clientconnectorservices_proto"],
  79. deps = [":clientconnectorservices_java_proto"],
  80. )
  81. java_gapic_library(
  82. name = "clientconnectorservices_java_gapic",
  83. srcs = [":clientconnectorservices_proto_with_info"],
  84. gapic_yaml = None,
  85. grpc_service_config = "beyondcorp-clientconnectorservices_grpc_service_config.json",
  86. rest_numeric_enums = False,
  87. service_yaml = "beyondcorp_v1.yaml",
  88. test_deps = [
  89. ":clientconnectorservices_java_grpc",
  90. "//google/cloud/location:location_java_grpc",
  91. "//google/iam/v1:iam_java_grpc",
  92. ],
  93. transport = "grpc",
  94. deps = [
  95. ":clientconnectorservices_java_proto",
  96. "//google/api:api_java_proto",
  97. "//google/cloud/location:location_java_proto",
  98. "//google/iam/v1:iam_java_proto",
  99. ],
  100. )
  101. java_gapic_test(
  102. name = "clientconnectorservices_java_gapic_test_suite",
  103. test_classes = [
  104. "com.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesServiceClientTest",
  105. ],
  106. runtime_deps = [":clientconnectorservices_java_gapic_test"],
  107. )
  108. # Open Source Packages
  109. java_gapic_assembly_gradle_pkg(
  110. name = "google-cloud-beyondcorp-clientconnectorservices-v1-java",
  111. include_samples = True,
  112. transport = "grpc",
  113. deps = [
  114. ":clientconnectorservices_java_gapic",
  115. ":clientconnectorservices_java_grpc",
  116. ":clientconnectorservices_java_proto",
  117. ":clientconnectorservices_proto",
  118. ],
  119. )
  120. go_proto_library(
  121. name = "clientconnectorservices_go_proto",
  122. compilers = ["@io_bazel_rules_go//proto:go_grpc"],
  123. importpath = "google.golang.org/genproto/googleapis/cloud/beyondcorp/clientconnectorservices/v1",
  124. protos = [":clientconnectorservices_proto"],
  125. deps = [
  126. "//google/api:annotations_go_proto",
  127. "//google/longrunning:longrunning_go_proto",
  128. ],
  129. )
  130. go_gapic_library(
  131. name = "clientconnectorservices_go_gapic",
  132. srcs = [":clientconnectorservices_proto_with_info"],
  133. grpc_service_config = "beyondcorp-clientconnectorservices_grpc_service_config.json",
  134. importpath = "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1;clientconnectorservices",
  135. metadata = True,
  136. rest_numeric_enums = False,
  137. service_yaml = "beyondcorp_v1.yaml",
  138. deps = [
  139. ":clientconnectorservices_go_proto",
  140. "//google/cloud/location:location_go_proto",
  141. "//google/iam/v1:iam_go_proto",
  142. "//google/longrunning:longrunning_go_proto",
  143. "@com_google_cloud_go//longrunning:go_default_library",
  144. "@com_google_cloud_go//longrunning/autogen:go_default_library",
  145. ],
  146. )
  147. go_test(
  148. name = "clientconnectorservices_go_gapic_test",
  149. srcs = [":clientconnectorservices_go_gapic_srcjar_test"],
  150. embed = [":clientconnectorservices_go_gapic"],
  151. importpath = "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1",
  152. )
  153. # Open Source Packages
  154. go_gapic_assembly_pkg(
  155. name = "gapi-cloud-beyondcorp-clientconnectorservices-v1-go",
  156. deps = [
  157. ":clientconnectorservices_go_gapic",
  158. ":clientconnectorservices_go_gapic_srcjar-metadata.srcjar",
  159. ":clientconnectorservices_go_gapic_srcjar-test.srcjar",
  160. ":clientconnectorservices_go_proto",
  161. ],
  162. )
  163. py_gapic_library(
  164. name = "clientconnectorservices_py_gapic",
  165. srcs = [":clientconnectorservices_proto"],
  166. grpc_service_config = "beyondcorp-clientconnectorservices_grpc_service_config.json",
  167. opt_args = [
  168. "warehouse-package-name=google-cloud-beyondcorp-clientconnectorservices",
  169. "python-gapic-namespace=google.cloud",
  170. "python-gapic-name=beyondcorp_clientconnectorservices",
  171. ],
  172. rest_numeric_enums = False,
  173. service_yaml = "beyondcorp_v1.yaml",
  174. transport = "grpc+rest",
  175. deps = [
  176. "//google/iam/v1:iam_policy_py_proto",
  177. ],
  178. )
  179. py_test(
  180. name = "clientconnectorservices_py_gapic_test",
  181. srcs = [
  182. "clientconnectorservices_py_gapic_pytest.py",
  183. "clientconnectorservices_py_gapic_test.py",
  184. ],
  185. legacy_create_init = False,
  186. deps = [":clientconnectorservices_py_gapic"],
  187. )
  188. # Open Source Packages
  189. py_gapic_assembly_pkg(
  190. name = "beyondcorp-clientconnectorservices-v1-py",
  191. deps = [
  192. ":clientconnectorservices_py_gapic",
  193. ],
  194. )
  195. php_proto_library(
  196. name = "clientconnectorservices_php_proto",
  197. deps = [":clientconnectorservices_proto"],
  198. )
  199. php_grpc_library(
  200. name = "clientconnectorservices_php_grpc",
  201. srcs = [":clientconnectorservices_proto"],
  202. deps = [":clientconnectorservices_php_proto"],
  203. )
  204. php_gapic_library(
  205. name = "clientconnectorservices_php_gapic",
  206. srcs = [":clientconnectorservices_proto_with_info"],
  207. grpc_service_config = "beyondcorp-clientconnectorservices_grpc_service_config.json",
  208. rest_numeric_enums = False,
  209. service_yaml = "beyondcorp_v1.yaml",
  210. transport = "grpc+rest",
  211. deps = [
  212. ":clientconnectorservices_php_grpc",
  213. ":clientconnectorservices_php_proto",
  214. ],
  215. )
  216. # Open Source Packages
  217. php_gapic_assembly_pkg(
  218. name = "google-cloud-beyondcorp-clientconnectorservices-v1-php",
  219. deps = [
  220. ":clientconnectorservices_php_gapic",
  221. ":clientconnectorservices_php_grpc",
  222. ":clientconnectorservices_php_proto",
  223. ],
  224. )
  225. nodejs_gapic_library(
  226. name = "clientconnectorservices_nodejs_gapic",
  227. package_name = "@google-cloud/clientconnectorservices",
  228. src = ":clientconnectorservices_proto_with_info",
  229. extra_protoc_parameters = ["metadata"],
  230. grpc_service_config = "beyondcorp-clientconnectorservices_grpc_service_config.json",
  231. package = "google.cloud.beyondcorp.clientconnectorservices.v1",
  232. rest_numeric_enums = False,
  233. service_yaml = "beyondcorp_v1.yaml",
  234. transport = "grpc+rest",
  235. deps = [],
  236. )
  237. nodejs_gapic_assembly_pkg(
  238. name = "beyondcorp-clientconnectorservices-v1-nodejs",
  239. deps = [
  240. ":clientconnectorservices_nodejs_gapic",
  241. ":clientconnectorservices_proto",
  242. ],
  243. )
  244. ruby_proto_library(
  245. name = "clientconnectorservices_ruby_proto",
  246. deps = [":clientconnectorservices_proto"],
  247. )
  248. ruby_grpc_library(
  249. name = "clientconnectorservices_ruby_grpc",
  250. srcs = [":clientconnectorservices_proto"],
  251. deps = [":clientconnectorservices_ruby_proto"],
  252. )
  253. ruby_cloud_gapic_library(
  254. name = "clientconnectorservices_ruby_gapic",
  255. srcs = [":clientconnectorservices_proto_with_info"],
  256. extra_protoc_parameters = [
  257. "ruby-cloud-gem-name=google-cloud-beyond_corp-client_connector_services-v1",
  258. "ruby-cloud-product-url=https://cloud.google.com/beyondcorp/",
  259. "ruby-cloud-api-id=beyondcorp.googleapis.com",
  260. "ruby-cloud-api-shortname=beyondcorp",
  261. "ruby-cloud-wrapper-gem-override=google-cloud-beyond_corp",
  262. ],
  263. grpc_service_config = "beyondcorp-clientconnectorservices_grpc_service_config.json",
  264. rest_numeric_enums = False,
  265. 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.",
  266. ruby_cloud_title = "BeyondCorp ClientConnectorServices V1",
  267. service_yaml = "beyondcorp_v1.yaml",
  268. deps = [
  269. ":clientconnectorservices_ruby_grpc",
  270. ":clientconnectorservices_ruby_proto",
  271. ],
  272. )
  273. # Open Source Packages
  274. ruby_gapic_assembly_pkg(
  275. name = "google-cloud-beyondcorp-clientconnectorservices-v1-ruby",
  276. deps = [
  277. ":clientconnectorservices_ruby_gapic",
  278. ":clientconnectorservices_ruby_grpc",
  279. ":clientconnectorservices_ruby_proto",
  280. ],
  281. )
  282. csharp_proto_library(
  283. name = "clientconnectorservices_csharp_proto",
  284. deps = [":clientconnectorservices_proto"],
  285. )
  286. csharp_grpc_library(
  287. name = "clientconnectorservices_csharp_grpc",
  288. srcs = [":clientconnectorservices_proto"],
  289. deps = [":clientconnectorservices_csharp_proto"],
  290. )
  291. csharp_gapic_library(
  292. name = "clientconnectorservices_csharp_gapic",
  293. srcs = [":clientconnectorservices_proto_with_info"],
  294. common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
  295. grpc_service_config = "beyondcorp-clientconnectorservices_grpc_service_config.json",
  296. rest_numeric_enums = False,
  297. service_yaml = "beyondcorp_v1.yaml",
  298. deps = [
  299. ":clientconnectorservices_csharp_grpc",
  300. ":clientconnectorservices_csharp_proto",
  301. ],
  302. )
  303. # Open Source Packages
  304. csharp_gapic_assembly_pkg(
  305. name = "google-cloud-beyondcorp-clientconnectorservices-v1-csharp",
  306. deps = [
  307. ":clientconnectorservices_csharp_gapic",
  308. ":clientconnectorservices_csharp_grpc",
  309. ":clientconnectorservices_csharp_proto",
  310. ],
  311. )
  312. cc_proto_library(
  313. name = "clientconnectorservices_cc_proto",
  314. deps = [":clientconnectorservices_proto"],
  315. )
  316. cc_grpc_library(
  317. name = "clientconnectorservices_cc_grpc",
  318. srcs = [":clientconnectorservices_proto"],
  319. grpc_only = True,
  320. deps = [":clientconnectorservices_cc_proto"],
  321. )