Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::PolicySimulator::V1::OrgPolicyOverlay::CustomConstraintOverlay.
A change to an OrgPolicy custom constraint.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#custom_constraint
def custom_constraint() -> ::Google::Cloud::OrgPolicy::V2::CustomConstraint
Returns
- (::Google::Cloud::OrgPolicy::V2::CustomConstraint) — Optional. The new or updated custom constraint.
#custom_constraint=
def custom_constraint=(value) -> ::Google::Cloud::OrgPolicy::V2::CustomConstraint
Parameter
- value (::Google::Cloud::OrgPolicy::V2::CustomConstraint) — Optional. The new or updated custom constraint.
Returns
- (::Google::Cloud::OrgPolicy::V2::CustomConstraint) — Optional. The new or updated custom constraint.
#custom_constraint_parent
def custom_constraint_parent() -> ::String
Returns
- (::String) — Optional. Resource the constraint is attached to. Example: "organization/987654"
#custom_constraint_parent=
def custom_constraint_parent=(value) -> ::String
Parameter
- value (::String) — Optional. Resource the constraint is attached to. Example: "organization/987654"
Returns
- (::String) — Optional. Resource the constraint is attached to. Example: "organization/987654"