Similar to PolicySpec but with an extra ‘launch’ field for launch reference.
The PolicySpec here is specific for dry-run/darklaunch.
A constraint describes a way to restrict resource’s configuration. For
example, you could enforce a constraint that controls which Google Cloud
services can be activated across an organization, or whether a Compute Engine
instance can have serial port connections established. Constraints can be
configured by the organization policy administrator to fit the needs of the
organization by setting a policy that includes constraints at different
locations in the organization’s resource hierarchy. Policies are inherited
down the resource hierarchy from higher levels, but can also be overridden.
For details about the inheritance rules please read about
[policies
][google.cloud.OrgPolicy.v2.Policy].
The request sent to the [CreateCustomConstraintRequest]
[google.cloud.orgpolicy.v2.OrgPolicy.CreateCustomConstraint] method.
The request sent to the [CreatePolicyRequest]
[google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy] method.
A custom constraint defined by customers which can only be applied to the
given resource types and organization.
The request sent to the [DeleteCustomConstraint]
[google.cloud.orgpolicy.v2.OrgPolicy.DeleteCustomConstraint] method.
The request sent to the [DeletePolicy]
[google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy] method.
The request sent to the [GetCustomConstraint]
[google.cloud.orgpolicy.v2.OrgPolicy.GetCustomConstraint] method.
The request sent to the [GetEffectivePolicy]
[google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy] method.
The request sent to the [GetPolicy]
[google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy] method.
The request sent to the [ListConstraints]
[google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] method.
The response returned from the [ListConstraints]
[google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] method.
The request sent to the [ListCustomConstraints]
[google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints] method.
The response returned from the [ListCustomConstraints]
[google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints] method. It will
be empty if no custom constraints are set on the organization resource.
The request sent to the [ListPolicies]
[google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method.
The response returned from the [ListPolicies]
[google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method. It will be empty
if no policies are set on the resource.
Defines an organization policy which is used to specify constraints
for configurations of Google Cloud resources.
Defines a Google Cloud policy specification which is used to specify
constraints for configurations of Google Cloud resources.
The request sent to the [UpdateCustomConstraintRequest]
[google.cloud.orgpolicy.v2.OrgPolicy.UpdateCustomConstraint] method.
The request sent to the [UpdatePolicyRequest]
[google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy] method.