Class OrgPolicyOverlay (0.2.0)

OrgPolicyOverlay(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The proposed changes to OrgPolicy.

Attributes

Name Description
policies MutableSequence[google.cloud.policysimulator_v1.types.OrgPolicyOverlay.PolicyOverlay]
Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.
custom_constraints MutableSequence[google.cloud.policysimulator_v1.types.OrgPolicyOverlay.CustomConstraintOverlay]
Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple GenerateOrgPolicyViolationsPreview requests are made, where each request evaluates a single constraint.

Classes

CustomConstraintOverlay

CustomConstraintOverlay(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A change to an OrgPolicy custom constraint.

PolicyOverlay

PolicyOverlay(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A change to an OrgPolicy.