google-apis-policysimulator_v1beta 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.3.0"
19
+ GEM_VERSION = "0.5.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 = "20230806"
25
+ REVISION = "20230917"
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
 
@@ -386,6 +464,8 @@ module Google
386
464
  class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview
387
465
  # @private
388
466
  class Representation < Google::Apis::Core::JsonRepresentation
467
+ property :create_time, as: 'createTime'
468
+ collection :custom_constraints, as: 'customConstraints'
389
469
  property :name, as: 'name'
390
470
  property :overlay, as: 'overlay', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay::Representation
391
471
 
@@ -407,6 +487,73 @@ module Google
407
487
  end
408
488
  end
409
489
 
490
+ class GoogleCloudPolicysimulatorV1betaAccessStateDiff
491
+ # @private
492
+ class Representation < Google::Apis::Core::JsonRepresentation
493
+ property :access_change, as: 'accessChange'
494
+ property :baseline, as: 'baseline', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess::Representation
495
+
496
+ property :simulated, as: 'simulated', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedAccess::Representation
497
+
498
+ end
499
+ end
500
+
501
+ class GoogleCloudPolicysimulatorV1betaAccessTuple
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ property :full_resource_name, as: 'fullResourceName'
505
+ property :permission, as: 'permission'
506
+ property :principal, as: 'principal'
507
+ end
508
+ end
509
+
510
+ class GoogleCloudPolicysimulatorV1betaBindingExplanation
511
+ # @private
512
+ class Representation < Google::Apis::Core::JsonRepresentation
513
+ property :access, as: 'access'
514
+ property :condition, as: 'condition', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeExpr, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeExpr::Representation
515
+
516
+ hash :memberships, as: 'memberships', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership::Representation
517
+
518
+ property :relevance, as: 'relevance'
519
+ property :role, as: 'role'
520
+ property :role_permission, as: 'rolePermission'
521
+ property :role_permission_relevance, as: 'rolePermissionRelevance'
522
+ end
523
+ end
524
+
525
+ class GoogleCloudPolicysimulatorV1betaBindingExplanationAnnotatedMembership
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :membership, as: 'membership'
529
+ property :relevance, as: 'relevance'
530
+ end
531
+ end
532
+
533
+ class GoogleCloudPolicysimulatorV1betaExplainedAccess
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :access_state, as: 'accessState'
537
+ collection :errors, as: 'errors', class: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus, decorator: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus::Representation
538
+
539
+ collection :policies, as: 'policies', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedPolicy, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaExplainedPolicy::Representation
540
+
541
+ end
542
+ end
543
+
544
+ class GoogleCloudPolicysimulatorV1betaExplainedPolicy
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ property :access, as: 'access'
548
+ collection :binding_explanations, as: 'bindingExplanations', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanation, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaBindingExplanation::Representation
549
+
550
+ property :full_resource_name, as: 'fullResourceName'
551
+ property :policy, as: 'policy', class: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy, decorator: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy::Representation
552
+
553
+ property :relevance, as: 'relevance'
554
+ end
555
+ end
556
+
410
557
  class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata
411
558
  # @private
412
559
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -437,6 +584,24 @@ module Google
437
584
  end
438
585
  end
439
586
 
587
+ class GoogleCloudPolicysimulatorV1betaListReplayResultsResponse
588
+ # @private
589
+ class Representation < Google::Apis::Core::JsonRepresentation
590
+ property :next_page_token, as: 'nextPageToken'
591
+ collection :replay_results, as: 'replayResults', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResult, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResult::Representation
592
+
593
+ end
594
+ end
595
+
596
+ class GoogleCloudPolicysimulatorV1betaListReplaysResponse
597
+ # @private
598
+ class Representation < Google::Apis::Core::JsonRepresentation
599
+ property :next_page_token, as: 'nextPageToken'
600
+ collection :replays, as: 'replays', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplay, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplay::Representation
601
+
602
+ end
603
+ end
604
+
440
605
  class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay
441
606
  # @private
442
607
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -481,6 +646,8 @@ module Google
481
646
  class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview
482
647
  # @private
483
648
  class Representation < Google::Apis::Core::JsonRepresentation
649
+ property :create_time, as: 'createTime'
650
+ collection :custom_constraints, as: 'customConstraints'
484
651
  property :name, as: 'name'
485
652
  property :overlay, as: 'overlay', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay::Representation
486
653
 
@@ -502,6 +669,65 @@ module Google
502
669
  end
503
670
  end
504
671
 
672
+ class GoogleCloudPolicysimulatorV1betaReplay
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :config, as: 'config', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayConfig, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayConfig::Representation
676
+
677
+ property :name, as: 'name'
678
+ property :results_summary, as: 'resultsSummary', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResultsSummary, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResultsSummary::Representation
679
+
680
+ property :state, as: 'state'
681
+ end
682
+ end
683
+
684
+ class GoogleCloudPolicysimulatorV1betaReplayConfig
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ property :log_source, as: 'logSource'
688
+ hash :policy_overlay, as: 'policyOverlay', class: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy, decorator: Google::Apis::PolicysimulatorV1beta::GoogleIamV1Policy::Representation
689
+
690
+ end
691
+ end
692
+
693
+ class GoogleCloudPolicysimulatorV1betaReplayDiff
694
+ # @private
695
+ class Representation < Google::Apis::Core::JsonRepresentation
696
+ property :access_diff, as: 'accessDiff', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessStateDiff, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessStateDiff::Representation
697
+
698
+ end
699
+ end
700
+
701
+ class GoogleCloudPolicysimulatorV1betaReplayResult
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :access_tuple, as: 'accessTuple', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessTuple, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaAccessTuple::Representation
705
+
706
+ property :diff, as: 'diff', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayDiff, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayDiff::Representation
707
+
708
+ property :error, as: 'error', class: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus, decorator: Google::Apis::PolicysimulatorV1beta::GoogleRpcStatus::Representation
709
+
710
+ property :last_seen_date, as: 'lastSeenDate', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate::Representation
711
+
712
+ property :name, as: 'name'
713
+ property :parent, as: 'parent'
714
+ end
715
+ end
716
+
717
+ class GoogleCloudPolicysimulatorV1betaReplayResultsSummary
718
+ # @private
719
+ class Representation < Google::Apis::Core::JsonRepresentation
720
+ property :difference_count, as: 'differenceCount'
721
+ property :error_count, as: 'errorCount'
722
+ property :log_count, as: 'logCount'
723
+ property :newest_date, as: 'newestDate', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate::Representation
724
+
725
+ property :oldest_date, as: 'oldestDate', class: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate, decorator: Google::Apis::PolicysimulatorV1beta::GoogleTypeDate::Representation
726
+
727
+ property :unchanged_count, as: 'unchangedCount'
728
+ end
729
+ end
730
+
505
731
  class GoogleCloudPolicysimulatorV1betaResourceContext
506
732
  # @private
507
733
  class Representation < Google::Apis::Core::JsonRepresentation