google-apis-policysimulator_v1beta1 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1961eb98afe829054350d7e03f186ca7cd774417c4a009894fc5b9b2274f647d
|
4
|
+
data.tar.gz: 8e95d58e74f85224890d7a63be2669a087edb2ae1dc2a79545d2cb127162fa5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32e9c84dadfbf2135a64ed05a2b055b9ce0de6a472d585d3f5aca92da0dd6d7329a4b575db8287dd713f031e2ea03d4411c26b6d63681d0d7e832781375d1293
|
7
|
+
data.tar.gz: 7d39994a8e4fc323cfddb512feea1ec21f333a4d015a024319dbd43b53a9487dc3e7072545591fb5faa037308751b63431b71072d197b0bee74ecd2145136af7
|
data/CHANGELOG.md
CHANGED
@@ -215,7 +215,7 @@ module Google
|
|
215
215
|
end
|
216
216
|
end
|
217
217
|
|
218
|
-
# Information about the
|
218
|
+
# Information about the principal, resource, and permission to check.
|
219
219
|
class GoogleCloudPolicysimulatorV1beta1AccessTuple
|
220
220
|
include Google::Apis::Core::Hashable
|
221
221
|
|
@@ -227,7 +227,7 @@ module Google
|
|
227
227
|
# @return [String]
|
228
228
|
attr_accessor :full_resource_name
|
229
229
|
|
230
|
-
# Required. The IAM permission to check for the specified
|
230
|
+
# Required. The IAM permission to check for the specified principal and resource.
|
231
231
|
# For a complete list of IAM permissions, see https://cloud.google.com/iam/help/
|
232
232
|
# permissions/reference. For a complete list of predefined IAM roles and the
|
233
233
|
# permissions in each role, see https://cloud.google.com/iam/help/roles/
|
@@ -236,11 +236,11 @@ module Google
|
|
236
236
|
# @return [String]
|
237
237
|
attr_accessor :permission
|
238
238
|
|
239
|
-
# Required. The
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
239
|
+
# Required. The principal whose access you want to check, in the form of the
|
240
|
+
# email address that represents that principal. For example, `alice@example.com`
|
241
|
+
# or `my-service-account@my-project.iam.gserviceaccount.com`. The principal must
|
242
|
+
# be a Google Account or a service account. Other types of principals are not
|
243
|
+
# supported.
|
244
244
|
# Corresponds to the JSON property `principal`
|
245
245
|
# @return [String]
|
246
246
|
attr_accessor :principal
|
@@ -257,17 +257,17 @@ module Google
|
|
257
257
|
end
|
258
258
|
end
|
259
259
|
|
260
|
-
# Details about how a binding in a policy affects a
|
260
|
+
# Details about how a binding in a policy affects a principal's ability to use a
|
261
261
|
# permission.
|
262
262
|
class GoogleCloudPolicysimulatorV1beta1BindingExplanation
|
263
263
|
include Google::Apis::Core::Hashable
|
264
264
|
|
265
265
|
# Required. Indicates whether _this binding_ provides the specified permission
|
266
|
-
# to the specified
|
267
|
-
# indicate whether the
|
266
|
+
# to the specified principal for the specified resource. This field does _not_
|
267
|
+
# indicate whether the principal actually has the permission for the resource.
|
268
268
|
# There might be another binding that overrides this binding. To determine
|
269
|
-
# whether the
|
270
|
-
# TroubleshootIamPolicyResponse.
|
269
|
+
# whether the principal actually has the permission, use the `access` field in
|
270
|
+
# the TroubleshootIamPolicyResponse.
|
271
271
|
# Corresponds to the JSON property `access`
|
272
272
|
# @return [String]
|
273
273
|
attr_accessor :access
|
@@ -291,17 +291,18 @@ module Google
|
|
291
291
|
# @return [Google::Apis::PolicysimulatorV1beta1::GoogleTypeExpr]
|
292
292
|
attr_accessor :condition
|
293
293
|
|
294
|
-
# Indicates whether each
|
295
|
-
# the request, either directly or indirectly. Each key identifies a
|
296
|
-
# the binding, and each value indicates whether the
|
297
|
-
# includes the
|
298
|
-
# includes the following
|
299
|
-
# eng@example.com` The
|
300
|
-
# com`. This user is a
|
301
|
-
# the first
|
302
|
-
# membership` field in the value is set to `
|
303
|
-
# second
|
304
|
-
# the `membership` field in the value is set
|
294
|
+
# Indicates whether each principal in the binding includes the principal
|
295
|
+
# specified in the request, either directly or indirectly. Each key identifies a
|
296
|
+
# principal in the binding, and each value indicates whether the principal in
|
297
|
+
# the binding includes the principal in the request. For example, suppose that a
|
298
|
+
# binding includes the following principals: * `user:alice@example.com` * `group:
|
299
|
+
# product-eng@example.com` The principal in the replayed access tuple is `user:
|
300
|
+
# bob@example.com`. This user is a principal of the group `group:product-eng@
|
301
|
+
# example.com`. For the first principal in the binding, the key is `user:alice@
|
302
|
+
# example.com`, and the `membership` field in the value is set to `
|
303
|
+
# MEMBERSHIP_NOT_INCLUDED`. For the second principal in the binding, the key is `
|
304
|
+
# group:product-eng@example.com`, and the `membership` field in the value is set
|
305
|
+
# to `MEMBERSHIP_INCLUDED`.
|
305
306
|
# Corresponds to the JSON property `memberships`
|
306
307
|
# @return [Hash<String,Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1BindingExplanationAnnotatedMembership>]
|
307
308
|
attr_accessor :memberships
|
@@ -347,16 +348,16 @@ module Google
|
|
347
348
|
end
|
348
349
|
end
|
349
350
|
|
350
|
-
# Details about whether the binding includes the
|
351
|
+
# Details about whether the binding includes the principal.
|
351
352
|
class GoogleCloudPolicysimulatorV1beta1BindingExplanationAnnotatedMembership
|
352
353
|
include Google::Apis::Core::Hashable
|
353
354
|
|
354
|
-
# Indicates whether the binding includes the
|
355
|
+
# Indicates whether the binding includes the principal.
|
355
356
|
# Corresponds to the JSON property `membership`
|
356
357
|
# @return [String]
|
357
358
|
attr_accessor :membership
|
358
359
|
|
359
|
-
# The relevance of the
|
360
|
+
# The relevance of the principal's status to the overall determination for the
|
360
361
|
# binding.
|
361
362
|
# Corresponds to the JSON property `relevance`
|
362
363
|
# @return [String]
|
@@ -415,18 +416,18 @@ module Google
|
|
415
416
|
include Google::Apis::Core::Hashable
|
416
417
|
|
417
418
|
# Indicates whether _this policy_ provides the specified permission to the
|
418
|
-
# specified
|
419
|
-
# whether the
|
420
|
-
# be another policy that overrides this policy. To determine whether the
|
421
|
-
# actually has the permission, use the `access` field in the
|
419
|
+
# specified principal for the specified resource. This field does _not_ indicate
|
420
|
+
# whether the principal actually has the permission for the resource. There
|
421
|
+
# might be another policy that overrides this policy. To determine whether the
|
422
|
+
# principal actually has the permission, use the `access` field in the
|
422
423
|
# TroubleshootIamPolicyResponse.
|
423
424
|
# Corresponds to the JSON property `access`
|
424
425
|
# @return [String]
|
425
426
|
attr_accessor :access
|
426
427
|
|
427
|
-
# Details about how each binding in the policy affects the
|
428
|
-
# inability, to use the permission for the resource. If the user who created
|
429
|
-
# Replay does not have access to the policy, this field is omitted.
|
428
|
+
# Details about how each binding in the policy affects the principal's ability,
|
429
|
+
# or inability, to use the permission for the resource. If the user who created
|
430
|
+
# the Replay does not have access to the policy, this field is omitted.
|
430
431
|
# Corresponds to the JSON property `bindingExplanations`
|
431
432
|
# @return [Array<Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1BindingExplanation>]
|
432
433
|
attr_accessor :binding_explanations
|
@@ -639,7 +640,7 @@ module Google
|
|
639
640
|
class GoogleCloudPolicysimulatorV1beta1ReplayResult
|
640
641
|
include Google::Apis::Core::Hashable
|
641
642
|
|
642
|
-
# Information about the
|
643
|
+
# Information about the principal, resource, and permission to check.
|
643
644
|
# Corresponds to the JSON property `accessTuple`
|
644
645
|
# @return [Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1beta1AccessTuple]
|
645
646
|
attr_accessor :access_tuple
|
@@ -948,7 +949,12 @@ module Google
|
|
948
949
|
|
949
950
|
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
950
951
|
# condition` that determines how and when the `bindings` are applied. Each of
|
951
|
-
# the `bindings` must contain at least one member.
|
952
|
+
# the `bindings` must contain at least one member. The `bindings` in a `Policy`
|
953
|
+
# can refer to up to 1,500 members; up to 250 of these members can be Google
|
954
|
+
# groups. Each occurrence of a member counts towards these limits. For example,
|
955
|
+
# if the `bindings` grant 50 different roles to `user:alice@example.com`, and
|
956
|
+
# not to any other member, then you can add another 1,450 members to the `
|
957
|
+
# bindings` in the `Policy`.
|
952
958
|
# Corresponds to the JSON property `bindings`
|
953
959
|
# @return [Array<Google::Apis::PolicysimulatorV1beta1::GoogleIamV1Binding>]
|
954
960
|
attr_accessor :bindings
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PolicysimulatorV1beta1
|
18
18
|
# Version of the google-apis-policysimulator_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.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 = "
|
25
|
+
REVISION = "20211002"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-policysimulator_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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
|
@@ -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-policysimulator_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1beta1/v0.9.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-policysimulator_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|