google-apis-orgpolicy_v2 0.34.0 → 0.36.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa053dea3206c0a71cd1d3cba1b43519b957a85ca8d5f3f1d7246800aed7c568
|
4
|
+
data.tar.gz: 6a6dc6fa9a793c6e177e3128d232fd5a7ba5b0d9c904939c198fa5b40001b1f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f03c2562e2c83eaffee4547ab78c5bfaaa1b1c9d4b256c0f604d1ff56f84b5f5373559e48ff21a74397bc8584075e89962a69071adc4a4e639ac85ca620e6faf
|
7
|
+
data.tar.gz: 78ccb0791b1d686be3c55874647c2857aa87388f1409dd3488a363f91fc0476dd98672a762e1c7cb76453ea009ef0b639842ec65a9b81932bb71fab460974531
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-orgpolicy_v2
|
2
2
|
|
3
|
+
### v0.36.0 (2024-10-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241021
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.35.0 (2024-05-19)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240513
|
11
|
+
* Regenerated using generator version 0.15.0
|
12
|
+
|
3
13
|
### v0.34.0 (2024-04-28)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20240422
|
@@ -88,12 +88,6 @@ module Google
|
|
88
88
|
# @return [String]
|
89
89
|
attr_accessor :display_name
|
90
90
|
|
91
|
-
# A Google managed constraint. This represents a subset of fields missing from
|
92
|
-
# Constraint proto that are required to describe CustomConstraint
|
93
|
-
# Corresponds to the JSON property `googleManagedConstraint`
|
94
|
-
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint]
|
95
|
-
attr_accessor :google_managed_constraint
|
96
|
-
|
97
91
|
# A constraint that allows or disallows a list of string values, which are
|
98
92
|
# configured by an Organization Policy administrator with a policy.
|
99
93
|
# Corresponds to the JSON property `listConstraint`
|
@@ -125,7 +119,6 @@ module Google
|
|
125
119
|
@constraint_default = args[:constraint_default] if args.key?(:constraint_default)
|
126
120
|
@description = args[:description] if args.key?(:description)
|
127
121
|
@display_name = args[:display_name] if args.key?(:display_name)
|
128
|
-
@google_managed_constraint = args[:google_managed_constraint] if args.key?(:google_managed_constraint)
|
129
122
|
@list_constraint = args[:list_constraint] if args.key?(:list_constraint)
|
130
123
|
@name = args[:name] if args.key?(:name)
|
131
124
|
@supports_dry_run = args[:supports_dry_run] if args.key?(:supports_dry_run)
|
@@ -138,18 +131,25 @@ module Google
|
|
138
131
|
class GoogleCloudOrgpolicyV2ConstraintBooleanConstraint
|
139
132
|
include Google::Apis::Core::Hashable
|
140
133
|
|
134
|
+
# Currently used for Managed Constraints. This represents a subset of fields
|
135
|
+
# missing from Constraint proto that are required to describe CustomConstraint
|
136
|
+
# Corresponds to the JSON property `customConstraintDefinition`
|
137
|
+
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition]
|
138
|
+
attr_accessor :custom_constraint_definition
|
139
|
+
|
141
140
|
def initialize(**args)
|
142
141
|
update!(**args)
|
143
142
|
end
|
144
143
|
|
145
144
|
# Update properties of this object
|
146
145
|
def update!(**args)
|
146
|
+
@custom_constraint_definition = args[:custom_constraint_definition] if args.key?(:custom_constraint_definition)
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
|
-
#
|
151
|
-
# Constraint proto that are required to describe CustomConstraint
|
152
|
-
class
|
150
|
+
# Currently used for Managed Constraints. This represents a subset of fields
|
151
|
+
# missing from Constraint proto that are required to describe CustomConstraint
|
152
|
+
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition
|
153
153
|
include Google::Apis::Core::Hashable
|
154
154
|
|
155
155
|
# Allow or deny type.
|
@@ -169,6 +169,12 @@ module Google
|
|
169
169
|
# @return [Array<String>]
|
170
170
|
attr_accessor :method_types
|
171
171
|
|
172
|
+
# Stores Structure of parameters used by Constraint condition. Key of map
|
173
|
+
# represents name of the parameter.
|
174
|
+
# Corresponds to the JSON property `parameters`
|
175
|
+
# @return [Hash<String,Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter>]
|
176
|
+
attr_accessor :parameters
|
177
|
+
|
172
178
|
# The resource instance type on which this policy applies. Format will be of the
|
173
179
|
# form : `/` Example: * `compute.googleapis.com/Instance`.
|
174
180
|
# Corresponds to the JSON property `resourceTypes`
|
@@ -184,10 +190,76 @@ module Google
|
|
184
190
|
@action_type = args[:action_type] if args.key?(:action_type)
|
185
191
|
@condition = args[:condition] if args.key?(:condition)
|
186
192
|
@method_types = args[:method_types] if args.key?(:method_types)
|
193
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
187
194
|
@resource_types = args[:resource_types] if args.key?(:resource_types)
|
188
195
|
end
|
189
196
|
end
|
190
197
|
|
198
|
+
# Defines a parameter structure.
|
199
|
+
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
|
200
|
+
include Google::Apis::Core::Hashable
|
201
|
+
|
202
|
+
# Sets the value of the parameter in an assignment if no value is given.
|
203
|
+
# Corresponds to the JSON property `defaultValue`
|
204
|
+
# @return [Object]
|
205
|
+
attr_accessor :default_value
|
206
|
+
|
207
|
+
# Determines the parameter’s value structure. For example, LIST can be specified
|
208
|
+
# by defining type : LIST, and item type as : STRING.
|
209
|
+
# Corresponds to the JSON property `item`
|
210
|
+
# @return [String]
|
211
|
+
attr_accessor :item
|
212
|
+
|
213
|
+
# Defines Medata structure.
|
214
|
+
# Corresponds to the JSON property `metadata`
|
215
|
+
# @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata]
|
216
|
+
attr_accessor :metadata
|
217
|
+
|
218
|
+
# Type of the parameter.
|
219
|
+
# Corresponds to the JSON property `type`
|
220
|
+
# @return [String]
|
221
|
+
attr_accessor :type
|
222
|
+
|
223
|
+
# Provides a CEL expression to specify the acceptable parameter values during
|
224
|
+
# assignment. For example, parameterName in ("parameterValue1", "parameterValue2"
|
225
|
+
# )
|
226
|
+
# Corresponds to the JSON property `validValuesExpr`
|
227
|
+
# @return [String]
|
228
|
+
attr_accessor :valid_values_expr
|
229
|
+
|
230
|
+
def initialize(**args)
|
231
|
+
update!(**args)
|
232
|
+
end
|
233
|
+
|
234
|
+
# Update properties of this object
|
235
|
+
def update!(**args)
|
236
|
+
@default_value = args[:default_value] if args.key?(:default_value)
|
237
|
+
@item = args[:item] if args.key?(:item)
|
238
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
239
|
+
@type = args[:type] if args.key?(:type)
|
240
|
+
@valid_values_expr = args[:valid_values_expr] if args.key?(:valid_values_expr)
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# Defines Medata structure.
|
245
|
+
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata
|
246
|
+
include Google::Apis::Core::Hashable
|
247
|
+
|
248
|
+
# Detailed description of what this `parameter` is and use of it. Mutable.
|
249
|
+
# Corresponds to the JSON property `description`
|
250
|
+
# @return [String]
|
251
|
+
attr_accessor :description
|
252
|
+
|
253
|
+
def initialize(**args)
|
254
|
+
update!(**args)
|
255
|
+
end
|
256
|
+
|
257
|
+
# Update properties of this object
|
258
|
+
def update!(**args)
|
259
|
+
@description = args[:description] if args.key?(:description)
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
191
263
|
# A constraint that allows or disallows a list of string values, which are
|
192
264
|
# configured by an Organization Policy administrator with a policy.
|
193
265
|
class GoogleCloudOrgpolicyV2ConstraintListConstraint
|
@@ -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.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241021"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,7 +40,19 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
46
58
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -129,8 +141,6 @@ module Google
|
|
129
141
|
property :constraint_default, as: 'constraintDefault'
|
130
142
|
property :description, as: 'description'
|
131
143
|
property :display_name, as: 'displayName'
|
132
|
-
property :google_managed_constraint, as: 'googleManagedConstraint', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint::Representation
|
133
|
-
|
134
144
|
property :list_constraint, as: 'listConstraint', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintListConstraint, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintListConstraint::Representation
|
135
145
|
|
136
146
|
property :name, as: 'name'
|
@@ -141,19 +151,42 @@ module Google
|
|
141
151
|
class GoogleCloudOrgpolicyV2ConstraintBooleanConstraint
|
142
152
|
# @private
|
143
153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
154
|
+
property :custom_constraint_definition, as: 'customConstraintDefinition', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition::Representation
|
155
|
+
|
144
156
|
end
|
145
157
|
end
|
146
158
|
|
147
|
-
class
|
159
|
+
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinition
|
148
160
|
# @private
|
149
161
|
class Representation < Google::Apis::Core::JsonRepresentation
|
150
162
|
property :action_type, as: 'actionType'
|
151
163
|
property :condition, as: 'condition'
|
152
164
|
collection :method_types, as: 'methodTypes'
|
165
|
+
hash :parameters, as: 'parameters', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter::Representation
|
166
|
+
|
153
167
|
collection :resource_types, as: 'resourceTypes'
|
154
168
|
end
|
155
169
|
end
|
156
170
|
|
171
|
+
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter
|
172
|
+
# @private
|
173
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
174
|
+
property :default_value, as: 'defaultValue'
|
175
|
+
property :item, as: 'item'
|
176
|
+
property :metadata, as: 'metadata', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata::Representation
|
177
|
+
|
178
|
+
property :type, as: 'type'
|
179
|
+
property :valid_values_expr, as: 'validValuesExpr'
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
class GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata
|
184
|
+
# @private
|
185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
186
|
+
property :description, as: 'description'
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
157
190
|
class GoogleCloudOrgpolicyV2ConstraintListConstraint
|
158
191
|
# @private
|
159
192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.36.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: 2024-
|
11
|
+
date: 2024-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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/main/generated/google-apis-orgpolicy_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-orgpolicy_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.21
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Organization Policy API V2
|