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 = "phishingprotection_proto", 14 srcs = [ 15 "phishingprotection.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 ], 23) 24 25proto_library_with_info( 26 name = "phishingprotection_proto_with_info", 27 deps = [ 28 ":phishingprotection_proto", 29 "//google/cloud:common_resources_proto", 30 ], 31) 32 33############################################################################## 34# Java 35############################################################################## 36load( 37 "@com_google_googleapis_imports//:imports.bzl", 38 "java_gapic_assembly_gradle_pkg", 39 "java_gapic_library", 40 "java_gapic_test", 41 "java_grpc_library", 42 "java_proto_library", 43) 44 45java_proto_library( 46 name = "phishingprotection_java_proto", 47 deps = [":phishingprotection_proto"], 48) 49 50java_grpc_library( 51 name = "phishingprotection_java_grpc", 52 srcs = [":phishingprotection_proto"], 53 deps = [":phishingprotection_java_proto"], 54) 55 56java_gapic_library( 57 name = "phishingprotection_java_gapic", 58 srcs = [":phishingprotection_proto_with_info"], 59 gapic_yaml = "phishingprotection_gapic.yaml", 60 grpc_service_config = "phishingprotection_grpc_service_config.json", 61 rest_numeric_enums = True, 62 service_yaml = "phishingprotection_v1beta1.yaml", 63 test_deps = [ 64 ":phishingprotection_java_grpc", 65 ], 66 transport = "grpc+rest", 67 deps = [ 68 ":phishingprotection_java_proto", 69 ], 70) 71 72java_gapic_test( 73 name = "phishingprotection_java_gapic_test_suite", 74 test_classes = [ 75 "com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1ClientHttpJsonTest", 76 "com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1ClientTest", 77 ], 78 runtime_deps = [":phishingprotection_java_gapic_test"], 79) 80 81# Open Source Packages 82java_gapic_assembly_gradle_pkg( 83 name = "google-cloud-phishingprotection-v1beta1-java", 84 include_samples = True, 85 transport = "grpc+rest", 86 deps = [ 87 ":phishingprotection_java_gapic", 88 ":phishingprotection_java_grpc", 89 ":phishingprotection_java_proto", 90 ":phishingprotection_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 = "phishingprotection_go_proto", 106 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 107 importpath = "cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb", 108 protos = [":phishingprotection_proto"], 109 deps = [ 110 "//google/api:annotations_go_proto", 111 ], 112) 113 114go_gapic_library( 115 name = "phishingprotection_go_gapic", 116 srcs = [":phishingprotection_proto_with_info"], 117 grpc_service_config = "phishingprotection_grpc_service_config.json", 118 importpath = "cloud.google.com/go/phishingprotection/apiv1beta1;phishingprotection", 119 metadata = True, 120 release_level = "beta", 121 rest_numeric_enums = True, 122 service_yaml = "phishingprotection_v1beta1.yaml", 123 transport = "grpc+rest", 124 deps = [ 125 ":phishingprotection_go_proto", 126 ], 127) 128 129# Open Source Packages 130go_gapic_assembly_pkg( 131 name = "gapi-cloud-phishingprotection-v1beta1-go", 132 deps = [ 133 ":phishingprotection_go_gapic", 134 ":phishingprotection_go_gapic_srcjar-snippets.srcjar", 135 ":phishingprotection_go_gapic_srcjar-test.srcjar", 136 ":phishingprotection_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 = "phishingprotection_py_gapic", 152 srcs = [":phishingprotection_proto"], 153 grpc_service_config = "phishingprotection_grpc_service_config.json", 154 opt_args = [ 155 "warehouse-package-name=google-cloud-phishing-protection", 156 ], 157 rest_numeric_enums = True, 158 service_yaml = "phishingprotection_v1beta1.yaml", 159 transport = "grpc+rest", 160) 161 162py_test( 163 name = "phishingprotection_py_gapic_test", 164 srcs = [ 165 "phishingprotection_py_gapic_pytest.py", 166 "phishingprotection_py_gapic_test.py", 167 ], 168 legacy_create_init = False, 169 deps = [":phishingprotection_py_gapic"], 170) 171 172py_gapic_assembly_pkg( 173 name = "phishingprotection-v1beta1-py", 174 deps = [ 175 ":phishingprotection_py_gapic", 176 ], 177) 178 179############################################################################## 180# PHP 181############################################################################## 182load( 183 "@com_google_googleapis_imports//:imports.bzl", 184 "php_gapic_assembly_pkg", 185 "php_gapic_library", 186 "php_proto_library", 187) 188 189php_proto_library( 190 name = "phishingprotection_php_proto", 191 deps = [":phishingprotection_proto"], 192) 193 194php_gapic_library( 195 name = "phishingprotection_php_gapic", 196 srcs = [":phishingprotection_proto_with_info"], 197 grpc_service_config = "phishingprotection_grpc_service_config.json", 198 rest_numeric_enums = True, 199 service_yaml = "phishingprotection_v1beta1.yaml", 200 transport = "grpc+rest", 201 deps = [":phishingprotection_php_proto"], 202) 203 204# Open Source Packages 205php_gapic_assembly_pkg( 206 name = "google-cloud-phishingprotection-v1beta1-php", 207 deps = [ 208 ":phishingprotection_php_gapic", 209 ":phishingprotection_php_proto", 210 ], 211) 212 213############################################################################## 214# Node.js 215############################################################################## 216load( 217 "@com_google_googleapis_imports//:imports.bzl", 218 "nodejs_gapic_assembly_pkg", 219 "nodejs_gapic_library", 220) 221 222nodejs_gapic_library( 223 name = "phishingprotection_nodejs_gapic", 224 package_name = "@google-cloud/phishing-protection", 225 src = ":phishingprotection_proto_with_info", 226 extra_protoc_parameters = ["metadata"], 227 grpc_service_config = "phishingprotection_grpc_service_config.json", 228 package = "google.cloud.phishingprotection.v1beta1", 229 rest_numeric_enums = True, 230 service_yaml = "phishingprotection_v1beta1.yaml", 231 transport = "grpc+rest", 232 deps = [], 233) 234 235nodejs_gapic_assembly_pkg( 236 name = "phishingprotection-v1beta1-nodejs", 237 deps = [ 238 ":phishingprotection_nodejs_gapic", 239 ":phishingprotection_proto", 240 ], 241) 242 243############################################################################## 244# Ruby 245############################################################################## 246load( 247 "@com_google_googleapis_imports//:imports.bzl", 248 "ruby_cloud_gapic_library", 249 "ruby_gapic_assembly_pkg", 250 "ruby_grpc_library", 251 "ruby_proto_library", 252) 253 254ruby_proto_library( 255 name = "phishingprotection_ruby_proto", 256 deps = [":phishingprotection_proto"], 257) 258 259ruby_grpc_library( 260 name = "phishingprotection_ruby_grpc", 261 srcs = [":phishingprotection_proto"], 262 deps = [":phishingprotection_ruby_proto"], 263) 264 265ruby_cloud_gapic_library( 266 name = "phishingprotection_ruby_gapic", 267 srcs = [":phishingprotection_proto_with_info"], 268 extra_protoc_parameters = [ 269 "ruby-cloud-gem-name=google-cloud-phishing_protection-v1beta1", 270 "ruby-cloud-env-prefix=PHISHING_PROTECTION", 271 "ruby-cloud-product-url=https://cloud.google.com/phishing-protection", 272 "ruby-cloud-api-id=phishingprotection.googleapis.com", 273 "ruby-cloud-api-shortname=phishingprotection", 274 "ruby-cloud-service-override=PhishingProtectionServiceV1Beta1=PhishingProtectionService", 275 ], 276 grpc_service_config = "phishingprotection_grpc_service_config.json", 277 rest_numeric_enums = True, 278 ruby_cloud_description = "Phishing Protection helps prevent users from accessing phishing sites by identifying various signals associated with malicious content, including the use of your brand assets, classifying malicious content that uses your brand and reporting the unsafe URLs to Google Safe Browsing.", 279 ruby_cloud_title = "Phishing Protection V1beta1", 280 service_yaml = "phishingprotection_v1beta1.yaml", 281 transport = "grpc+rest", 282 deps = [ 283 ":phishingprotection_ruby_grpc", 284 ":phishingprotection_ruby_proto", 285 ], 286) 287 288# Open Source Packages 289ruby_gapic_assembly_pkg( 290 name = "google-cloud-phishingprotection-v1beta1-ruby", 291 deps = [ 292 ":phishingprotection_ruby_gapic", 293 ":phishingprotection_ruby_grpc", 294 ":phishingprotection_ruby_proto", 295 ], 296) 297 298############################################################################## 299# C# 300############################################################################## 301load( 302 "@com_google_googleapis_imports//:imports.bzl", 303 "csharp_gapic_assembly_pkg", 304 "csharp_gapic_library", 305 "csharp_grpc_library", 306 "csharp_proto_library", 307) 308 309csharp_proto_library( 310 name = "phishingprotection_csharp_proto", 311 deps = [":phishingprotection_proto"], 312) 313 314csharp_grpc_library( 315 name = "phishingprotection_csharp_grpc", 316 srcs = [":phishingprotection_proto"], 317 deps = [":phishingprotection_csharp_proto"], 318) 319 320csharp_gapic_library( 321 name = "phishingprotection_csharp_gapic", 322 srcs = [":phishingprotection_proto_with_info"], 323 common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", 324 grpc_service_config = "phishingprotection_grpc_service_config.json", 325 rest_numeric_enums = True, 326 service_yaml = "phishingprotection_v1beta1.yaml", 327 transport = "grpc+rest", 328 deps = [ 329 ":phishingprotection_csharp_grpc", 330 ":phishingprotection_csharp_proto", 331 ], 332) 333 334# Open Source Packages 335csharp_gapic_assembly_pkg( 336 name = "google-cloud-phishingprotection-v1beta1-csharp", 337 deps = [ 338 ":phishingprotection_csharp_gapic", 339 ":phishingprotection_csharp_grpc", 340 ":phishingprotection_csharp_proto", 341 ], 342) 343 344############################################################################## 345# C++ 346############################################################################## 347# Put your C++ rules here 348