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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fba3722c05311170e998e42108a39ce0b0e2200f173bbea75bf0765cce2793b
4
- data.tar.gz: ce43b163d0857f59eb37bb05289f8709242df0b6e8417305949e973df7dde959
3
+ metadata.gz: 635964024337f90223fb9098ff747d9091765a5a8449b927d5717bc6a4b60c00
4
+ data.tar.gz: 5bbce2b7e7c250bb4a089e3dd42ae79fe4ad0c071a76607a4db0616d1d50afe1
5
5
  SHA512:
6
- metadata.gz: 0ae71424de11225b605bb38f51752b0d7b4ceba3bfaa9075a9e41ddcb8d1637952c8d2d81facac1df30bf3dc4254f81b1ea79869cdef9f8963e15fbb4219e212
7
- data.tar.gz: d76d999ef6bb47f43822b6323a0a023872a957adcfe9298e87aabfd499a19214bac09f60100aeeeb369b6a71a270e97c7e6db605ac9a29dad1665ddcf37fff60
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
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PolicyTroubleshooter
23
23
  module V1
24
- VERSION = "0.3.3"
24
+ VERSION = "0.3.4"
25
25
  end
26
26
  end
27
27
  end
@@ -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.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 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common