Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::Rule.
A rule of the cloud control.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cel_expression
def cel_expression() -> ::Google::Cloud::CloudSecurityCompliance::V1::CELExpression
Returns
- (::Google::Cloud::CloudSecurityCompliance::V1::CELExpression) — Logic expression in CEL language.
#cel_expression=
def cel_expression=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::CELExpression
Parameter
- value (::Google::Cloud::CloudSecurityCompliance::V1::CELExpression) — Logic expression in CEL language.
Returns
- (::Google::Cloud::CloudSecurityCompliance::V1::CELExpression) — Logic expression in CEL language.
#description
def description() -> ::String
Returns
- (::String) — Optional. Description of the Rule. The maximum length is 2000 characters.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. Description of the Rule. The maximum length is 2000 characters.
Returns
- (::String) — Optional. Description of the Rule. The maximum length is 2000 characters.
#rule_action_types
def rule_action_types() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::RuleActionType>
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::RuleActionType>) — Required. The functionality enabled by the Rule.
#rule_action_types=
def rule_action_types=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::RuleActionType>
Parameter
- value (::Array<::Google::Cloud::CloudSecurityCompliance::V1::RuleActionType>) — Required. The functionality enabled by the Rule.
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::RuleActionType>) — Required. The functionality enabled by the Rule.