View Source GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1Policy (google_api_cloud_asset v0.35.0)
Defines a Cloud Organization Policy
which is used to specify Constraints
for configurations of Cloud Platform resources.
Attributes
-
booleanPolicy
(type:GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1BooleanPolicy.t
, default:nil
) - For booleanConstraints
, whether to enforce theConstraint
or not. -
constraint
(type:String.t
, default:nil
) - The name of theConstraint
thePolicy
is configuring, for example,constraints/serviceuser.services
. A list of available constraints is available. Immutable after creation. -
etag
(type:String.t
, default:nil
) - An opaque tag indicating the current version of thePolicy
, used for concurrency control. When thePolicy
is returned from either aGetPolicy
or aListOrgPolicy
request, thisetag
indicates the version of the currentPolicy
to use when executing a read-modify-write loop. When thePolicy
is returned from aGetEffectivePolicy
request, theetag
will be unset. When thePolicy
is used in aSetOrgPolicy
method, use theetag
value that was returned from aGetOrgPolicy
request as part of a read-modify-write loop for concurrency control. Not setting theetag
in aSetOrgPolicy
request will result in an unconditional write of thePolicy
. -
listPolicy
(type:GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1ListPolicy.t
, default:nil
) - List of values either allowed or disallowed. -
restoreDefault
(type:GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1RestoreDefault.t
, default:nil
) - Restores the default behavior of the constraint; independent ofConstraint
type. -
updateTime
(type:DateTime.t
, default:nil
) - The time stamp thePolicy
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. -
version
(type:integer()
, default:nil
) - Version of thePolicy
. Default version is 0;
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1Policy{ booleanPolicy: GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1BooleanPolicy.t() | nil, constraint: String.t() | nil, etag: String.t() | nil, listPolicy: GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1ListPolicy.t() | nil, restoreDefault: GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1RestoreDefault.t() | nil, updateTime: DateTime.t() | nil, version: integer() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.