google-apis-policysimulator_v1beta 0.15.0 → 0.17.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/policysimulator_v1beta/classes.rb +1403 -0
- data/lib/google/apis/policysimulator_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/policysimulator_v1beta/representations.rb +513 -0
- data/lib/google/apis/policysimulator_v1beta/service.rb +673 -0
- metadata +5 -5
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PolicysimulatorV1beta
|
18
18
|
# Version of the google-apis-policysimulator_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250614"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,42 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module PolicysimulatorV1beta
|
24
24
|
|
25
|
+
class GoogleCloudOrgpolicyV2AlternatePolicySpec
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class GoogleCloudOrgpolicyV2CustomConstraint
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GoogleCloudOrgpolicyV2Policy
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GoogleCloudOrgpolicyV2PolicySpec
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleCloudOrgpolicyV2PolicySpecPolicyRule
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
25
61
|
class GoogleCloudPolicysimulatorV1Replay
|
26
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
63
|
|
@@ -46,6 +82,150 @@ module Google
|
|
46
82
|
include Google::Apis::Core::JsonObjectSupport
|
47
83
|
end
|
48
84
|
|
85
|
+
class GoogleCloudPolicysimulatorV1betaAccessStateDiff
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudPolicysimulatorV1betaAccessTuple
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GoogleCloudPolicysimulatorV1betaBindingExplanation
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudPolicysimulatorV1betaExplainedAccess
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class GoogleCloudPolicysimulatorV1betaExplainedPolicy
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsPreviewsResponse
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GoogleCloudPolicysimulatorV1betaListReplayResultsResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class GoogleCloudPolicysimulatorV1betaListReplaysResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolation
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class GoogleCloudPolicysimulatorV1betaReplay
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class GoogleCloudPolicysimulatorV1betaReplayConfig
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class GoogleCloudPolicysimulatorV1betaReplayDiff
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class GoogleCloudPolicysimulatorV1betaReplayResult
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class GoogleCloudPolicysimulatorV1betaReplayResultsSummary
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class GoogleCloudPolicysimulatorV1betaResourceContext
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
49
229
|
class GoogleIamV1AuditConfig
|
50
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
231
|
|
@@ -100,6 +280,77 @@ module Google
|
|
100
280
|
include Google::Apis::Core::JsonObjectSupport
|
101
281
|
end
|
102
282
|
|
283
|
+
class GoogleCloudOrgpolicyV2AlternatePolicySpec
|
284
|
+
# @private
|
285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
286
|
+
property :launch, as: 'launch'
|
287
|
+
property :spec, as: 'spec', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2PolicySpec, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2PolicySpec::Representation
|
288
|
+
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
class GoogleCloudOrgpolicyV2CustomConstraint
|
293
|
+
# @private
|
294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
295
|
+
property :action_type, as: 'actionType'
|
296
|
+
property :condition, as: 'condition'
|
297
|
+
property :description, as: 'description'
|
298
|
+
property :display_name, as: 'displayName'
|
299
|
+
collection :method_types, as: 'methodTypes'
|
300
|
+
property :name, as: 'name'
|
301
|
+
collection :resource_types, as: 'resourceTypes'
|
302
|
+
property :update_time, as: 'updateTime'
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
class GoogleCloudOrgpolicyV2Policy
|
307
|
+
# @private
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
309
|
+
property :alternate, as: 'alternate', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2AlternatePolicySpec, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2AlternatePolicySpec::Representation
|
310
|
+
|
311
|
+
property :dry_run_spec, as: 'dryRunSpec', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2PolicySpec, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2PolicySpec::Representation
|
312
|
+
|
313
|
+
property :etag, as: 'etag'
|
314
|
+
property :name, as: 'name'
|
315
|
+
property :spec, as: 'spec', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2PolicySpec, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2PolicySpec::Representation
|
316
|
+
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
320
|
+
class GoogleCloudOrgpolicyV2PolicySpec
|
321
|
+
# @private
|
322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
323
|
+
property :etag, as: 'etag'
|
324
|
+
property :inherit_from_parent, as: 'inheritFromParent'
|
325
|
+
property :reset, as: 'reset'
|
326
|
+
collection :rules, as: 'rules', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2PolicySpecPolicyRule, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2PolicySpecPolicyRule::Representation
|
327
|
+
|
328
|
+
property :update_time, as: 'updateTime'
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
class GoogleCloudOrgpolicyV2PolicySpecPolicyRule
|
333
|
+
# @private
|
334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
335
|
+
property :allow_all, as: 'allowAll'
|
336
|
+
property :condition, as: 'condition', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeExpr, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeExpr::Representation
|
337
|
+
|
338
|
+
property :deny_all, as: 'denyAll'
|
339
|
+
property :enforce, as: 'enforce'
|
340
|
+
hash :parameters, as: 'parameters'
|
341
|
+
property :values, as: 'values', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues::Representation
|
342
|
+
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
class GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
|
347
|
+
# @private
|
348
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
349
|
+
collection :allowed_values, as: 'allowedValues'
|
350
|
+
collection :denied_values, as: 'deniedValues'
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
103
354
|
class GoogleCloudPolicysimulatorV1Replay
|
104
355
|
# @private
|
105
356
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -142,6 +393,268 @@ module Google
|
|
142
393
|
end
|
143
394
|
end
|
144
395
|
|
396
|
+
class GoogleCloudPolicysimulatorV1betaAccessStateDiff
|
397
|
+
# @private
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
399
|
+
property :access_change, as: 'accessChange'
|
400
|
+
property :baseline, as: 'baseline', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess::Representation
|
401
|
+
|
402
|
+
property :simulated, as: 'simulated', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess::Representation
|
403
|
+
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
407
|
+
class GoogleCloudPolicysimulatorV1betaAccessTuple
|
408
|
+
# @private
|
409
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
410
|
+
property :full_resource_name, as: 'fullResourceName'
|
411
|
+
property :permission, as: 'permission'
|
412
|
+
property :principal, as: 'principal'
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
class GoogleCloudPolicysimulatorV1betaBindingExplanation
|
417
|
+
# @private
|
418
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
419
|
+
property :access, as: 'access'
|
420
|
+
property :condition, as: 'condition', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeExpr, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeExpr::Representation
|
421
|
+
|
422
|
+
hash :memberships, as: 'memberships', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership::Representation
|
423
|
+
|
424
|
+
property :relevance, as: 'relevance'
|
425
|
+
property :role, as: 'role'
|
426
|
+
property :role_permission, as: 'rolePermission'
|
427
|
+
property :role_permission_relevance, as: 'rolePermissionRelevance'
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
class GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership
|
432
|
+
# @private
|
433
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
434
|
+
property :membership, as: 'membership'
|
435
|
+
property :relevance, as: 'relevance'
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :request_time, as: 'requestTime'
|
443
|
+
property :resources_found, as: 'resourcesFound'
|
444
|
+
property :resources_pending, as: 'resourcesPending'
|
445
|
+
property :resources_scanned, as: 'resourcesScanned'
|
446
|
+
property :start_time, as: 'startTime'
|
447
|
+
property :state, as: 'state'
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
451
|
+
class GoogleCloudPolicysimulatorV1betaExplainedAccess
|
452
|
+
# @private
|
453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
454
|
+
property :access_state, as: 'accessState'
|
455
|
+
collection :errors, as: 'errors', class: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus, decorator: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus::Representation
|
456
|
+
|
457
|
+
collection :policies, as: 'policies', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedPolicy, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedPolicy::Representation
|
458
|
+
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
|
+
class GoogleCloudPolicysimulatorV1betaExplainedPolicy
|
463
|
+
# @private
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
465
|
+
property :access, as: 'access'
|
466
|
+
collection :binding_explanations, as: 'bindingExplanations', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanation, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanation::Representation
|
467
|
+
|
468
|
+
property :full_resource_name, as: 'fullResourceName'
|
469
|
+
property :policy, as: 'policy', class: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy, decorator: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy::Representation
|
470
|
+
|
471
|
+
property :relevance, as: 'relevance'
|
472
|
+
end
|
473
|
+
end
|
474
|
+
|
475
|
+
class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata
|
476
|
+
# @private
|
477
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
478
|
+
property :request_time, as: 'requestTime'
|
479
|
+
property :resources_found, as: 'resourcesFound'
|
480
|
+
property :resources_pending, as: 'resourcesPending'
|
481
|
+
property :resources_scanned, as: 'resourcesScanned'
|
482
|
+
property :start_time, as: 'startTime'
|
483
|
+
property :state, as: 'state'
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
487
|
+
class GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsPreviewsResponse
|
488
|
+
# @private
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
490
|
+
property :next_page_token, as: 'nextPageToken'
|
491
|
+
collection :org_policy_violations_previews, as: 'orgPolicyViolationsPreviews', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview::Representation
|
492
|
+
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
class GoogleCloudPolicysimulatorV1betaListOrgPolicyViolationsResponse
|
497
|
+
# @private
|
498
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
499
|
+
property :next_page_token, as: 'nextPageToken'
|
500
|
+
collection :org_policy_violations, as: 'orgPolicyViolations', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyViolation, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyViolation::Representation
|
501
|
+
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
505
|
+
class GoogleCloudPolicysimulatorV1betaListReplayResultsResponse
|
506
|
+
# @private
|
507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
508
|
+
property :next_page_token, as: 'nextPageToken'
|
509
|
+
collection :replay_results, as: 'replayResults', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResult, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResult::Representation
|
510
|
+
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
514
|
+
class GoogleCloudPolicysimulatorV1betaListReplaysResponse
|
515
|
+
# @private
|
516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
517
|
+
property :next_page_token, as: 'nextPageToken'
|
518
|
+
collection :replays, as: 'replays', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplay, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplay::Representation
|
519
|
+
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
523
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay
|
524
|
+
# @private
|
525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
526
|
+
collection :custom_constraints, as: 'customConstraints', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay::Representation
|
527
|
+
|
528
|
+
collection :policies, as: 'policies', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay::Representation
|
529
|
+
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay
|
534
|
+
# @private
|
535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
536
|
+
property :custom_constraint, as: 'customConstraint', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2CustomConstraint, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2CustomConstraint::Representation
|
537
|
+
|
538
|
+
property :custom_constraint_parent, as: 'customConstraintParent'
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay
|
543
|
+
# @private
|
544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
+
property :policy, as: 'policy', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2Policy, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2Policy::Representation
|
546
|
+
|
547
|
+
property :policy_parent, as: 'policyParent'
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolation
|
552
|
+
# @private
|
553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
554
|
+
property :custom_constraint, as: 'customConstraint', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2CustomConstraint, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudOrgpolicyV2CustomConstraint::Representation
|
555
|
+
|
556
|
+
property :error, as: 'error', class: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus, decorator: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus::Representation
|
557
|
+
|
558
|
+
property :name, as: 'name'
|
559
|
+
property :resource, as: 'resource', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaResourceContext, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaResourceContext::Representation
|
560
|
+
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
564
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview
|
565
|
+
# @private
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
567
|
+
property :create_time, as: 'createTime'
|
568
|
+
collection :custom_constraints, as: 'customConstraints'
|
569
|
+
property :name, as: 'name'
|
570
|
+
property :overlay, as: 'overlay', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay::Representation
|
571
|
+
|
572
|
+
property :resource_counts, as: 'resourceCounts', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts::Representation
|
573
|
+
|
574
|
+
property :state, as: 'state'
|
575
|
+
property :violations_count, as: 'violationsCount'
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
579
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts
|
580
|
+
# @private
|
581
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
582
|
+
property :compliant, as: 'compliant'
|
583
|
+
property :errors, as: 'errors'
|
584
|
+
property :noncompliant, as: 'noncompliant'
|
585
|
+
property :scanned, as: 'scanned'
|
586
|
+
property :unenforced, as: 'unenforced'
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
class GoogleCloudPolicysimulatorV1betaReplay
|
591
|
+
# @private
|
592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
593
|
+
property :config, as: 'config', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayConfig, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayConfig::Representation
|
594
|
+
|
595
|
+
property :name, as: 'name'
|
596
|
+
property :results_summary, as: 'resultsSummary', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResultsSummary, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResultsSummary::Representation
|
597
|
+
|
598
|
+
property :state, as: 'state'
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
class GoogleCloudPolicysimulatorV1betaReplayConfig
|
603
|
+
# @private
|
604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
property :log_source, as: 'logSource'
|
606
|
+
hash :policy_overlay, as: 'policyOverlay', class: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy, decorator: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy::Representation
|
607
|
+
|
608
|
+
end
|
609
|
+
end
|
610
|
+
|
611
|
+
class GoogleCloudPolicysimulatorV1betaReplayDiff
|
612
|
+
# @private
|
613
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
614
|
+
property :access_diff, as: 'accessDiff', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessStateDiff, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessStateDiff::Representation
|
615
|
+
|
616
|
+
end
|
617
|
+
end
|
618
|
+
|
619
|
+
class GoogleCloudPolicysimulatorV1betaReplayResult
|
620
|
+
# @private
|
621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
622
|
+
property :access_tuple, as: 'accessTuple', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessTuple, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessTuple::Representation
|
623
|
+
|
624
|
+
property :diff, as: 'diff', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayDiff, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayDiff::Representation
|
625
|
+
|
626
|
+
property :error, as: 'error', class: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus, decorator: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus::Representation
|
627
|
+
|
628
|
+
property :last_seen_date, as: 'lastSeenDate', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate::Representation
|
629
|
+
|
630
|
+
property :name, as: 'name'
|
631
|
+
property :parent, as: 'parent'
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
635
|
+
class GoogleCloudPolicysimulatorV1betaReplayResultsSummary
|
636
|
+
# @private
|
637
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
638
|
+
property :difference_count, as: 'differenceCount'
|
639
|
+
property :error_count, as: 'errorCount'
|
640
|
+
property :log_count, as: 'logCount'
|
641
|
+
property :newest_date, as: 'newestDate', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate::Representation
|
642
|
+
|
643
|
+
property :oldest_date, as: 'oldestDate', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate::Representation
|
644
|
+
|
645
|
+
property :unchanged_count, as: 'unchangedCount'
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
649
|
+
class GoogleCloudPolicysimulatorV1betaResourceContext
|
650
|
+
# @private
|
651
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
652
|
+
collection :ancestors, as: 'ancestors'
|
653
|
+
property :asset_type, as: 'assetType'
|
654
|
+
property :resource, as: 'resource'
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
145
658
|
class GoogleIamV1AuditConfig
|
146
659
|
# @private
|
147
660
|
class Representation < Google::Apis::Core::JsonRepresentation
|