google-cloud-policy_simulator 1.4.0 → 1.6.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: 2d25eea0d4bc6fc1e319a0aba23619ea8052d0ed8c66537464d4f2750bb56462
|
|
4
|
+
data.tar.gz: 48a2e91dbbe610dc1476545a9f12e98043b551f2844989cb72682ad192f7d751
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a35b1db9b78940521b68a5cd3ddbaf1e9638ed97b75961a70509d88152efa3e8b0395effab83f16cca7b9d152a9741d2eaa0343872e296e353256b5d2bce6d07
|
|
7
|
+
data.tar.gz: e84cd2ba23a34e0ce91c8892c0dda19bd3807a5e7df9834850ca2e373d09cb87f42f9d4414e9bd0ae4aa8e8992803eb8987eaf96abad2fd7cd603c15bd8c4d81
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Policy Simulator is a collection of endpoints for creating, running, and viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.
|
|
4
4
|
|
|
5
|
-
Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.
|
|
6
5
|
|
|
7
6
|
Actual client classes for the various versions of this API are defined in
|
|
8
7
|
_versioned_ client gems, with names of the form `google-cloud-policy_simulator-v*`.
|
|
@@ -74,14 +73,12 @@ working, try updating the versioned clients in your bundle or installed gems:
|
|
|
74
73
|
|
|
75
74
|
## Supported Ruby Versions
|
|
76
75
|
|
|
77
|
-
This library is supported on Ruby 3.
|
|
76
|
+
This library is supported on Ruby 3.2+.
|
|
78
77
|
|
|
79
|
-
Google provides official support for Ruby versions
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
|
84
|
-
support schedule.
|
|
78
|
+
Google provides official support for Ruby versions as described in the
|
|
79
|
+
[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions)
|
|
80
|
+
policy. Older versions of Ruby _may_ still work, but are unsupported and not
|
|
81
|
+
recommended.
|
|
85
82
|
|
|
86
83
|
## Which client should I use?
|
|
87
84
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -229,6 +229,7 @@ module Google
|
|
|
229
229
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
230
230
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
231
231
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
232
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
232
233
|
# * `:retry_codes` (*type:* `Array<String>`) -
|
|
233
234
|
# The error codes that should trigger a retry.
|
|
234
235
|
#
|