google-apis-policytroubleshooter_v1 0.7.0 → 0.8.0

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: 0be4e20f22cffb70daa6fbfc45274249ae98c04ec907a55336bd145c9cf788c8
4
- data.tar.gz: b2b1320c3d84cc4bdbabc10beb8cae989f7b96869e0d2fd9036ab83faee787dd
3
+ metadata.gz: f26db5da76d052995a8ea4ba99e88212caf883aef58eb373fef876b5aafc96a4
4
+ data.tar.gz: 194b78b8c2ed9d1a6acff3e2b9c546ac98b2706ee16c580bed5230d7f3c28f10
5
5
  SHA512:
6
- metadata.gz: 929cd32e122c36fffeab3e089351bc426b428cce16bdaf053d03e2aebf3b3d4e7973d55fda7b58ee12f00aea13b71ca5e6127fb0ed11a57c4d14e889ad68546c
7
- data.tar.gz: 96716e536262c43641ad28aa7c3e5d09a9723137b6470d96f6491a352583853f3670cfb2a52c27e0987b8c217e0c87cdb4f83bac9e8763da4aae025d46d391ad
6
+ metadata.gz: 6ac6a62144c8a2fb67379aaafc6e12ba975f326123a5ab4d895fbb01281d21bce2f25cf913b5cf551b6c48a12b1e6445d9155ae0515277d4396d6e54d57aa5a7
7
+ data.tar.gz: 9c916464de6ef35263ea90274f0ad5738c5d9e0068c1277c3d8c582b10f9208e5955b7d14eab22d3ad4f12c46886b65ecfed7ef9b9190cd7f393c51926b12e23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.7.0 (2021-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20210813
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module PolicytroubleshooterV1
24
24
 
25
- # Information about the member, resource, and permission to check.
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 member and resource.
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 member, or principal, whose access you want to check, in the
47
- # form of the email address that represents that member. For example, `alice@
48
- # example.com` or `my-service-account@my-project.iam.gserviceaccount.com`. The
49
- # member must be a Google Account or a service account. Other types of members
50
- # are not supported.
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 member's ability to use 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 member for the specified resource. This field does _not_
74
- # indicate whether the member actually has the permission for the resource.
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 member actually has the permission, use the `access` field in 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 member in the binding includes the member specified in
102
- # the request, either directly or indirectly. Each key identifies a member in
103
- # the binding, and each value indicates whether the member in the binding
104
- # includes the member in the request. For example, suppose that a binding
105
- # includes the following members: * `user:alice@example.com` * `group:product-
106
- # eng@example.com` You want to troubleshoot access for `user:bob@example.com`.
107
- # This user is a member of the group `group:product-eng@example.com`. For the
108
- # first member in the binding, the key is `user:alice@example.com`, and the `
109
- # membership` field in the value is set to `MEMBERSHIP_NOT_INCLUDED`. For the
110
- # second member in the binding, the key is `group:product-eng@example.com`, and
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 member.
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 member.
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 member's status to the overall determination for 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 member for the specified resource. This field does _not_ indicate
189
- # whether the member actually has the permission for the resource. There might
190
- # be another policy that overrides this policy. To determine whether the member
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 member's ability, or
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>]
@@ -266,7 +266,7 @@ module Google
266
266
  class GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest
267
267
  include Google::Apis::Core::Hashable
268
268
 
269
- # Information about the member, resource, and permission to check.
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 member has the specified permission for the specified
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 member's permissions,
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
@@ -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.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210813"
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 member has a specific permission for a specific resource, and
53
- # explains why the member does or does not have that permission.
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.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-policytroubleshooter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.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-09-06 00:00:00.000000000 Z
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
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-policytroubleshooter_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-policytroubleshooter_v1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policytroubleshooter_v1/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-policytroubleshooter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []