google_api_cloud_resource_manager v0.7.1 GoogleApi.CloudResourceManager.V1.Model.OrgPolicy View Source
Defines a Cloud Organization Policy
which is used to specify Constraints
for configurations of Cloud Platform resources.
Attributes
- booleanPolicy (GoogleApi.CloudResourceManager.V1.Model.BooleanPolicy.t): For boolean
Constraints
, whether to enforce theConstraint
or not. Defaults tonil
. - constraint (String.t): The name of the
Constraint
thePolicy
is configuring, for example,constraints/serviceuser.services
.
Immutable after creation. Defaults to nil
.
- etag (String.t): 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
. Defaults to nil
.
- listPolicy (GoogleApi.CloudResourceManager.V1.Model.ListPolicy.t): List of values either allowed or disallowed. Defaults to
nil
. - restoreDefault (GoogleApi.CloudResourceManager.V1.Model.RestoreDefault.t): Restores the default behavior of the constraint; independent of
Constraint
type. Defaults tonil
. - updateTime (DateTime.t): The time stamp the
Policy
was previously updated. This is set by the server, not specified by the caller, and represents the last time a call toSetOrgPolicy
was made for thatPolicy
. Any value set by the client will be ignored. Defaults tonil
. - version (integer()): Version of the
Policy
. Default version is 0; Defaults tonil
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Source
t() :: %GoogleApi.CloudResourceManager.V1.Model.OrgPolicy{
booleanPolicy: GoogleApi.CloudResourceManager.V1.Model.BooleanPolicy.t(),
constraint: String.t(),
etag: String.t(),
listPolicy: GoogleApi.CloudResourceManager.V1.Model.ListPolicy.t(),
restoreDefault: GoogleApi.CloudResourceManager.V1.Model.RestoreDefault.t(),
updateTime: DateTime.t(),
version: integer()
}
t() :: %GoogleApi.CloudResourceManager.V1.Model.OrgPolicy{ booleanPolicy: GoogleApi.CloudResourceManager.V1.Model.BooleanPolicy.t(), constraint: String.t(), etag: String.t(), listPolicy: GoogleApi.CloudResourceManager.V1.Model.ListPolicy.t(), restoreDefault: GoogleApi.CloudResourceManager.V1.Model.RestoreDefault.t(), updateTime: DateTime.t(), version: integer() }
Link to this section Functions
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.