google-apis-policysimulator_v1beta 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/policysimulator_v1beta/classes.rb +48 -6
- data/lib/google/apis/policysimulator_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/policysimulator_v1beta/representations.rb +4 -0
- data/lib/google/apis/policysimulator_v1beta/service.rb +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7815a24148fe8bc65f664c7d12d3590830c83ea674e1777498eb738db96af971
|
4
|
+
data.tar.gz: e5cdb4027cf9788bcad2b6bd0abf45e46297271089ac2981402d602d0f4ca84c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 915a4acf123c3e838d63d7589b9104e13485c6ef7d85d84aeaba75a22e44f305a9caa454c45ba5db03030e38844bbe7a994ba458b289255693c38b266c4a203a
|
7
|
+
data.tar.gz: b8f866295b57cfe27b71616a8c41e1e094b0f579a406bcd3baa2776551439eacc753aa6872a24f79af6651f960c829183360637d41ab5f7b615270498d39d86a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-policysimulator_v1beta
|
2
2
|
|
3
|
+
### v0.6.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231203
|
6
|
+
|
7
|
+
### v0.5.0 (2023-09-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230917
|
10
|
+
|
3
11
|
### v0.4.0 (2023-09-10)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230904
|
@@ -179,11 +179,11 @@ module Google
|
|
179
179
|
class GoogleCloudOrgpolicyV2PolicySpec
|
180
180
|
include Google::Apis::Core::Hashable
|
181
181
|
|
182
|
-
# An opaque tag indicating the current version of the
|
182
|
+
# An opaque tag indicating the current version of the policySpec, used for
|
183
183
|
# concurrency control. This field is ignored if used in a `CreatePolicy` request.
|
184
|
-
# When the policy
|
185
|
-
# request, this `etag` indicates the version of the current
|
186
|
-
# executing a read-modify-write loop. When the policy is returned from a `
|
184
|
+
# When the policy is returned from either a `GetPolicy` or a `ListPolicies`
|
185
|
+
# request, this `etag` indicates the version of the current policySpec to use
|
186
|
+
# when executing a read-modify-write loop. When the policy is returned from a `
|
187
187
|
# GetEffectivePolicy` request, the `etag` will be unset.
|
188
188
|
# Corresponds to the JSON property `etag`
|
189
189
|
# @return [String]
|
@@ -564,7 +564,10 @@ module Google
|
|
564
564
|
# The OrgPolicy CustomConstraint changes to preview violations for. Any existing
|
565
565
|
# CustomConstraints with the same name will be overridden in the simulation.
|
566
566
|
# That is, violations will be determined as if all custom constraints in the
|
567
|
-
# overlay were instantiated.
|
567
|
+
# overlay were instantiated. Only a single custom_constraint is supported in the
|
568
|
+
# overlay at a time. For evaluating multiple constraints, multiple `
|
569
|
+
# GenerateOrgPolicyViolationsPreview` requests are made, where each request
|
570
|
+
# evaluates a single constraint.
|
568
571
|
# Corresponds to the JSON property `customConstraints`
|
569
572
|
# @return [Array<Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay>]
|
570
573
|
attr_accessor :custom_constraints
|
@@ -649,6 +652,22 @@ module Google
|
|
649
652
|
class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview
|
650
653
|
include Google::Apis::Core::Hashable
|
651
654
|
|
655
|
+
# Output only. Time when this `OrgPolicyViolationsPreview` was created.
|
656
|
+
# Corresponds to the JSON property `createTime`
|
657
|
+
# @return [String]
|
658
|
+
attr_accessor :create_time
|
659
|
+
|
660
|
+
# Output only. The names of the constraints against which all `
|
661
|
+
# OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains `
|
662
|
+
# PolicyOverlay` then it contains the name of the configured custom constraint,
|
663
|
+
# applicable to the specified policies. Otherwise it contains the name of the
|
664
|
+
# constraint specified in `CustomConstraintOverlay`. Format: `organizations/`
|
665
|
+
# organization_id`/customConstraints/`custom_constraint_id`` Example: `
|
666
|
+
# organizations/123/customConstraints/custom.createOnlyE2TypeVms`
|
667
|
+
# Corresponds to the JSON property `customConstraints`
|
668
|
+
# @return [Array<String>]
|
669
|
+
attr_accessor :custom_constraints
|
670
|
+
|
652
671
|
# Output only. The resource name of the `OrgPolicyViolationsPreview`. It has the
|
653
672
|
# following format: `organizations/`organization`/locations/`location`/
|
654
673
|
# orgPolicyViolationsPreviews/`orgPolicyViolationsPreview`` Example: `
|
@@ -690,6 +709,8 @@ module Google
|
|
690
709
|
|
691
710
|
# Update properties of this object
|
692
711
|
def update!(**args)
|
712
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
713
|
+
@custom_constraints = args[:custom_constraints] if args.key?(:custom_constraints)
|
693
714
|
@name = args[:name] if args.key?(:name)
|
694
715
|
@overlay = args[:overlay] if args.key?(:overlay)
|
695
716
|
@resource_counts = args[:resource_counts] if args.key?(:resource_counts)
|
@@ -1223,7 +1244,10 @@ module Google
|
|
1223
1244
|
# The OrgPolicy CustomConstraint changes to preview violations for. Any existing
|
1224
1245
|
# CustomConstraints with the same name will be overridden in the simulation.
|
1225
1246
|
# That is, violations will be determined as if all custom constraints in the
|
1226
|
-
# overlay were instantiated.
|
1247
|
+
# overlay were instantiated. Only a single custom_constraint is supported in the
|
1248
|
+
# overlay at a time. For evaluating multiple constraints, multiple `
|
1249
|
+
# GenerateOrgPolicyViolationsPreview` requests are made, where each request
|
1250
|
+
# evaluates a single constraint.
|
1227
1251
|
# Corresponds to the JSON property `customConstraints`
|
1228
1252
|
# @return [Array<Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay>]
|
1229
1253
|
attr_accessor :custom_constraints
|
@@ -1357,6 +1381,22 @@ module Google
|
|
1357
1381
|
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview
|
1358
1382
|
include Google::Apis::Core::Hashable
|
1359
1383
|
|
1384
|
+
# Output only. Time when this `OrgPolicyViolationsPreview` was created.
|
1385
|
+
# Corresponds to the JSON property `createTime`
|
1386
|
+
# @return [String]
|
1387
|
+
attr_accessor :create_time
|
1388
|
+
|
1389
|
+
# Output only. The names of the constraints against which all `
|
1390
|
+
# OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains `
|
1391
|
+
# PolicyOverlay` then it contains the name of the configured custom constraint,
|
1392
|
+
# applicable to the specified policies. Otherwise it contains the name of the
|
1393
|
+
# constraint specified in `CustomConstraintOverlay`. Format: `organizations/`
|
1394
|
+
# organization_id`/customConstraints/`custom_constraint_id`` Example: `
|
1395
|
+
# organizations/123/customConstraints/custom.createOnlyE2TypeVms`
|
1396
|
+
# Corresponds to the JSON property `customConstraints`
|
1397
|
+
# @return [Array<String>]
|
1398
|
+
attr_accessor :custom_constraints
|
1399
|
+
|
1360
1400
|
# Output only. The resource name of the `OrgPolicyViolationsPreview`. It has the
|
1361
1401
|
# following format: `organizations/`organization`/locations/`location`/
|
1362
1402
|
# orgPolicyViolationsPreviews/`orgPolicyViolationsPreview`` Example: `
|
@@ -1398,6 +1438,8 @@ module Google
|
|
1398
1438
|
|
1399
1439
|
# Update properties of this object
|
1400
1440
|
def update!(**args)
|
1441
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1442
|
+
@custom_constraints = args[:custom_constraints] if args.key?(:custom_constraints)
|
1401
1443
|
@name = args[:name] if args.key?(:name)
|
1402
1444
|
@overlay = args[:overlay] if args.key?(:overlay)
|
1403
1445
|
@resource_counts = args[:resource_counts] if args.key?(:resource_counts)
|
@@ -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.6.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 = "20231203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -464,6 +464,8 @@ module Google
|
|
464
464
|
class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview
|
465
465
|
# @private
|
466
466
|
class Representation < Google::Apis::Core::JsonRepresentation
|
467
|
+
property :create_time, as: 'createTime'
|
468
|
+
collection :custom_constraints, as: 'customConstraints'
|
467
469
|
property :name, as: 'name'
|
468
470
|
property :overlay, as: 'overlay', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay::Representation
|
469
471
|
|
@@ -644,6 +646,8 @@ module Google
|
|
644
646
|
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview
|
645
647
|
# @private
|
646
648
|
class Representation < Google::Apis::Core::JsonRepresentation
|
649
|
+
property :create_time, as: 'createTime'
|
650
|
+
collection :custom_constraints, as: 'customConstraints'
|
647
651
|
property :name, as: 'name'
|
648
652
|
property :overlay, as: 'overlay', class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay, decorator: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay::Representation
|
649
653
|
|
@@ -459,8 +459,9 @@ module Google
|
|
459
459
|
# ListOrgPolicyViolationsPreviews lists each OrgPolicyViolationsPreview in an
|
460
460
|
# organization. Each OrgPolicyViolationsPreview is available for at least 7 days.
|
461
461
|
# @param [String] parent
|
462
|
-
# Required. The parent the violations are scoped to. Format: organizations/`
|
463
|
-
# organization`
|
462
|
+
# Required. The parent the violations are scoped to. Format: `organizations/`
|
463
|
+
# organization`/locations/`location`` Example: `organizations/my-example-org/
|
464
|
+
# locations/global`
|
464
465
|
# @param [Fixnum] page_size
|
465
466
|
# The maximum number of items to return. The service may return fewer than this
|
466
467
|
# value. If unspecified, at most 5 items will be returned. The maximum value is
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-policysimulator_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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: 2023-
|
11
|
+
date: 2023-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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-policysimulator_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1beta/v0.6.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|