google-apis-orgpolicy_v2 0.37.0 → 0.38.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: 5b2c2db7dbdc5f2ac6e32054b7865c0e417d52d81c2e22089ebfc2f27ecb1091
|
4
|
+
data.tar.gz: 00b34ca7a544636ffe8b78cfde64edcd03d10322ae6891f9d8150edc5e64e462
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10280416eb568e2b70cdd965a2d419f967a4ef50bf04ed915b7b026b081b2e7a44e12e0f98f1cb167277415f38d37af8928e3e7f3a2de4998f6d45ee6ec77eff
|
7
|
+
data.tar.gz: 208ecb75d816188575d581b2c8fd3da4ab846bba2a235696db1b7b712139b1c0e5fe22fbaade41321e472e10f66df19e5bfbb3fef40174d81f079de3bea7b6b8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-orgpolicy_v2
|
2
2
|
|
3
|
+
### v0.38.0 (2025-01-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250117
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.37.0 (2024-12-08)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241129
|
@@ -23,7 +23,7 @@ module Google
|
|
23
23
|
module OrgpolicyV2
|
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
|
|
@@ -58,16 +58,16 @@ module Google
|
|
58
58
|
# setting a policy that includes constraints at different locations in the
|
59
59
|
# organization's resource hierarchy. Policies are inherited down the resource
|
60
60
|
# hierarchy from higher levels, but can also be overridden. For details about
|
61
|
-
# the inheritance rules
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
61
|
+
# the inheritance rules, see `Policy`. Constraints have a default behavior
|
62
|
+
# determined by the `constraint_default` field, which is the enforcement
|
63
|
+
# behavior that is used in the absence of a policy being defined or inherited
|
64
|
+
# for the resource in question.
|
65
65
|
class GoogleCloudOrgpolicyV2Constraint
|
66
66
|
include Google::Apis::Core::Hashable
|
67
67
|
|
68
|
-
# A constraint
|
69
|
-
#
|
70
|
-
#
|
68
|
+
# A constraint type is enforced or not enforced, which is configured in the `
|
69
|
+
# PolicyRule`. If `customConstraintDefinition` is defined, this constraint is a
|
70
|
+
# managed constraint.
|
71
71
|
# Corresponds to the JSON property `booleanConstraint`
|
72
72
|
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintBooleanConstraint]
|
73
73
|
attr_accessor :boolean_constraint
|
@@ -88,8 +88,8 @@ module Google
|
|
88
88
|
# @return [String]
|
89
89
|
attr_accessor :display_name
|
90
90
|
|
91
|
-
# A constraint that allows or disallows a list of string values, which are
|
92
|
-
# configured
|
91
|
+
# A constraint type that allows or disallows a list of string values, which are
|
92
|
+
# configured in the `PolicyRule`.
|
93
93
|
# Corresponds to the JSON property `listConstraint`
|
94
94
|
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintListConstraint]
|
95
95
|
attr_accessor :list_constraint
|
@@ -132,14 +132,13 @@ module Google
|
|
132
132
|
end
|
133
133
|
end
|
134
134
|
|
135
|
-
# A constraint
|
136
|
-
#
|
137
|
-
#
|
135
|
+
# A constraint type is enforced or not enforced, which is configured in the `
|
136
|
+
# PolicyRule`. If `customConstraintDefinition` is defined, this constraint is a
|
137
|
+
# managed constraint.
|
138
138
|
class GoogleCloudOrgpolicyV2ConstraintBooleanConstraint
|
139
139
|
include Google::Apis::Core::Hashable
|
140
140
|
|
141
|
-
#
|
142
|
-
# missing from Constraint proto that are required to describe CustomConstraint
|
141
|
+
# Custom constraint definition. Defines this as a managed constraint.
|
143
142
|
# Corresponds to the JSON property `customConstraintDefinition`
|
144
143
|
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition]
|
145
144
|
attr_accessor :custom_constraint_definition
|
@@ -154,8 +153,7 @@ module Google
|
|
154
153
|
end
|
155
154
|
end
|
156
155
|
|
157
|
-
#
|
158
|
-
# missing from Constraint proto that are required to describe CustomConstraint
|
156
|
+
# Custom constraint definition. Defines this as a managed constraint.
|
159
157
|
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition
|
160
158
|
include Google::Apis::Core::Hashable
|
161
159
|
|
@@ -176,8 +174,8 @@ module Google
|
|
176
174
|
# @return [Array<String>]
|
177
175
|
attr_accessor :method_types
|
178
176
|
|
179
|
-
# Stores
|
180
|
-
# represents name of the parameter.
|
177
|
+
# Stores the structure of `Parameters` used by the constraint condition. The key
|
178
|
+
# of `map` represents the name of the parameter.
|
181
179
|
# Corresponds to the JSON property `parameters`
|
182
180
|
# @return [Hash<String,Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter>]
|
183
181
|
attr_accessor :parameters
|
@@ -211,13 +209,13 @@ module Google
|
|
211
209
|
# @return [Object]
|
212
210
|
attr_accessor :default_value
|
213
211
|
|
214
|
-
# Determines the parameter
|
215
|
-
# by defining type
|
212
|
+
# Determines the parameter's value structure. For example, `LIST` can be
|
213
|
+
# specified by defining `type: LIST`, and `item: STRING`.
|
216
214
|
# Corresponds to the JSON property `item`
|
217
215
|
# @return [String]
|
218
216
|
attr_accessor :item
|
219
217
|
|
220
|
-
# Defines
|
218
|
+
# Defines Metadata structure.
|
221
219
|
# Corresponds to the JSON property `metadata`
|
222
220
|
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata]
|
223
221
|
attr_accessor :metadata
|
@@ -248,7 +246,7 @@ module Google
|
|
248
246
|
end
|
249
247
|
end
|
250
248
|
|
251
|
-
# Defines
|
249
|
+
# Defines Metadata structure.
|
252
250
|
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata
|
253
251
|
include Google::Apis::Core::Hashable
|
254
252
|
|
@@ -267,8 +265,8 @@ module Google
|
|
267
265
|
end
|
268
266
|
end
|
269
267
|
|
270
|
-
# A constraint that allows or disallows a list of string values, which are
|
271
|
-
# configured
|
268
|
+
# A constraint type that allows or disallows a list of string values, which are
|
269
|
+
# configured in the `PolicyRule`.
|
272
270
|
class GoogleCloudOrgpolicyV2ConstraintListConstraint
|
273
271
|
include Google::Apis::Core::Hashable
|
274
272
|
|
@@ -311,9 +309,10 @@ module Google
|
|
311
309
|
# @return [String]
|
312
310
|
attr_accessor :action_type
|
313
311
|
|
314
|
-
#
|
315
|
-
#
|
316
|
-
#
|
312
|
+
# A Common Expression Language (CEL) condition which is used in the evaluation
|
313
|
+
# of the constraint. For example: `resource.instanceName.matches("[production|
|
314
|
+
# test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true` The max
|
315
|
+
# length of the condition is 1000 characters.
|
317
316
|
# Corresponds to the JSON property `condition`
|
318
317
|
# @return [String]
|
319
318
|
attr_accessor :condition
|
@@ -353,7 +352,7 @@ module Google
|
|
353
352
|
|
354
353
|
# Output only. The last time this custom constraint was updated. This represents
|
355
354
|
# the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint`
|
356
|
-
#
|
355
|
+
# methods were called.
|
357
356
|
# Corresponds to the JSON property `updateTime`
|
358
357
|
# @return [String]
|
359
358
|
attr_accessor :update_time
|
@@ -401,12 +400,12 @@ module Google
|
|
401
400
|
end
|
402
401
|
|
403
402
|
# The response returned from the ListCustomConstraints method. It will be empty
|
404
|
-
# if no custom constraints are set on the organization resource.
|
403
|
+
# if no custom or managed constraints are set on the organization resource.
|
405
404
|
class GoogleCloudOrgpolicyV2ListCustomConstraintsResponse
|
406
405
|
include Google::Apis::Core::Hashable
|
407
406
|
|
408
|
-
# All custom constraints that exist on the organization resource. It
|
409
|
-
# empty if no custom constraints are set.
|
407
|
+
# All custom and managed constraints that exist on the organization resource. It
|
408
|
+
# will be empty if no custom constraints are set.
|
410
409
|
# Corresponds to the JSON property `customConstraints`
|
411
410
|
# @return [Array<Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2CustomConstraint>]
|
412
411
|
attr_accessor :custom_constraints
|
@@ -462,7 +461,7 @@ module Google
|
|
462
461
|
include Google::Apis::Core::Hashable
|
463
462
|
|
464
463
|
# Similar to PolicySpec but with an extra 'launch' field for launch reference.
|
465
|
-
# The PolicySpec here is specific for dry-run
|
464
|
+
# The PolicySpec here is specific for dry-run.
|
466
465
|
# Corresponds to the JSON property `alternate`
|
467
466
|
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2AlternatePolicySpec]
|
468
467
|
attr_accessor :alternate
|
@@ -620,7 +619,7 @@ module Google
|
|
620
619
|
attr_accessor :enforce
|
621
620
|
alias_method :enforce?, :enforce
|
622
621
|
|
623
|
-
# Optional. Required for
|
622
|
+
# Optional. Required for managed constraints if parameters are defined. Passes
|
624
623
|
# parameter values when policy enforcement is enabled. Ensure that parameter
|
625
624
|
# value types match those defined in the constraint definition. For example: ` "
|
626
625
|
# allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true `
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OrgpolicyV2
|
18
18
|
# Version of the google-apis-orgpolicy_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.38.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 = "20250117"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -430,11 +430,11 @@ module Google
|
|
430
430
|
execute_or_queue_command(command, &block)
|
431
431
|
end
|
432
432
|
|
433
|
-
# Gets a custom constraint. Returns a `google.rpc.Status` with `
|
434
|
-
# NOT_FOUND` if the custom constraint does not exist.
|
433
|
+
# Gets a custom or managed constraint. Returns a `google.rpc.Status` with `
|
434
|
+
# google.rpc.Code.NOT_FOUND` if the custom or managed constraint does not exist.
|
435
435
|
# @param [String] name
|
436
|
-
# Required. Resource name of the custom constraint. See the custom
|
437
|
-
# entry for naming requirements.
|
436
|
+
# Required. Resource name of the custom or managed constraint. See the custom
|
437
|
+
# constraint entry for naming requirements.
|
438
438
|
# @param [String] fields
|
439
439
|
# Selector specifying which fields to include in a partial response.
|
440
440
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-orgpolicy_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.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-orgpolicy_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.38.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-orgpolicy_v2
|
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 Organization Policy API V2
|
82
79
|
test_files: []
|