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
-
(::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::CustomConstraint) — The definition of the custom constraint.
Note: The following fields are mutually exclusive:
custom_constraint
,google_defined_constraint
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#custom_constraint=
def custom_constraint=(value) -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::CustomConstraint
-
value (::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::CustomConstraint) — The definition of the custom constraint.
Note: The following fields are mutually exclusive:
custom_constraint
,google_defined_constraint
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::CustomConstraint) — The definition of the custom constraint.
Note: The following fields are mutually exclusive:
custom_constraint
,google_defined_constraint
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#google_defined_constraint
def google_defined_constraint() -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint
-
(::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint) — The definition of the canned constraint defined by Google.
Note: The following fields are mutually exclusive:
google_defined_constraint
,custom_constraint
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#google_defined_constraint=
def google_defined_constraint=(value) -> ::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint
-
value (::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint) — The definition of the canned constraint defined by Google.
Note: The following fields are mutually exclusive:
google_defined_constraint
,custom_constraint
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint) — The definition of the canned constraint defined by Google.
Note: The following fields are mutually exclusive:
google_defined_constraint
,custom_constraint
. If a field in that set is populated, all other fields in the set will automatically be cleared.