Reference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::Constraint::BooleanConstraint.
A constraint type is enforced or not enforced, which is configured in the
PolicyRule
.
If customConstraintDefinition
is defined, this constraint is a managed
constraint.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#custom_constraint_definition
def custom_constraint_definition() -> ::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition
Returns
- (::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition) — Custom constraint definition. Defines this as a managed constraint.
#custom_constraint_definition=
def custom_constraint_definition=(value) -> ::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition
Parameter
- value (::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition) — Custom constraint definition. Defines this as a managed constraint.
Returns
- (::Google::Cloud::OrgPolicy::V2::Constraint::CustomConstraintDefinition) — Custom constraint definition. Defines this as a managed constraint.