Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class OrgPolicyOverlay.
The proposed changes to OrgPolicy.
Generated from protobuf message google.cloud.policysimulator.v1.OrgPolicyOverlay
Namespace
Google \ Cloud \ PolicySimulator \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ policies
array< 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
array< 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.
getPolicies
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.
setPolicies
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.
$this
getCustomConstraints
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.
setCustomConstraints
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.
$this

