google_api_cloud_resource_manager v0.23.0 GoogleApi.CloudResourceManager.V1.Model.Constraint View Source
A Constraint
describes a way in which a resource's configuration can be
restricted. For example, it controls which 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's policy adminstrator to fit the needs of the organzation by
setting Policies for 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.
Constraints
have a default behavior determined by the constraint_default
field, which is the enforcement behavior that is used in the absence of a
Policy
being defined or inherited for the resource in question.
Attributes
booleanConstraint
(type:GoogleApi.CloudResourceManager.V1.Model.BooleanConstraint.t
, default:nil
) - Defines this constraint as being a BooleanConstraint.constraintDefault
(type:String.t
, default:nil
) - The evaluation behavior of this constraint in the absense of 'Policy'.description
(type:String.t
, default:nil
) - Detailed description of what thisConstraint
controls as well as how and where it is enforced.Mutable.
displayName
(type:String.t
, default:nil
) - The human readable name.Mutable.
listConstraint
(type:GoogleApi.CloudResourceManager.V1.Model.ListConstraint.t
, default:nil
) - Defines this constraint as being a ListConstraint.name
(type:String.t
, default:nil
) - Immutable value, required to globally be unique. For example,constraints/serviceuser.services
version
(type:integer()
, default:nil
) - Version of theConstraint
. Default version is 0;
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Sourcet() :: %GoogleApi.CloudResourceManager.V1.Model.Constraint{ booleanConstraint: GoogleApi.CloudResourceManager.V1.Model.BooleanConstraint.t(), constraintDefault: String.t(), description: String.t(), displayName: String.t(), listConstraint: GoogleApi.CloudResourceManager.V1.Model.ListConstraint.t(), name: String.t(), version: integer() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.