google-apis-policysimulator_v1alpha 0.11.0 → 0.13.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_v1alpha/classes.rb +48 -6
- data/lib/google/apis/policysimulator_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/policysimulator_v1alpha/representations.rb +4 -0
- data/lib/google/apis/policysimulator_v1alpha/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: 86bd17c2d4ec080055055e075d42ac334b3d0b48958882210c30cb4c8c2834b4
|
4
|
+
data.tar.gz: db96185bc99d41dd8e4be25b86576f773334867a42a87624ad07d8cba302eb95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 100adbdec5fb443150f89e86a0f277092b66e72d1a190546f29420553eb1b7efc046456541c76e144f23804bd10fd7033ec6f32356b983f18d927af1766196ae
|
7
|
+
data.tar.gz: fb64ec10c16eafe2da2a88a27936c25a7be0bf2b6da535926ecb9cd2ef8d3b1ac67b0babc9923dba38c9219332fa49c75c48a605114b620fcfdfd08b57c02951
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-policysimulator_v1alpha
|
2
2
|
|
3
|
+
### v0.13.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231203
|
6
|
+
|
7
|
+
### v0.12.0 (2023-09-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230917
|
10
|
+
|
3
11
|
### v0.11.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]
|
@@ -984,7 +984,10 @@ module Google
|
|
984
984
|
# The OrgPolicy CustomConstraint changes to preview violations for. Any existing
|
985
985
|
# CustomConstraints with the same name will be overridden in the simulation.
|
986
986
|
# That is, violations will be determined as if all custom constraints in the
|
987
|
-
# overlay were instantiated.
|
987
|
+
# overlay were instantiated. Only a single custom_constraint is supported in the
|
988
|
+
# overlay at a time. For evaluating multiple constraints, multiple `
|
989
|
+
# GenerateOrgPolicyViolationsPreview` requests are made, where each request
|
990
|
+
# evaluates a single constraint.
|
988
991
|
# Corresponds to the JSON property `customConstraints`
|
989
992
|
# @return [Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay>]
|
990
993
|
attr_accessor :custom_constraints
|
@@ -1118,6 +1121,22 @@ module Google
|
|
1118
1121
|
class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview
|
1119
1122
|
include Google::Apis::Core::Hashable
|
1120
1123
|
|
1124
|
+
# Output only. Time when this `OrgPolicyViolationsPreview` was created.
|
1125
|
+
# Corresponds to the JSON property `createTime`
|
1126
|
+
# @return [String]
|
1127
|
+
attr_accessor :create_time
|
1128
|
+
|
1129
|
+
# Output only. The names of the constraints against which all `
|
1130
|
+
# OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains `
|
1131
|
+
# PolicyOverlay` then it contains the name of the configured custom constraint,
|
1132
|
+
# applicable to the specified policies. Otherwise it contains the name of the
|
1133
|
+
# constraint specified in `CustomConstraintOverlay`. Format: `organizations/`
|
1134
|
+
# organization_id`/customConstraints/`custom_constraint_id`` Example: `
|
1135
|
+
# organizations/123/customConstraints/custom.createOnlyE2TypeVms`
|
1136
|
+
# Corresponds to the JSON property `customConstraints`
|
1137
|
+
# @return [Array<String>]
|
1138
|
+
attr_accessor :custom_constraints
|
1139
|
+
|
1121
1140
|
# Output only. The resource name of the `OrgPolicyViolationsPreview`. It has the
|
1122
1141
|
# following format: `organizations/`organization`/locations/`location`/
|
1123
1142
|
# orgPolicyViolationsPreviews/`orgPolicyViolationsPreview`` Example: `
|
@@ -1159,6 +1178,8 @@ module Google
|
|
1159
1178
|
|
1160
1179
|
# Update properties of this object
|
1161
1180
|
def update!(**args)
|
1181
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1182
|
+
@custom_constraints = args[:custom_constraints] if args.key?(:custom_constraints)
|
1162
1183
|
@name = args[:name] if args.key?(:name)
|
1163
1184
|
@overlay = args[:overlay] if args.key?(:overlay)
|
1164
1185
|
@resource_counts = args[:resource_counts] if args.key?(:resource_counts)
|
@@ -1546,7 +1567,10 @@ module Google
|
|
1546
1567
|
# The OrgPolicy CustomConstraint changes to preview violations for. Any existing
|
1547
1568
|
# CustomConstraints with the same name will be overridden in the simulation.
|
1548
1569
|
# That is, violations will be determined as if all custom constraints in the
|
1549
|
-
# overlay were instantiated.
|
1570
|
+
# overlay were instantiated. Only a single custom_constraint is supported in the
|
1571
|
+
# overlay at a time. For evaluating multiple constraints, multiple `
|
1572
|
+
# GenerateOrgPolicyViolationsPreview` requests are made, where each request
|
1573
|
+
# evaluates a single constraint.
|
1550
1574
|
# Corresponds to the JSON property `customConstraints`
|
1551
1575
|
# @return [Array<Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay>]
|
1552
1576
|
attr_accessor :custom_constraints
|
@@ -1631,6 +1655,22 @@ module Google
|
|
1631
1655
|
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview
|
1632
1656
|
include Google::Apis::Core::Hashable
|
1633
1657
|
|
1658
|
+
# Output only. Time when this `OrgPolicyViolationsPreview` was created.
|
1659
|
+
# Corresponds to the JSON property `createTime`
|
1660
|
+
# @return [String]
|
1661
|
+
attr_accessor :create_time
|
1662
|
+
|
1663
|
+
# Output only. The names of the constraints against which all `
|
1664
|
+
# OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains `
|
1665
|
+
# PolicyOverlay` then it contains the name of the configured custom constraint,
|
1666
|
+
# applicable to the specified policies. Otherwise it contains the name of the
|
1667
|
+
# constraint specified in `CustomConstraintOverlay`. Format: `organizations/`
|
1668
|
+
# organization_id`/customConstraints/`custom_constraint_id`` Example: `
|
1669
|
+
# organizations/123/customConstraints/custom.createOnlyE2TypeVms`
|
1670
|
+
# Corresponds to the JSON property `customConstraints`
|
1671
|
+
# @return [Array<String>]
|
1672
|
+
attr_accessor :custom_constraints
|
1673
|
+
|
1634
1674
|
# Output only. The resource name of the `OrgPolicyViolationsPreview`. It has the
|
1635
1675
|
# following format: `organizations/`organization`/locations/`location`/
|
1636
1676
|
# orgPolicyViolationsPreviews/`orgPolicyViolationsPreview`` Example: `
|
@@ -1672,6 +1712,8 @@ module Google
|
|
1672
1712
|
|
1673
1713
|
# Update properties of this object
|
1674
1714
|
def update!(**args)
|
1715
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1716
|
+
@custom_constraints = args[:custom_constraints] if args.key?(:custom_constraints)
|
1675
1717
|
@name = args[:name] if args.key?(:name)
|
1676
1718
|
@overlay = args[:overlay] if args.key?(:overlay)
|
1677
1719
|
@resource_counts = args[:resource_counts] if args.key?(:resource_counts)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module PolicysimulatorV1alpha
|
18
18
|
# Version of the google-apis-policysimulator_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.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
|
@@ -580,6 +580,8 @@ module Google
|
|
580
580
|
class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview
|
581
581
|
# @private
|
582
582
|
class Representation < Google::Apis::Core::JsonRepresentation
|
583
|
+
property :create_time, as: 'createTime'
|
584
|
+
collection :custom_constraints, as: 'customConstraints'
|
583
585
|
property :name, as: 'name'
|
584
586
|
property :overlay, as: 'overlay', class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay::Representation
|
585
587
|
|
@@ -712,6 +714,8 @@ module Google
|
|
712
714
|
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview
|
713
715
|
# @private
|
714
716
|
class Representation < Google::Apis::Core::JsonRepresentation
|
717
|
+
property :create_time, as: 'createTime'
|
718
|
+
collection :custom_constraints, as: 'customConstraints'
|
715
719
|
property :name, as: 'name'
|
716
720
|
property :overlay, as: 'overlay', class: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay, decorator: Google::Apis::PolicysimulatorV1alpha::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay::Representation
|
717
721
|
|
@@ -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_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1alpha/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|