google-cloud-policy_troubleshooter-v1 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/policy_troubleshooter/v1/iam_checker/client.rb +15 -0
- data/lib/google/cloud/policy_troubleshooter/v1/version.rb +1 -1
- data/lib/google/cloud/policytroubleshooter/v1/checker_pb.rb +2 -2
- data/lib/google/cloud/policytroubleshooter/v1/checker_services_pb.rb +1 -1
- data/lib/google/cloud/policytroubleshooter/v1/explanations_pb.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 635964024337f90223fb9098ff747d9091765a5a8449b927d5717bc6a4b60c00
|
4
|
+
data.tar.gz: 5bbce2b7e7c250bb4a089e3dd42ae79fe4ad0c071a76607a4db0616d1d50afe1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1fa663c954462fdc934be908a5826f015c78b509c8760d1e804454d24b7a5cda6399aa3b3ba2c811a69a2366f11bdbb45ebffcb3edefe3135cbdeda585fb7e7
|
7
|
+
data.tar.gz: feab98043dc05e27d203bec4a91c9ef1d7d934313294fc76364dce8d1fbb87702efe3008eee6dfbc3fc79bec3fc4e387edd9b4550e88a9b43c081349fc26c44d
|
@@ -182,6 +182,21 @@ module Google
|
|
182
182
|
#
|
183
183
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
184
184
|
#
|
185
|
+
# @example Basic example
|
186
|
+
# require "google/cloud/policy_troubleshooter/v1"
|
187
|
+
#
|
188
|
+
# # Create a client object. The client can be reused for multiple calls.
|
189
|
+
# client = Google::Cloud::PolicyTroubleshooter::V1::IamChecker::Client.new
|
190
|
+
#
|
191
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
192
|
+
# request = Google::Cloud::PolicyTroubleshooter::V1::TroubleshootIamPolicyRequest.new
|
193
|
+
#
|
194
|
+
# # Call the troubleshoot_iam_policy method.
|
195
|
+
# result = client.troubleshoot_iam_policy request
|
196
|
+
#
|
197
|
+
# # The returned object is of type Google::Cloud::PolicyTroubleshooter::V1::TroubleshootIamPolicyResponse.
|
198
|
+
# p result
|
199
|
+
#
|
185
200
|
def troubleshoot_iam_policy request, options = nil
|
186
201
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
187
202
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/policytroubleshooter/v1/checker.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/cloud/policytroubleshooter/v1/explanations_pb'
|
7
5
|
require 'google/api/annotations_pb'
|
8
6
|
require 'google/api/client_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/policytroubleshooter/v1/checker.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyRequest" do
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This service helps you troubleshoot access issues for Google Cloud resources.
|
31
31
|
class Service
|
32
32
|
|
33
|
-
include GRPC::GenericService
|
33
|
+
include ::GRPC::GenericService
|
34
34
|
|
35
35
|
self.marshal_class_method = :encode
|
36
36
|
self.unmarshal_class_method = :decode
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/policytroubleshooter/v1/explanations.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/iam/v1/policy_pb'
|
8
6
|
require 'google/type/expr_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/policytroubleshooter/v1/explanations.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.cloud.policytroubleshooter.v1.AccessTuple" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-policy_troubleshooter-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|