11# This file was automatically generated by BuildFileGenerator
2- # https://github.com/googleapis/gapic-generator /tree/master/rules_gapic /bazel
2+ # https://github.com/googleapis/rules_gapic /tree/master/bazel
33
44# Most of the manual changes to this file will be overwritten.
55# It's **only** allowed to change the following rule attribute values:
@@ -44,59 +44,58 @@ proto_library_with_info(
4444##############################################################################
4545# Java
4646##############################################################################
47- # load(
48- # "@com_google_googleapis_imports//:imports.bzl",
49- # "java_gapic_assembly_gradle_pkg",
50- # "java_gapic_library",
51- # "java_gapic_test",
52- # "java_grpc_library",
53- # "java_proto_library",
54- # )
55-
56- # java_proto_library(
57- # name = "policytroubleshooter_java_proto",
58- # deps = [":policytroubleshooter_proto"],
59- # )
60-
61- # java_grpc_library(
62- # name = "policytroubleshooter_java_grpc",
63- # srcs = [":policytroubleshooter_proto"],
64- # deps = [":policytroubleshooter_java_proto"],
65- # )
66-
67- # java_gapic_library(
68- # name = "policytroubleshooter_java_gapic",
69- # srcs = [":policytroubleshooter_proto_with_info"],
70- # grpc_service_config = "checker_grpc_service_config.json",
71- # package = "google.cloud.policytroubleshooter.v1",
72- # test_deps = [
73- # ":policytroubleshooter_java_grpc",
74- # "//google/iam/v1:iam_java_grpc",
75- # ],
76- # deps = [
77- # ":policytroubleshooter_java_proto",
78- # "//google/iam/v1:iam_java_proto",
79- # ],
80- # )
81-
82- # java_gapic_test(
83- # name = "policytroubleshooter_java_gapic_test_suite",
84- # test_classes = [
85-
86- # ],
87- # runtime_deps = [":policytroubleshooter_java_gapic_test"],
88- # )
89-
90- # # Open Source Packages
91- # java_gapic_assembly_gradle_pkg(
92- # name = "google-cloud-policytroubleshooter-v1-java",
93- # deps = [
94- # ":policytroubleshooter_java_gapic",
95- # ":policytroubleshooter_java_grpc",
96- # ":policytroubleshooter_java_proto",
97- # ":policytroubleshooter_proto",
98- # ],
99- # )
47+ load (
48+ "@com_google_googleapis_imports//:imports.bzl" ,
49+ "java_gapic_assembly_gradle_pkg" ,
50+ "java_gapic_library" ,
51+ "java_gapic_test" ,
52+ "java_grpc_library" ,
53+ "java_proto_library" ,
54+ )
55+
56+ java_proto_library (
57+ name = "policytroubleshooter_java_proto" ,
58+ deps = [":policytroubleshooter_proto" ],
59+ )
60+
61+ java_grpc_library (
62+ name = "policytroubleshooter_java_grpc" ,
63+ srcs = [":policytroubleshooter_proto" ],
64+ deps = [":policytroubleshooter_java_proto" ],
65+ )
66+
67+ java_gapic_library (
68+ name = "policytroubleshooter_java_gapic" ,
69+ srcs = [":policytroubleshooter_proto_with_info" ],
70+ grpc_service_config = "checker_grpc_service_config.json" ,
71+ test_deps = [
72+ ":policytroubleshooter_java_grpc" ,
73+ "//google/iam/v1:iam_java_grpc" ,
74+ ],
75+ deps = [
76+ ":policytroubleshooter_java_proto" ,
77+ "//google/iam/v1:iam_java_proto" ,
78+ ],
79+ )
80+
81+ java_gapic_test (
82+ name = "policytroubleshooter_java_gapic_test_suite" ,
83+ test_classes = [
84+ "com.google.cloud.policytroubleshooter.v1.IamCheckerClientTest" ,
85+ ],
86+ runtime_deps = [":policytroubleshooter_java_gapic_test" ],
87+ )
88+
89+ # Open Source Packages
90+ java_gapic_assembly_gradle_pkg (
91+ name = "google-cloud-policytroubleshooter-v1-java" ,
92+ deps = [
93+ ":policytroubleshooter_java_gapic" ,
94+ ":policytroubleshooter_java_grpc" ,
95+ ":policytroubleshooter_java_proto" ,
96+ ":policytroubleshooter_proto" ,
97+ ],
98+ )
10099
101100##############################################################################
102101# Go
@@ -251,8 +250,8 @@ nodejs_gapic_assembly_pkg(
251250##############################################################################
252251load (
253252 "@com_google_googleapis_imports//:imports.bzl" ,
254- "ruby_gapic_assembly_pkg" ,
255253 "ruby_cloud_gapic_library" ,
254+ "ruby_gapic_assembly_pkg" ,
256255 "ruby_grpc_library" ,
257256 "ruby_proto_library" ,
258257)
@@ -272,11 +271,11 @@ ruby_cloud_gapic_library(
272271 name = "policytroubleshooter_ruby_gapic" ,
273272 srcs = [":policytroubleshooter_proto_with_info" ],
274273 extra_protoc_parameters = [
275- "ruby-cloud-gem-name=google-cloud-policy_troubleshooter-v1" ,
276- "ruby-cloud-env-prefix=POLICY_TROUBLESHOOTER" ,
277- "ruby-cloud-product-url=https://cloud.google.com/iam/docs/troubleshooting-access" ,
278274 "ruby-cloud-api-id=policytroubleshooter.googleapis.com" ,
279275 "ruby-cloud-api-shortname=policytroubleshooter" ,
276+ "ruby-cloud-env-prefix=POLICY_TROUBLESHOOTER" ,
277+ "ruby-cloud-gem-name=google-cloud-policy_troubleshooter-v1" ,
278+ "ruby-cloud-product-url=https://cloud.google.com/iam/docs/troubleshooting-access" ,
280279 ],
281280 grpc_service_config = "checker_grpc_service_config.json" ,
282281 ruby_cloud_description = "Policy Troubleshooter makes it easier to understand why a user has access to a resource or doesn't have permission to call an API. Given an email, resource, and permission, Policy Troubleshooter will examine all IAM policies that apply to the resource. It then reveals whether the member's roles include the permission on that resource and, if so, which policies bind the member to those roles." ,
0 commit comments