Defines a Cloud Organization Policy which is used to specify Constraints
for configurations of Cloud Platform resources.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#boolean_policy
def boolean_policy() -> ::Google::Cloud::OrgPolicy::V1::Policy::BooleanPolicy- 
        (::Google::Cloud::OrgPolicy::V1::Policy::BooleanPolicy) — For boolean Constraints, whether to enforce theConstraintor not.
#boolean_policy=
def boolean_policy=(value) -> ::Google::Cloud::OrgPolicy::V1::Policy::BooleanPolicy- 
        value (::Google::Cloud::OrgPolicy::V1::Policy::BooleanPolicy) — For boolean Constraints, whether to enforce theConstraintor not.
- 
        (::Google::Cloud::OrgPolicy::V1::Policy::BooleanPolicy) — For boolean Constraints, whether to enforce theConstraintor not.
#constraint
def constraint() -> ::String- 
        (::String) — The name of the ConstraintthePolicyis configuring, for example,constraints/serviceuser.services.Immutable after creation. 
#constraint=
def constraint=(value) -> ::String- 
        value (::String) — The name of the ConstraintthePolicyis configuring, for example,constraints/serviceuser.services.Immutable after creation. 
- 
        (::String) — The name of the ConstraintthePolicyis configuring, for example,constraints/serviceuser.services.Immutable after creation. 
#etag
def etag() -> ::String- 
        (::String) — An opaque tag indicating the current version of the Policy, 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.
#etag=
def etag=(value) -> ::String- 
        value (::String) — An opaque tag indicating the current version of the Policy, 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.
- 
        (::String) — An opaque tag indicating the current version of the Policy, 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.
#list_policy
def list_policy() -> ::Google::Cloud::OrgPolicy::V1::Policy::ListPolicy- (::Google::Cloud::OrgPolicy::V1::Policy::ListPolicy) — List of values either allowed or disallowed.
#list_policy=
def list_policy=(value) -> ::Google::Cloud::OrgPolicy::V1::Policy::ListPolicy- value (::Google::Cloud::OrgPolicy::V1::Policy::ListPolicy) — List of values either allowed or disallowed.
- (::Google::Cloud::OrgPolicy::V1::Policy::ListPolicy) — List of values either allowed or disallowed.
#restore_default
def restore_default() -> ::Google::Cloud::OrgPolicy::V1::Policy::RestoreDefault- 
        (::Google::Cloud::OrgPolicy::V1::Policy::RestoreDefault) — Restores the default behavior of the constraint; independent of
Constrainttype.
#restore_default=
def restore_default=(value) -> ::Google::Cloud::OrgPolicy::V1::Policy::RestoreDefault- 
        value (::Google::Cloud::OrgPolicy::V1::Policy::RestoreDefault) — Restores the default behavior of the constraint; independent of
Constrainttype.
- 
        (::Google::Cloud::OrgPolicy::V1::Policy::RestoreDefault) — Restores the default behavior of the constraint; independent of
Constrainttype.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- 
        (::Google::Protobuf::Timestamp) — The time stamp the Policywas 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.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp- 
        value (::Google::Protobuf::Timestamp) — The time stamp the Policywas 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.
- 
        (::Google::Protobuf::Timestamp) — The time stamp the Policywas 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
def version() -> ::Integer- 
        (::Integer) — Version of the Policy. Default version is 0;
#version=
def version=(value) -> ::Integer- 
        value (::Integer) — Version of the Policy. Default version is 0;
- 
        (::Integer) — Version of the Policy. Default version is 0;