google-apis-policytroubleshooter_v1 0.4.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/policytroubleshooter_v1/classes.rb +43 -38
- data/lib/google/apis/policytroubleshooter_v1/gem_version.rb +3 -3
- data/lib/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/lib/google/apis/policytroubleshooter_v1.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f26db5da76d052995a8ea4ba99e88212caf883aef58eb373fef876b5aafc96a4
|
4
|
+
data.tar.gz: 194b78b8c2ed9d1a6acff3e2b9c546ac98b2706ee16c580bed5230d7f3c28f10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ac6a62144c8a2fb67379aaafc6e12ba975f326123a5ab4d895fbb01281d21bce2f25cf913b5cf551b6c48a12b1e6445d9155ae0515277d4396d6e54d57aa5a7
|
7
|
+
data.tar.gz: 9c916464de6ef35263ea90274f0ad5738c5d9e0068c1277c3d8c582b10f9208e5955b7d14eab22d3ad4f12c46886b65ecfed7ef9b9190cd7f393c51926b12e23
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-policytroubleshooter_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-10-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211002
|
6
|
+
|
7
|
+
### v0.7.0 (2021-09-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210813
|
10
|
+
|
11
|
+
### v0.6.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.4.0
|
14
|
+
|
15
|
+
### v0.5.0 (2021-06-24)
|
16
|
+
|
17
|
+
* Regenerated using generator version 0.3.0
|
18
|
+
|
3
19
|
### v0.4.0 (2021-05-19)
|
4
20
|
|
5
21
|
* Unspecified changes
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module PolicytroubleshooterV1
|
24
24
|
|
25
|
-
# Information about the
|
25
|
+
# Information about the principal, resource, and permission to check.
|
26
26
|
class GoogleCloudPolicytroubleshooterV1AccessTuple
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
@@ -34,7 +34,7 @@ module Google
|
|
34
34
|
# @return [String]
|
35
35
|
attr_accessor :full_resource_name
|
36
36
|
|
37
|
-
# Required. The IAM permission to check for the specified
|
37
|
+
# Required. The IAM permission to check for the specified principal and resource.
|
38
38
|
# For a complete list of IAM permissions, see https://cloud.google.com/iam/help/
|
39
39
|
# permissions/reference. For a complete list of predefined IAM roles and the
|
40
40
|
# permissions in each role, see https://cloud.google.com/iam/help/roles/
|
@@ -43,11 +43,11 @@ module Google
|
|
43
43
|
# @return [String]
|
44
44
|
attr_accessor :permission
|
45
45
|
|
46
|
-
# Required. The
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
46
|
+
# Required. The principal whose access you want to check, in the form of the
|
47
|
+
# email address that represents that principal. For example, `alice@example.com`
|
48
|
+
# or `my-service-account@my-project.iam.gserviceaccount.com`. The principal must
|
49
|
+
# be a Google Account or a service account. Other types of principals are not
|
50
|
+
# supported.
|
51
51
|
# Corresponds to the JSON property `principal`
|
52
52
|
# @return [String]
|
53
53
|
attr_accessor :principal
|
@@ -64,17 +64,17 @@ module Google
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
|
-
# Details about how a binding in a policy affects a
|
67
|
+
# Details about how a binding in a policy affects a principal's ability to use a
|
68
68
|
# permission.
|
69
69
|
class GoogleCloudPolicytroubleshooterV1BindingExplanation
|
70
70
|
include Google::Apis::Core::Hashable
|
71
71
|
|
72
72
|
# Required. Indicates whether _this binding_ provides the specified permission
|
73
|
-
# to the specified
|
74
|
-
# indicate whether the
|
73
|
+
# to the specified principal for the specified resource. This field does _not_
|
74
|
+
# indicate whether the principal actually has the permission for the resource.
|
75
75
|
# There might be another binding that overrides this binding. To determine
|
76
|
-
# whether the
|
77
|
-
# TroubleshootIamPolicyResponse.
|
76
|
+
# whether the principal actually has the permission, use the `access` field in
|
77
|
+
# the TroubleshootIamPolicyResponse.
|
78
78
|
# Corresponds to the JSON property `access`
|
79
79
|
# @return [String]
|
80
80
|
attr_accessor :access
|
@@ -98,17 +98,17 @@ module Google
|
|
98
98
|
# @return [Google::Apis::PolicytroubleshooterV1::GoogleTypeExpr]
|
99
99
|
attr_accessor :condition
|
100
100
|
|
101
|
-
# Indicates whether each
|
102
|
-
# the request, either directly or indirectly. Each key identifies a
|
103
|
-
# the binding, and each value indicates whether the
|
104
|
-
# includes the
|
105
|
-
# includes the following
|
106
|
-
# eng@example.com` You want to troubleshoot access for `user:bob@example.
|
107
|
-
# This user is a
|
108
|
-
# first
|
109
|
-
# membership` field in the value is set to `MEMBERSHIP_NOT_INCLUDED`.
|
110
|
-
# second
|
111
|
-
# the `membership` field in the value is set to `MEMBERSHIP_INCLUDED`.
|
101
|
+
# Indicates whether each principal in the binding includes the principal
|
102
|
+
# specified in the request, either directly or indirectly. Each key identifies a
|
103
|
+
# principal in the binding, and each value indicates whether the principal in
|
104
|
+
# the binding includes the principal in the request. For example, suppose that a
|
105
|
+
# binding includes the following principals: * `user:alice@example.com` * `group:
|
106
|
+
# product-eng@example.com` You want to troubleshoot access for `user:bob@example.
|
107
|
+
# com`. This user is a principal of the group `group:product-eng@example.com`.
|
108
|
+
# For the first principal in the binding, the key is `user:alice@example.com`,
|
109
|
+
# and the `membership` field in the value is set to `MEMBERSHIP_NOT_INCLUDED`.
|
110
|
+
# For the second principal in the binding, the key is `group:product-eng@example.
|
111
|
+
# com`, and the `membership` field in the value is set to `MEMBERSHIP_INCLUDED`.
|
112
112
|
# Corresponds to the JSON property `memberships`
|
113
113
|
# @return [Hash<String,Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership>]
|
114
114
|
attr_accessor :memberships
|
@@ -154,16 +154,16 @@ module Google
|
|
154
154
|
end
|
155
155
|
end
|
156
156
|
|
157
|
-
# Details about whether the binding includes the
|
157
|
+
# Details about whether the binding includes the principal.
|
158
158
|
class GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership
|
159
159
|
include Google::Apis::Core::Hashable
|
160
160
|
|
161
|
-
# Indicates whether the binding includes the
|
161
|
+
# Indicates whether the binding includes the principal.
|
162
162
|
# Corresponds to the JSON property `membership`
|
163
163
|
# @return [String]
|
164
164
|
attr_accessor :membership
|
165
165
|
|
166
|
-
# The relevance of the
|
166
|
+
# The relevance of the principal's status to the overall determination for the
|
167
167
|
# binding.
|
168
168
|
# Corresponds to the JSON property `relevance`
|
169
169
|
# @return [String]
|
@@ -185,17 +185,17 @@ module Google
|
|
185
185
|
include Google::Apis::Core::Hashable
|
186
186
|
|
187
187
|
# Indicates whether _this policy_ provides the specified permission to the
|
188
|
-
# specified
|
189
|
-
# whether the
|
190
|
-
# be another policy that overrides this policy. To determine whether the
|
191
|
-
# actually has the permission, use the `access` field in the
|
188
|
+
# specified principal for the specified resource. This field does _not_ indicate
|
189
|
+
# whether the principal actually has the permission for the resource. There
|
190
|
+
# might be another policy that overrides this policy. To determine whether the
|
191
|
+
# principal actually has the permission, use the `access` field in the
|
192
192
|
# TroubleshootIamPolicyResponse.
|
193
193
|
# Corresponds to the JSON property `access`
|
194
194
|
# @return [String]
|
195
195
|
attr_accessor :access
|
196
196
|
|
197
|
-
# Details about how each binding in the policy affects the
|
198
|
-
# inability, to use the permission for the resource. If the sender of the
|
197
|
+
# Details about how each binding in the policy affects the principal's ability,
|
198
|
+
# or inability, to use the permission for the resource. If the sender of the
|
199
199
|
# request does not have access to the policy, this field is omitted.
|
200
200
|
# Corresponds to the JSON property `bindingExplanations`
|
201
201
|
# @return [Array<Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1BindingExplanation>]
|
@@ -234,7 +234,7 @@ module Google
|
|
234
234
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
235
235
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
236
236
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
237
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
237
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
238
238
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
239
239
|
# google.com/iam/docs/).
|
240
240
|
# Corresponds to the JSON property `policy`
|
@@ -266,7 +266,7 @@ module Google
|
|
266
266
|
class GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest
|
267
267
|
include Google::Apis::Core::Hashable
|
268
268
|
|
269
|
-
# Information about the
|
269
|
+
# Information about the principal, resource, and permission to check.
|
270
270
|
# Corresponds to the JSON property `accessTuple`
|
271
271
|
# @return [Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1AccessTuple]
|
272
272
|
attr_accessor :access_tuple
|
@@ -285,13 +285,13 @@ module Google
|
|
285
285
|
class GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyResponse
|
286
286
|
include Google::Apis::Core::Hashable
|
287
287
|
|
288
|
-
# Indicates whether the
|
288
|
+
# Indicates whether the principal has the specified permission for the specified
|
289
289
|
# resource, based on evaluating all of the applicable IAM policies.
|
290
290
|
# Corresponds to the JSON property `access`
|
291
291
|
# @return [String]
|
292
292
|
attr_accessor :access
|
293
293
|
|
294
|
-
# List of IAM policies that were evaluated to check the
|
294
|
+
# List of IAM policies that were evaluated to check the principal's permissions,
|
295
295
|
# with annotations to indicate how each policy contributed to the final result.
|
296
296
|
# The list of policies can include the policy for the resource itself. It can
|
297
297
|
# also include policies that are inherited from higher levels of the resource
|
@@ -479,7 +479,7 @@ module Google
|
|
479
479
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
480
480
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
481
481
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
482
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
482
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
483
483
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
484
484
|
# google.com/iam/docs/).
|
485
485
|
class GoogleIamV1Policy
|
@@ -492,7 +492,12 @@ module Google
|
|
492
492
|
|
493
493
|
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
494
494
|
# condition` that determines how and when the `bindings` are applied. Each of
|
495
|
-
# the `bindings` must contain at least one member.
|
495
|
+
# the `bindings` must contain at least one member. The `bindings` in a `Policy`
|
496
|
+
# can refer to up to 1,500 members; up to 250 of these members can be Google
|
497
|
+
# groups. Each occurrence of a member counts towards these limits. For example,
|
498
|
+
# if the `bindings` grant 50 different roles to `user:alice@example.com`, and
|
499
|
+
# not to any other member, then you can add another 1,450 members to the `
|
500
|
+
# bindings` in the `Policy`.
|
496
501
|
# Corresponds to the JSON property `bindings`
|
497
502
|
# @return [Array<Google::Apis::PolicytroubleshooterV1::GoogleIamV1Binding>]
|
498
503
|
attr_accessor :bindings
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PolicytroubleshooterV1
|
18
18
|
# Version of the google-apis-policytroubleshooter_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211002"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -49,8 +49,8 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
-
# Checks whether a
|
53
|
-
# explains why the
|
52
|
+
# Checks whether a principal has a specific permission for a specific resource,
|
53
|
+
# and explains why the principal does or does not have that permission.
|
54
54
|
# @param [Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest] google_cloud_policytroubleshooter_v1_troubleshoot_iam_policy_request_object
|
55
55
|
# @param [String] fields
|
56
56
|
# Selector specifying which fields to include in a partial response.
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-policytroubleshooter_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
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-
|
11
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Policy Troubleshooter API V1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-policytroubleshooter_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policytroubleshooter_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policytroubleshooter_v1/v0.8.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-policytroubleshooter_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|