google-apis-policysimulator_v1 0.31.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f1287de40c445e7a9ae6acd8b7a6450e1be2beb81bcae1c1b7fb6bdc0817a6c
4
- data.tar.gz: 134ed7571978c0c310b6446a41f3e7faa19ebe77f6517e2ffc8f0b97dfe52659
3
+ metadata.gz: b78a33d9b2aa75e1f2616666ffff57b50f1f7c25d960071f391b7d4fc9532495
4
+ data.tar.gz: 1fa0e0cd716006797299a25e44cecedc0a0ba9fb31647e39eb441a8333975d5b
5
5
  SHA512:
6
- metadata.gz: 5b526fd0cab74b1052140193bc2e3e21a555c586bd4417187882cc3e17a243c40295975f129f4364094fd195f20aff90074b7b0cc88129ccec3d5ba922d22fde
7
- data.tar.gz: 96342aa8b8bd36863bc8216ca9bbdff7f314cd5b4cc98dc802d9f9363a9ae7be62a3e865165b3540943efa18a7be57a216f009d9cfb7933e06d1045dd8830ef5
6
+ metadata.gz: 735fa7b83b8239493cd8fe40d634f7e3c2897f10eec33982ba2b52816c8e003eb9e3db4e255e161e0dda9e05ec1d5191c84db54e94ad6f530bd6610be891da58
7
+ data.tar.gz: 955d6ccd722fb9ef929189dd3d2577c8751b3b9268cecbe2e311987fd6f3d1bc594b494e7fd696eb79d2cdfcc6da85d8d50dd92e36b36c1a7cc522a774ff38b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-policysimulator_v1
2
2
 
3
+ ### v0.33.0 (2024-01-28)
4
+
5
+ * Regenerated from discovery document revision 20240121
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.32.0 (2024-01-22)
9
+
10
+ * Regenerated using generator version 0.13.0
11
+
3
12
  ### v0.31.0 (2023-12-24)
4
13
 
5
14
  * Regenerated from discovery document revision 20231217
@@ -1002,20 +1002,21 @@ module Google
1002
1002
  class GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay
1003
1003
  include Google::Apis::Core::Hashable
1004
1004
 
1005
- # The OrgPolicy CustomConstraint changes to preview violations for. Any existing
1006
- # CustomConstraints with the same name will be overridden in the simulation.
1007
- # That is, violations will be determined as if all custom constraints in the
1008
- # overlay were instantiated. Only a single custom_constraint is supported in the
1009
- # overlay at a time. For evaluating multiple constraints, multiple `
1010
- # GenerateOrgPolicyViolationsPreview` requests are made, where each request
1011
- # evaluates a single constraint.
1005
+ # Optional. The OrgPolicy CustomConstraint changes to preview violations for.
1006
+ # Any existing CustomConstraints with the same name will be overridden in the
1007
+ # simulation. That is, violations will be determined as if all custom
1008
+ # constraints in the overlay were instantiated. Only a single custom_constraint
1009
+ # is supported in the overlay at a time. For evaluating multiple constraints,
1010
+ # multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each
1011
+ # request evaluates a single constraint.
1012
1012
  # Corresponds to the JSON property `customConstraints`
1013
1013
  # @return [Array<Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay>]
1014
1014
  attr_accessor :custom_constraints
1015
1015
 
1016
- # The OrgPolicy changes to preview violations for. Any existing OrgPolicies with
1017
- # the same name will be overridden in the simulation. That is, violations will
1018
- # be determined as if all policies in the overlay were created or updated.
1016
+ # Optional. The OrgPolicy changes to preview violations for. Any existing
1017
+ # OrgPolicies with the same name will be overridden in the simulation. That is,
1018
+ # violations will be determined as if all policies in the overlay were created
1019
+ # or updated.
1019
1020
  # Corresponds to the JSON property `policies`
1020
1021
  # @return [Array<Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay>]
1021
1022
  attr_accessor :policies
@@ -1043,7 +1044,8 @@ module Google
1043
1044
  # @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2CustomConstraint]
1044
1045
  attr_accessor :custom_constraint
1045
1046
 
1046
- # Resource the constraint is attached to. Example: "organization/987654"
1047
+ # Optional. Resource the constraint is attached to. Example: "organization/
1048
+ # 987654"
1047
1049
  # Corresponds to the JSON property `customConstraintParent`
1048
1050
  # @return [String]
1049
1051
  attr_accessor :custom_constraint_parent
@@ -1069,7 +1071,8 @@ module Google
1069
1071
  # @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2Policy]
1070
1072
  attr_accessor :policy
1071
1073
 
1072
- # The parent of the policy we are attaching to. Example: "projects/123456"
1074
+ # Optional. The parent of the policy we are attaching to. Example: "projects/
1075
+ # 123456"
1073
1076
  # Corresponds to the JSON property `policyParent`
1074
1077
  # @return [String]
1075
1078
  attr_accessor :policy_parent
@@ -1165,29 +1168,29 @@ module Google
1165
1168
  class GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts
1166
1169
  include Google::Apis::Core::Hashable
1167
1170
 
1168
- # Number of scanned resources with zero violations.
1171
+ # Output only. Number of scanned resources with zero violations.
1169
1172
  # Corresponds to the JSON property `compliant`
1170
1173
  # @return [Fixnum]
1171
1174
  attr_accessor :compliant
1172
1175
 
1173
- # Number of resources that returned an error when scanned.
1176
+ # Output only. Number of resources that returned an error when scanned.
1174
1177
  # Corresponds to the JSON property `errors`
1175
1178
  # @return [Fixnum]
1176
1179
  attr_accessor :errors
1177
1180
 
1178
- # Number of scanned resources with at least one violation.
1181
+ # Output only. Number of scanned resources with at least one violation.
1179
1182
  # Corresponds to the JSON property `noncompliant`
1180
1183
  # @return [Fixnum]
1181
1184
  attr_accessor :noncompliant
1182
1185
 
1183
- # Number of resources checked for compliance. Must equal: unenforced +
1184
- # noncompliant + compliant + error
1186
+ # Output only. Number of resources checked for compliance. Must equal:
1187
+ # unenforced + noncompliant + compliant + error
1185
1188
  # Corresponds to the JSON property `scanned`
1186
1189
  # @return [Fixnum]
1187
1190
  attr_accessor :scanned
1188
1191
 
1189
- # Number of resources where the constraint was not enforced, i.e. the Policy set
1190
- # `enforced: false` for that resource.
1192
+ # Output only. Number of resources where the constraint was not enforced, i.e.
1193
+ # the Policy set `enforced: false` for that resource.
1191
1194
  # Corresponds to the JSON property `unenforced`
1192
1195
  # @return [Fixnum]
1193
1196
  attr_accessor :unenforced
@@ -1262,20 +1265,21 @@ module Google
1262
1265
  class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay
1263
1266
  include Google::Apis::Core::Hashable
1264
1267
 
1265
- # The OrgPolicy CustomConstraint changes to preview violations for. Any existing
1266
- # CustomConstraints with the same name will be overridden in the simulation.
1267
- # That is, violations will be determined as if all custom constraints in the
1268
- # overlay were instantiated. Only a single custom_constraint is supported in the
1269
- # overlay at a time. For evaluating multiple constraints, multiple `
1270
- # GenerateOrgPolicyViolationsPreview` requests are made, where each request
1271
- # evaluates a single constraint.
1268
+ # Optional. The OrgPolicy CustomConstraint changes to preview violations for.
1269
+ # Any existing CustomConstraints with the same name will be overridden in the
1270
+ # simulation. That is, violations will be determined as if all custom
1271
+ # constraints in the overlay were instantiated. Only a single custom_constraint
1272
+ # is supported in the overlay at a time. For evaluating multiple constraints,
1273
+ # multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each
1274
+ # request evaluates a single constraint.
1272
1275
  # Corresponds to the JSON property `customConstraints`
1273
1276
  # @return [Array<Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay>]
1274
1277
  attr_accessor :custom_constraints
1275
1278
 
1276
- # The OrgPolicy changes to preview violations for. Any existing OrgPolicies with
1277
- # the same name will be overridden in the simulation. That is, violations will
1278
- # be determined as if all policies in the overlay were created or updated.
1279
+ # Optional. The OrgPolicy changes to preview violations for. Any existing
1280
+ # OrgPolicies with the same name will be overridden in the simulation. That is,
1281
+ # violations will be determined as if all policies in the overlay were created
1282
+ # or updated.
1279
1283
  # Corresponds to the JSON property `policies`
1280
1284
  # @return [Array<Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay>]
1281
1285
  attr_accessor :policies
@@ -1303,7 +1307,8 @@ module Google
1303
1307
  # @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2CustomConstraint]
1304
1308
  attr_accessor :custom_constraint
1305
1309
 
1306
- # Resource the constraint is attached to. Example: "organization/987654"
1310
+ # Optional. Resource the constraint is attached to. Example: "organization/
1311
+ # 987654"
1307
1312
  # Corresponds to the JSON property `customConstraintParent`
1308
1313
  # @return [String]
1309
1314
  attr_accessor :custom_constraint_parent
@@ -1329,7 +1334,8 @@ module Google
1329
1334
  # @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2Policy]
1330
1335
  attr_accessor :policy
1331
1336
 
1332
- # The parent of the policy we are attaching to. Example: "projects/123456"
1337
+ # Optional. The parent of the policy we are attaching to. Example: "projects/
1338
+ # 123456"
1333
1339
  # Corresponds to the JSON property `policyParent`
1334
1340
  # @return [String]
1335
1341
  attr_accessor :policy_parent
@@ -1425,29 +1431,29 @@ module Google
1425
1431
  class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts
1426
1432
  include Google::Apis::Core::Hashable
1427
1433
 
1428
- # Number of scanned resources with zero violations.
1434
+ # Output only. Number of scanned resources with zero violations.
1429
1435
  # Corresponds to the JSON property `compliant`
1430
1436
  # @return [Fixnum]
1431
1437
  attr_accessor :compliant
1432
1438
 
1433
- # Number of resources that returned an error when scanned.
1439
+ # Output only. Number of resources that returned an error when scanned.
1434
1440
  # Corresponds to the JSON property `errors`
1435
1441
  # @return [Fixnum]
1436
1442
  attr_accessor :errors
1437
1443
 
1438
- # Number of scanned resources with at least one violation.
1444
+ # Output only. Number of scanned resources with at least one violation.
1439
1445
  # Corresponds to the JSON property `noncompliant`
1440
1446
  # @return [Fixnum]
1441
1447
  attr_accessor :noncompliant
1442
1448
 
1443
- # Number of resources checked for compliance. Must equal: unenforced +
1444
- # noncompliant + compliant + error
1449
+ # Output only. Number of resources checked for compliance. Must equal:
1450
+ # unenforced + noncompliant + compliant + error
1445
1451
  # Corresponds to the JSON property `scanned`
1446
1452
  # @return [Fixnum]
1447
1453
  attr_accessor :scanned
1448
1454
 
1449
- # Number of resources where the constraint was not enforced, i.e. the Policy set
1450
- # `enforced: false` for that resource.
1455
+ # Output only. Number of resources where the constraint was not enforced, i.e.
1456
+ # the Policy set `enforced: false` for that resource.
1451
1457
  # Corresponds to the JSON property `unenforced`
1452
1458
  # @return [Fixnum]
1453
1459
  attr_accessor :unenforced
@@ -1618,7 +1624,10 @@ module Google
1618
1624
  attr_accessor :members
1619
1625
 
1620
1626
  # Role that is assigned to the list of `members`, or principals. For example, `
1621
- # roles/viewer`, `roles/editor`, or `roles/owner`.
1627
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
1628
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
1629
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
1630
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
1622
1631
  # Corresponds to the JSON property `role`
1623
1632
  # @return [String]
1624
1633
  attr_accessor :role
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PolicysimulatorV1
18
18
  # Version of the google-apis-policysimulator_v1 gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231217"
25
+ REVISION = "20240121"
26
26
  end
27
27
  end
28
28
  end
@@ -38,6 +38,8 @@ module Google
38
38
  #
39
39
  # @see https://cloud.google.com/iam/docs/simulating-access
40
40
  class PolicySimulatorService < Google::Apis::Core::BaseService
41
+ DEFAULT_ENDPOINT_TEMPLATE = "https://policysimulator.$UNIVERSE_DOMAIN$/"
42
+
41
43
  # @return [String]
42
44
  # API key. Your API key identifies your project and provides you with API access,
43
45
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -49,7 +51,7 @@ module Google
49
51
  attr_accessor :quota_user
50
52
 
51
53
  def initialize
52
- super('https://policysimulator.googleapis.com/', '',
54
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
53
55
  client_name: 'google-apis-policysimulator_v1',
54
56
  client_version: Google::Apis::PolicysimulatorV1::GEM_VERSION)
55
57
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-policysimulator_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.33.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-12-24 00:00:00.000000000 Z
11
+ date: 2024-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Policy Simulator API V1