google-apis-policysimulator_v1alpha 0.19.0 → 0.21.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: 90b2008774fd1aaa34d0a00313227302c9a269f6e7d5e29ca4b998db2a3ff9fa
|
4
|
+
data.tar.gz: e1ff5bcadb0c1ee4271339d4090bb6d4d43b172cf9b8ebb4451a44d85dfe76cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e77ba1d123297ddfd5204a51169bf4b8b1477136a1a1b42ed873ccd9de43c2970f361379a6d0fea4f4826c9f75b65691ca5df23a42f612f61c198c0d6469f12c
|
7
|
+
data.tar.gz: 86de06c0e7420d12e5aed982aeada1e9a55468fbf74183fdf700e9a18d8ec2f9c744744d03cf0e803d32f5c1158a7d9467ae38803b393c46a53e71cce01cea79
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-policysimulator_v1alpha
|
2
2
|
|
3
|
+
### v0.21.0 (2025-01-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250119
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.20.0 (2024-12-02)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241118
|
11
|
+
* Regenerated using generator version 0.15.1
|
12
|
+
|
3
13
|
### v0.19.0 (2024-05-19)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20240505
|
@@ -23,7 +23,7 @@ module Google
|
|
23
23
|
module PolicysimulatorV1alpha
|
24
24
|
|
25
25
|
# Similar to PolicySpec but with an extra 'launch' field for launch reference.
|
26
|
-
# The PolicySpec here is specific for dry-run
|
26
|
+
# The PolicySpec here is specific for dry-run.
|
27
27
|
class GoogleCloudOrgpolicyV2AlternatePolicySpec
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
@@ -62,9 +62,10 @@ module Google
|
|
62
62
|
# @return [String]
|
63
63
|
attr_accessor :action_type
|
64
64
|
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
65
|
+
# A Common Expression Language (CEL) condition which is used in the evaluation
|
66
|
+
# of the constraint. For example: `resource.instanceName.matches("[production|
|
67
|
+
# test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true` The max
|
68
|
+
# length of the condition is 1000 characters.
|
68
69
|
# Corresponds to the JSON property `condition`
|
69
70
|
# @return [String]
|
70
71
|
attr_accessor :condition
|
@@ -104,7 +105,7 @@ module Google
|
|
104
105
|
|
105
106
|
# Output only. The last time this custom constraint was updated. This represents
|
106
107
|
# the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint`
|
107
|
-
#
|
108
|
+
# methods were called.
|
108
109
|
# Corresponds to the JSON property `updateTime`
|
109
110
|
# @return [String]
|
110
111
|
attr_accessor :update_time
|
@@ -132,7 +133,7 @@ module Google
|
|
132
133
|
include Google::Apis::Core::Hashable
|
133
134
|
|
134
135
|
# Similar to PolicySpec but with an extra 'launch' field for launch reference.
|
135
|
-
# The PolicySpec here is specific for dry-run
|
136
|
+
# The PolicySpec here is specific for dry-run.
|
136
137
|
# Corresponds to the JSON property `alternate`
|
137
138
|
# @return [Google::Apis::PolicysimulatorV1alpha::GoogleCloudOrgpolicyV2AlternatePolicySpec]
|
138
139
|
attr_accessor :alternate
|
@@ -290,6 +291,14 @@ module Google
|
|
290
291
|
attr_accessor :enforce
|
291
292
|
alias_method :enforce?, :enforce
|
292
293
|
|
294
|
+
# Optional. Required for managed constraints if parameters are defined. Passes
|
295
|
+
# parameter values when policy enforcement is enabled. Ensure that parameter
|
296
|
+
# value types match those defined in the constraint definition. For example: ` "
|
297
|
+
# allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true `
|
298
|
+
# Corresponds to the JSON property `parameters`
|
299
|
+
# @return [Hash<String,Object>]
|
300
|
+
attr_accessor :parameters
|
301
|
+
|
293
302
|
# A message that holds specific allowed and denied values. This message can
|
294
303
|
# define specific values and subtrees of the Resource Manager resource hierarchy
|
295
304
|
# (`Organizations`, `Folders`, `Projects`) that are allowed or denied. This is
|
@@ -316,6 +325,7 @@ module Google
|
|
316
325
|
@condition = args[:condition] if args.key?(:condition)
|
317
326
|
@deny_all = args[:deny_all] if args.key?(:deny_all)
|
318
327
|
@enforce = args[:enforce] if args.key?(:enforce)
|
328
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
319
329
|
@values = args[:values] if args.key?(:values)
|
320
330
|
end
|
321
331
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PolicysimulatorV1alpha
|
18
18
|
# Version of the google-apis-policysimulator_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250119"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -379,6 +379,7 @@ module Google
|
|
379
379
|
|
380
380
|
property :deny_all, as: 'denyAll'
|
381
381
|
property :enforce, as: 'enforce'
|
382
|
+
hash :parameters, as: 'parameters'
|
382
383
|
property :values, as: 'values', class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues::Representation
|
383
384
|
|
384
385
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-policysimulator_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1alpha/v0.21.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1alpha
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Policy Simulator API V1alpha
|
82
79
|
test_files: []
|