google_api_cloud_asset v0.3.0 GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1Policy View Source
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 theConstraintor not.constraint(type:String.t, default:nil) - The name of theConstraintthePolicyis configuring, for example,constraints/serviceuser.services.Immutable after creation.
etag(type:String.t, default:nil) - An opaque tag indicating the current version of thePolicy, used for concurrency control.When the
Policyis returned from either aGetPolicyor aListOrgPolicyrequest, thisetagindicates the version of the currentPolicyto use when executing a read-modify-write loop.When the
Policyis returned from aGetEffectivePolicyrequest, theetagwill be unset.When the
Policyis used in aSetOrgPolicymethod, use theetagvalue that was returned from aGetOrgPolicyrequest as part of a read-modify-write loop for concurrency control. Not setting theetagin aSetOrgPolicyrequest 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 ofConstrainttype.updateTime(type:DateTime.t, default:nil) - The time stamp thePolicywas previously updated. This is set by the server, not specified by the caller, and represents the last time a call toSetOrgPolicywas made for thatPolicy. Any value set by the client will be ignored.version(type:integer(), default:nil) - Version of thePolicy. 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.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1Policy{
booleanPolicy:
GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1BooleanPolicy.t(),
constraint: String.t(),
etag: String.t(),
listPolicy:
GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1ListPolicy.t(),
restoreDefault:
GoogleApi.CloudAsset.V1.Model.GoogleCloudOrgpolicyV1RestoreDefault.t(),
updateTime: DateTime.t(),
version: integer()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.