GoogleCloudOrgpolicyV1Policy
import type { GoogleCloudOrgpolicyV1Policy } from "https://googleapis.deno.dev/v1/cloudasset:v1.ts";
Defines a Cloud Organization Policy
which is used to specify Constraints
for configurations of Cloud Platform resources.
§Properties
For boolean Constraints
, whether to enforce the Constraint
or not.
The name of the Constraint
the Policy
is configuring, for example,
constraints/serviceuser.services
. A list of available
constraints
is available. Immutable after creation.
An opaque tag indicating the current version of the Policy
, used for
concurrency control. When the Policy
is returned from either a
GetPolicy
or a ListOrgPolicy
request, this etag
indicates the version
of the current Policy
to use when executing a read-modify-write loop.
When the Policy
is returned from a GetEffectivePolicy
request, the
etag
will be unset. When the Policy
is used in a SetOrgPolicy
method,
use the etag
value that was returned from a GetOrgPolicy
request as
part of a read-modify-write loop for concurrency control. Not setting the
etag
in a SetOrgPolicy
request will result in an unconditional write of
the Policy
.
List of values either allowed or disallowed.
Restores the default behavior of the constraint; independent of
Constraint
type.