google-apis-policysimulator_v1 0.43.0 → 0.44.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c35db81a1e3abcf2d9d217474a38b685a7987cc515389944e569cccfddd8d6d3
|
4
|
+
data.tar.gz: 6dd46b62989f2a893f3b986f63b690341254d4393f6a1daeb052f3e1e2cf16a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 234c0f1cdb1bdc62719b1fb84fec0c9e3bc5d5c8e8d3a9f078270246ae5380866c20e6fb1ef40365bc87f490d13c11597408ba4d53889e048ed481baa79a86cf
|
7
|
+
data.tar.gz: 96316672995458e08f4a550d754f7e19661ff5dd035f2fbb20ea4bdbaa8fbbaa8bd0212b2785890e2284c5ff5c1079eb6abf1520920329e938bb3c3ed78aa300
|
data/CHANGELOG.md
CHANGED
@@ -1314,6 +1314,321 @@ module Google
|
|
1314
1314
|
end
|
1315
1315
|
end
|
1316
1316
|
|
1317
|
+
# CreateOrgPolicyViolationsPreviewOperationMetadata is metadata about an
|
1318
|
+
# OrgPolicyViolationsPreview generations operation.
|
1319
|
+
class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata
|
1320
|
+
include Google::Apis::Core::Hashable
|
1321
|
+
|
1322
|
+
# Time when the request was received.
|
1323
|
+
# Corresponds to the JSON property `requestTime`
|
1324
|
+
# @return [String]
|
1325
|
+
attr_accessor :request_time
|
1326
|
+
|
1327
|
+
# Total number of resources that need scanning. Should equal resource_scanned +
|
1328
|
+
# resources_pending
|
1329
|
+
# Corresponds to the JSON property `resourcesFound`
|
1330
|
+
# @return [Fixnum]
|
1331
|
+
attr_accessor :resources_found
|
1332
|
+
|
1333
|
+
# Number of resources still to scan.
|
1334
|
+
# Corresponds to the JSON property `resourcesPending`
|
1335
|
+
# @return [Fixnum]
|
1336
|
+
attr_accessor :resources_pending
|
1337
|
+
|
1338
|
+
# Number of resources already scanned.
|
1339
|
+
# Corresponds to the JSON property `resourcesScanned`
|
1340
|
+
# @return [Fixnum]
|
1341
|
+
attr_accessor :resources_scanned
|
1342
|
+
|
1343
|
+
# Time when the request started processing, i.e., when the state was set to
|
1344
|
+
# RUNNING.
|
1345
|
+
# Corresponds to the JSON property `startTime`
|
1346
|
+
# @return [String]
|
1347
|
+
attr_accessor :start_time
|
1348
|
+
|
1349
|
+
# Output only. The current state of the operation.
|
1350
|
+
# Corresponds to the JSON property `state`
|
1351
|
+
# @return [String]
|
1352
|
+
attr_accessor :state
|
1353
|
+
|
1354
|
+
def initialize(**args)
|
1355
|
+
update!(**args)
|
1356
|
+
end
|
1357
|
+
|
1358
|
+
# Update properties of this object
|
1359
|
+
def update!(**args)
|
1360
|
+
@request_time = args[:request_time] if args.key?(:request_time)
|
1361
|
+
@resources_found = args[:resources_found] if args.key?(:resources_found)
|
1362
|
+
@resources_pending = args[:resources_pending] if args.key?(:resources_pending)
|
1363
|
+
@resources_scanned = args[:resources_scanned] if args.key?(:resources_scanned)
|
1364
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1365
|
+
@state = args[:state] if args.key?(:state)
|
1366
|
+
end
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
# GenerateOrgPolicyViolationsPreviewOperationMetadata is metadata about an
|
1370
|
+
# OrgPolicyViolationsPreview generations operation.
|
1371
|
+
class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata
|
1372
|
+
include Google::Apis::Core::Hashable
|
1373
|
+
|
1374
|
+
# Time when the request was received.
|
1375
|
+
# Corresponds to the JSON property `requestTime`
|
1376
|
+
# @return [String]
|
1377
|
+
attr_accessor :request_time
|
1378
|
+
|
1379
|
+
# Total number of resources that need scanning. Should equal resource_scanned +
|
1380
|
+
# resources_pending
|
1381
|
+
# Corresponds to the JSON property `resourcesFound`
|
1382
|
+
# @return [Fixnum]
|
1383
|
+
attr_accessor :resources_found
|
1384
|
+
|
1385
|
+
# Number of resources still to scan.
|
1386
|
+
# Corresponds to the JSON property `resourcesPending`
|
1387
|
+
# @return [Fixnum]
|
1388
|
+
attr_accessor :resources_pending
|
1389
|
+
|
1390
|
+
# Number of resources already scanned.
|
1391
|
+
# Corresponds to the JSON property `resourcesScanned`
|
1392
|
+
# @return [Fixnum]
|
1393
|
+
attr_accessor :resources_scanned
|
1394
|
+
|
1395
|
+
# Time when the request started processing, i.e. when the state was set to
|
1396
|
+
# RUNNING.
|
1397
|
+
# Corresponds to the JSON property `startTime`
|
1398
|
+
# @return [String]
|
1399
|
+
attr_accessor :start_time
|
1400
|
+
|
1401
|
+
# The current state of the operation.
|
1402
|
+
# Corresponds to the JSON property `state`
|
1403
|
+
# @return [String]
|
1404
|
+
attr_accessor :state
|
1405
|
+
|
1406
|
+
def initialize(**args)
|
1407
|
+
update!(**args)
|
1408
|
+
end
|
1409
|
+
|
1410
|
+
# Update properties of this object
|
1411
|
+
def update!(**args)
|
1412
|
+
@request_time = args[:request_time] if args.key?(:request_time)
|
1413
|
+
@resources_found = args[:resources_found] if args.key?(:resources_found)
|
1414
|
+
@resources_pending = args[:resources_pending] if args.key?(:resources_pending)
|
1415
|
+
@resources_scanned = args[:resources_scanned] if args.key?(:resources_scanned)
|
1416
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1417
|
+
@state = args[:state] if args.key?(:state)
|
1418
|
+
end
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
# The proposed changes to OrgPolicy.
|
1422
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay
|
1423
|
+
include Google::Apis::Core::Hashable
|
1424
|
+
|
1425
|
+
# Optional. The OrgPolicy CustomConstraint changes to preview violations for.
|
1426
|
+
# Any existing CustomConstraints with the same name will be overridden in the
|
1427
|
+
# simulation. That is, violations will be determined as if all custom
|
1428
|
+
# constraints in the overlay were instantiated. Only a single custom_constraint
|
1429
|
+
# is supported in the overlay at a time. For evaluating multiple constraints,
|
1430
|
+
# multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each
|
1431
|
+
# request evaluates a single constraint.
|
1432
|
+
# Corresponds to the JSON property `customConstraints`
|
1433
|
+
# @return [Array<Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay>]
|
1434
|
+
attr_accessor :custom_constraints
|
1435
|
+
|
1436
|
+
# Optional. The OrgPolicy changes to preview violations for. Any existing
|
1437
|
+
# OrgPolicies with the same name will be overridden in the simulation. That is,
|
1438
|
+
# violations will be determined as if all policies in the overlay were created
|
1439
|
+
# or updated.
|
1440
|
+
# Corresponds to the JSON property `policies`
|
1441
|
+
# @return [Array<Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay>]
|
1442
|
+
attr_accessor :policies
|
1443
|
+
|
1444
|
+
def initialize(**args)
|
1445
|
+
update!(**args)
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
# Update properties of this object
|
1449
|
+
def update!(**args)
|
1450
|
+
@custom_constraints = args[:custom_constraints] if args.key?(:custom_constraints)
|
1451
|
+
@policies = args[:policies] if args.key?(:policies)
|
1452
|
+
end
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
# A change to an OrgPolicy custom constraint.
|
1456
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay
|
1457
|
+
include Google::Apis::Core::Hashable
|
1458
|
+
|
1459
|
+
# A custom constraint defined by customers which can *only* be applied to the
|
1460
|
+
# given resource types and organization. By creating a custom constraint,
|
1461
|
+
# customers can apply policies of this custom constraint. *Creating a custom
|
1462
|
+
# constraint itself does NOT apply any policy enforcement*.
|
1463
|
+
# Corresponds to the JSON property `customConstraint`
|
1464
|
+
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2CustomConstraint]
|
1465
|
+
attr_accessor :custom_constraint
|
1466
|
+
|
1467
|
+
# Optional. Resource the constraint is attached to. Example: "organization/
|
1468
|
+
# 987654"
|
1469
|
+
# Corresponds to the JSON property `customConstraintParent`
|
1470
|
+
# @return [String]
|
1471
|
+
attr_accessor :custom_constraint_parent
|
1472
|
+
|
1473
|
+
def initialize(**args)
|
1474
|
+
update!(**args)
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
# Update properties of this object
|
1478
|
+
def update!(**args)
|
1479
|
+
@custom_constraint = args[:custom_constraint] if args.key?(:custom_constraint)
|
1480
|
+
@custom_constraint_parent = args[:custom_constraint_parent] if args.key?(:custom_constraint_parent)
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
# A change to an OrgPolicy.
|
1485
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay
|
1486
|
+
include Google::Apis::Core::Hashable
|
1487
|
+
|
1488
|
+
# Defines an organization policy which is used to specify constraints for
|
1489
|
+
# configurations of Google Cloud resources.
|
1490
|
+
# Corresponds to the JSON property `policy`
|
1491
|
+
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2Policy]
|
1492
|
+
attr_accessor :policy
|
1493
|
+
|
1494
|
+
# Optional. The parent of the policy we are attaching to. Example: "projects/
|
1495
|
+
# 123456"
|
1496
|
+
# Corresponds to the JSON property `policyParent`
|
1497
|
+
# @return [String]
|
1498
|
+
attr_accessor :policy_parent
|
1499
|
+
|
1500
|
+
def initialize(**args)
|
1501
|
+
update!(**args)
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
# Update properties of this object
|
1505
|
+
def update!(**args)
|
1506
|
+
@policy = args[:policy] if args.key?(:policy)
|
1507
|
+
@policy_parent = args[:policy_parent] if args.key?(:policy_parent)
|
1508
|
+
end
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
# OrgPolicyViolationsPreview is a resource providing a preview of the violations
|
1512
|
+
# that will exist if an OrgPolicy change is made. The list of violations are
|
1513
|
+
# modeled as child resources and retrieved via a ListOrgPolicyViolations API
|
1514
|
+
# call. There are potentially more OrgPolicyViolations than could fit in an
|
1515
|
+
# embedded field. Thus, the use of a child resource instead of a field.
|
1516
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview
|
1517
|
+
include Google::Apis::Core::Hashable
|
1518
|
+
|
1519
|
+
# Output only. Time when this `OrgPolicyViolationsPreview` was created.
|
1520
|
+
# Corresponds to the JSON property `createTime`
|
1521
|
+
# @return [String]
|
1522
|
+
attr_accessor :create_time
|
1523
|
+
|
1524
|
+
# Output only. The names of the constraints against which all `
|
1525
|
+
# OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains `
|
1526
|
+
# PolicyOverlay` then it contains the name of the configured custom constraint,
|
1527
|
+
# applicable to the specified policies. Otherwise it contains the name of the
|
1528
|
+
# constraint specified in `CustomConstraintOverlay`. Format: `organizations/`
|
1529
|
+
# organization_id`/customConstraints/`custom_constraint_id`` Example: `
|
1530
|
+
# organizations/123/customConstraints/custom.createOnlyE2TypeVms`
|
1531
|
+
# Corresponds to the JSON property `customConstraints`
|
1532
|
+
# @return [Array<String>]
|
1533
|
+
attr_accessor :custom_constraints
|
1534
|
+
|
1535
|
+
# Output only. The resource name of the `OrgPolicyViolationsPreview`. It has the
|
1536
|
+
# following format: `organizations/`organization`/locations/`location`/
|
1537
|
+
# orgPolicyViolationsPreviews/`orgPolicyViolationsPreview`` Example: `
|
1538
|
+
# organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/
|
1539
|
+
# 506a5f7f`
|
1540
|
+
# Corresponds to the JSON property `name`
|
1541
|
+
# @return [String]
|
1542
|
+
attr_accessor :name
|
1543
|
+
|
1544
|
+
# The proposed changes to OrgPolicy.
|
1545
|
+
# Corresponds to the JSON property `overlay`
|
1546
|
+
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay]
|
1547
|
+
attr_accessor :overlay
|
1548
|
+
|
1549
|
+
# A summary of the state of all resources scanned for compliance with the
|
1550
|
+
# changed OrgPolicy.
|
1551
|
+
# Corresponds to the JSON property `resourceCounts`
|
1552
|
+
# @return [Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts]
|
1553
|
+
attr_accessor :resource_counts
|
1554
|
+
|
1555
|
+
# Output only. The state of the `OrgPolicyViolationsPreview`.
|
1556
|
+
# Corresponds to the JSON property `state`
|
1557
|
+
# @return [String]
|
1558
|
+
attr_accessor :state
|
1559
|
+
|
1560
|
+
# Output only. The number of OrgPolicyViolations in this `
|
1561
|
+
# OrgPolicyViolationsPreview`. This count may differ from `resource_summary.
|
1562
|
+
# noncompliant_count` because each OrgPolicyViolation is specific to a resource *
|
1563
|
+
# *and** constraint. If there are multiple constraints being evaluated (i.e.
|
1564
|
+
# multiple policies in the overlay), a single resource may violate multiple
|
1565
|
+
# constraints.
|
1566
|
+
# Corresponds to the JSON property `violationsCount`
|
1567
|
+
# @return [Fixnum]
|
1568
|
+
attr_accessor :violations_count
|
1569
|
+
|
1570
|
+
def initialize(**args)
|
1571
|
+
update!(**args)
|
1572
|
+
end
|
1573
|
+
|
1574
|
+
# Update properties of this object
|
1575
|
+
def update!(**args)
|
1576
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1577
|
+
@custom_constraints = args[:custom_constraints] if args.key?(:custom_constraints)
|
1578
|
+
@name = args[:name] if args.key?(:name)
|
1579
|
+
@overlay = args[:overlay] if args.key?(:overlay)
|
1580
|
+
@resource_counts = args[:resource_counts] if args.key?(:resource_counts)
|
1581
|
+
@state = args[:state] if args.key?(:state)
|
1582
|
+
@violations_count = args[:violations_count] if args.key?(:violations_count)
|
1583
|
+
end
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
# A summary of the state of all resources scanned for compliance with the
|
1587
|
+
# changed OrgPolicy.
|
1588
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts
|
1589
|
+
include Google::Apis::Core::Hashable
|
1590
|
+
|
1591
|
+
# Output only. Number of scanned resources with zero violations.
|
1592
|
+
# Corresponds to the JSON property `compliant`
|
1593
|
+
# @return [Fixnum]
|
1594
|
+
attr_accessor :compliant
|
1595
|
+
|
1596
|
+
# Output only. Number of resources that returned an error when scanned.
|
1597
|
+
# Corresponds to the JSON property `errors`
|
1598
|
+
# @return [Fixnum]
|
1599
|
+
attr_accessor :errors
|
1600
|
+
|
1601
|
+
# Output only. Number of scanned resources with at least one violation.
|
1602
|
+
# Corresponds to the JSON property `noncompliant`
|
1603
|
+
# @return [Fixnum]
|
1604
|
+
attr_accessor :noncompliant
|
1605
|
+
|
1606
|
+
# Output only. Number of resources checked for compliance. Must equal:
|
1607
|
+
# unenforced + noncompliant + compliant + error
|
1608
|
+
# Corresponds to the JSON property `scanned`
|
1609
|
+
# @return [Fixnum]
|
1610
|
+
attr_accessor :scanned
|
1611
|
+
|
1612
|
+
# Output only. Number of resources where the constraint was not enforced, i.e.
|
1613
|
+
# the Policy set `enforced: false` for that resource.
|
1614
|
+
# Corresponds to the JSON property `unenforced`
|
1615
|
+
# @return [Fixnum]
|
1616
|
+
attr_accessor :unenforced
|
1617
|
+
|
1618
|
+
def initialize(**args)
|
1619
|
+
update!(**args)
|
1620
|
+
end
|
1621
|
+
|
1622
|
+
# Update properties of this object
|
1623
|
+
def update!(**args)
|
1624
|
+
@compliant = args[:compliant] if args.key?(:compliant)
|
1625
|
+
@errors = args[:errors] if args.key?(:errors)
|
1626
|
+
@noncompliant = args[:noncompliant] if args.key?(:noncompliant)
|
1627
|
+
@scanned = args[:scanned] if args.key?(:scanned)
|
1628
|
+
@unenforced = args[:unenforced] if args.key?(:unenforced)
|
1629
|
+
end
|
1630
|
+
end
|
1631
|
+
|
1317
1632
|
# Specifies the audit configuration for a service. The configuration determines
|
1318
1633
|
# which permission types are logged, and what identities, if any, are exempted
|
1319
1634
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.44.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250614"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,6 +190,48 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
193
235
|
class GoogleIamV1AuditConfig
|
194
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
237
|
|
@@ -551,6 +593,84 @@ module Google
|
|
551
593
|
end
|
552
594
|
end
|
553
595
|
|
596
|
+
class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata
|
597
|
+
# @private
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
property :request_time, as: 'requestTime'
|
600
|
+
property :resources_found, as: 'resourcesFound'
|
601
|
+
property :resources_pending, as: 'resourcesPending'
|
602
|
+
property :resources_scanned, as: 'resourcesScanned'
|
603
|
+
property :start_time, as: 'startTime'
|
604
|
+
property :state, as: 'state'
|
605
|
+
end
|
606
|
+
end
|
607
|
+
|
608
|
+
class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata
|
609
|
+
# @private
|
610
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
611
|
+
property :request_time, as: 'requestTime'
|
612
|
+
property :resources_found, as: 'resourcesFound'
|
613
|
+
property :resources_pending, as: 'resourcesPending'
|
614
|
+
property :resources_scanned, as: 'resourcesScanned'
|
615
|
+
property :start_time, as: 'startTime'
|
616
|
+
property :state, as: 'state'
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
620
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay
|
621
|
+
# @private
|
622
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
623
|
+
collection :custom_constraints, as: 'customConstraints', class: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay, decorator: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay::Representation
|
624
|
+
|
625
|
+
collection :policies, as: 'policies', class: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay, decorator: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay::Representation
|
626
|
+
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
630
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay
|
631
|
+
# @private
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
633
|
+
property :custom_constraint, as: 'customConstraint', class: Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2CustomConstraint, decorator: Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2CustomConstraint::Representation
|
634
|
+
|
635
|
+
property :custom_constraint_parent, as: 'customConstraintParent'
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
639
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay
|
640
|
+
# @private
|
641
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
642
|
+
property :policy, as: 'policy', class: Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2Policy, decorator: Google::Apis::PolicysimulatorV1::GoogleCloudOrgpolicyV2Policy::Representation
|
643
|
+
|
644
|
+
property :policy_parent, as: 'policyParent'
|
645
|
+
end
|
646
|
+
end
|
647
|
+
|
648
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview
|
649
|
+
# @private
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
651
|
+
property :create_time, as: 'createTime'
|
652
|
+
collection :custom_constraints, as: 'customConstraints'
|
653
|
+
property :name, as: 'name'
|
654
|
+
property :overlay, as: 'overlay', class: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay, decorator: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay::Representation
|
655
|
+
|
656
|
+
property :resource_counts, as: 'resourceCounts', class: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts, decorator: Google::Apis::PolicysimulatorV1::GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts::Representation
|
657
|
+
|
658
|
+
property :state, as: 'state'
|
659
|
+
property :violations_count, as: 'violationsCount'
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
class GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts
|
664
|
+
# @private
|
665
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
666
|
+
property :compliant, as: 'compliant'
|
667
|
+
property :errors, as: 'errors'
|
668
|
+
property :noncompliant, as: 'noncompliant'
|
669
|
+
property :scanned, as: 'scanned'
|
670
|
+
property :unenforced, as: 'unenforced'
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
554
674
|
class GoogleIamV1AuditConfig
|
555
675
|
# @private
|
556
676
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-policysimulator_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.44.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-policysimulator_v1/v0.44.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-policysimulator_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|