google-apis-policysimulator_v1beta 0.2.0 → 0.4.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 +8 -0
- data/lib/google/apis/policysimulator_v1beta/classes.rb +628 -29
- data/lib/google/apis/policysimulator_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/policysimulator_v1beta/representations.rb +222 -0
- data/lib/google/apis/policysimulator_v1beta/service.rb +477 -0
- metadata +4 -4
@@ -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.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230904"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,42 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class GoogleCloudPolicysimulatorV1betaAccessStateDiff
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class GoogleCloudPolicysimulatorV1betaAccessTuple
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GoogleCloudPolicysimulatorV1betaBindingExplanation
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GoogleCloudPolicysimulatorV1betaExplainedAccess
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class GoogleCloudPolicysimulatorV1betaExplainedPolicy
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
121
157
|
class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata
|
122
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
159
|
|
@@ -136,6 +172,18 @@ module Google
|
|
136
172
|
include Google::Apis::Core::JsonObjectSupport
|
137
173
|
end
|
138
174
|
|
175
|
+
class GoogleCloudPolicysimulatorV1betaListReplayResultsResponse
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class GoogleCloudPolicysimulatorV1betaListReplaysResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
139
187
|
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay
|
140
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
189
|
|
@@ -172,6 +220,36 @@ module Google
|
|
172
220
|
include Google::Apis::Core::JsonObjectSupport
|
173
221
|
end
|
174
222
|
|
223
|
+
class GoogleCloudPolicysimulatorV1betaReplay
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class GoogleCloudPolicysimulatorV1betaReplayConfig
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class GoogleCloudPolicysimulatorV1betaReplayDiff
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class GoogleCloudPolicysimulatorV1betaReplayResult
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleCloudPolicysimulatorV1betaReplayResultsSummary
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
175
253
|
class GoogleCloudPolicysimulatorV1betaResourceContext
|
176
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
255
|
|
@@ -407,6 +485,73 @@ module Google
|
|
407
485
|
end
|
408
486
|
end
|
409
487
|
|
488
|
+
class GoogleCloudPolicysimulatorV1betaAccessStateDiff
|
489
|
+
# @private
|
490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
491
|
+
property :access_change, as: 'accessChange'
|
492
|
+
property :baseline, as: 'baseline', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess::Representation
|
493
|
+
|
494
|
+
property :simulated, as: 'simulated', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess::Representation
|
495
|
+
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
class GoogleCloudPolicysimulatorV1betaAccessTuple
|
500
|
+
# @private
|
501
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
502
|
+
property :full_resource_name, as: 'fullResourceName'
|
503
|
+
property :permission, as: 'permission'
|
504
|
+
property :principal, as: 'principal'
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
class GoogleCloudPolicysimulatorV1betaBindingExplanation
|
509
|
+
# @private
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
511
|
+
property :access, as: 'access'
|
512
|
+
property :condition, as: 'condition', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeExpr, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeExpr::Representation
|
513
|
+
|
514
|
+
hash :memberships, as: 'memberships', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership::Representation
|
515
|
+
|
516
|
+
property :relevance, as: 'relevance'
|
517
|
+
property :role, as: 'role'
|
518
|
+
property :role_permission, as: 'rolePermission'
|
519
|
+
property :role_permission_relevance, as: 'rolePermissionRelevance'
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
523
|
+
class GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership
|
524
|
+
# @private
|
525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
526
|
+
property :membership, as: 'membership'
|
527
|
+
property :relevance, as: 'relevance'
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
class GoogleCloudPolicysimulatorV1betaExplainedAccess
|
532
|
+
# @private
|
533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
534
|
+
property :access_state, as: 'accessState'
|
535
|
+
collection :errors, as: 'errors', class: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus, decorator: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus::Representation
|
536
|
+
|
537
|
+
collection :policies, as: 'policies', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedPolicy, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedPolicy::Representation
|
538
|
+
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
class GoogleCloudPolicysimulatorV1betaExplainedPolicy
|
543
|
+
# @private
|
544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
+
property :access, as: 'access'
|
546
|
+
collection :binding_explanations, as: 'bindingExplanations', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanation, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanation::Representation
|
547
|
+
|
548
|
+
property :full_resource_name, as: 'fullResourceName'
|
549
|
+
property :policy, as: 'policy', class: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy, decorator: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy::Representation
|
550
|
+
|
551
|
+
property :relevance, as: 'relevance'
|
552
|
+
end
|
553
|
+
end
|
554
|
+
|
410
555
|
class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata
|
411
556
|
# @private
|
412
557
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -437,6 +582,24 @@ module Google
|
|
437
582
|
end
|
438
583
|
end
|
439
584
|
|
585
|
+
class GoogleCloudPolicysimulatorV1betaListReplayResultsResponse
|
586
|
+
# @private
|
587
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
588
|
+
property :next_page_token, as: 'nextPageToken'
|
589
|
+
collection :replay_results, as: 'replayResults', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResult, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResult::Representation
|
590
|
+
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
class GoogleCloudPolicysimulatorV1betaListReplaysResponse
|
595
|
+
# @private
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
597
|
+
property :next_page_token, as: 'nextPageToken'
|
598
|
+
collection :replays, as: 'replays', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplay, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplay::Representation
|
599
|
+
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
440
603
|
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay
|
441
604
|
# @private
|
442
605
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -502,6 +665,65 @@ module Google
|
|
502
665
|
end
|
503
666
|
end
|
504
667
|
|
668
|
+
class GoogleCloudPolicysimulatorV1betaReplay
|
669
|
+
# @private
|
670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
671
|
+
property :config, as: 'config', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayConfig, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayConfig::Representation
|
672
|
+
|
673
|
+
property :name, as: 'name'
|
674
|
+
property :results_summary, as: 'resultsSummary', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResultsSummary, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResultsSummary::Representation
|
675
|
+
|
676
|
+
property :state, as: 'state'
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
680
|
+
class GoogleCloudPolicysimulatorV1betaReplayConfig
|
681
|
+
# @private
|
682
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
683
|
+
property :log_source, as: 'logSource'
|
684
|
+
hash :policy_overlay, as: 'policyOverlay', class: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy, decorator: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy::Representation
|
685
|
+
|
686
|
+
end
|
687
|
+
end
|
688
|
+
|
689
|
+
class GoogleCloudPolicysimulatorV1betaReplayDiff
|
690
|
+
# @private
|
691
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
692
|
+
property :access_diff, as: 'accessDiff', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessStateDiff, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessStateDiff::Representation
|
693
|
+
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
class GoogleCloudPolicysimulatorV1betaReplayResult
|
698
|
+
# @private
|
699
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
700
|
+
property :access_tuple, as: 'accessTuple', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessTuple, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessTuple::Representation
|
701
|
+
|
702
|
+
property :diff, as: 'diff', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayDiff, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayDiff::Representation
|
703
|
+
|
704
|
+
property :error, as: 'error', class: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus, decorator: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus::Representation
|
705
|
+
|
706
|
+
property :last_seen_date, as: 'lastSeenDate', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate::Representation
|
707
|
+
|
708
|
+
property :name, as: 'name'
|
709
|
+
property :parent, as: 'parent'
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
class GoogleCloudPolicysimulatorV1betaReplayResultsSummary
|
714
|
+
# @private
|
715
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
716
|
+
property :difference_count, as: 'differenceCount'
|
717
|
+
property :error_count, as: 'errorCount'
|
718
|
+
property :log_count, as: 'logCount'
|
719
|
+
property :newest_date, as: 'newestDate', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate::Representation
|
720
|
+
|
721
|
+
property :oldest_date, as: 'oldestDate', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate::Representation
|
722
|
+
|
723
|
+
property :unchanged_count, as: 'unchangedCount'
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
505
727
|
class GoogleCloudPolicysimulatorV1betaResourceContext
|
506
728
|
# @private
|
507
729
|
class Representation < Google::Apis::Core::JsonRepresentation
|