Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint.
The organization policy constraint definition.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#custom_constraint
def custom_constraint() -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::CustomConstraint
Returns
- (::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::CustomConstraint) — The definition of the custom constraint.
#custom_constraint=
def custom_constraint=(value) -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::CustomConstraint
Parameter
- value (::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::CustomConstraint) — The definition of the custom constraint.
Returns
- (::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::CustomConstraint) — The definition of the custom constraint.
#google_defined_constraint
def google_defined_constraint() -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint
Returns
- (::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint) — The definition of the canned constraint defined by Google.
#google_defined_constraint=
def google_defined_constraint=(value) -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint
Parameter
- value (::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint) — The definition of the canned constraint defined by Google.
Returns
- (::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint) — The definition of the canned constraint defined by Google.