Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::Rule (v0.1.0)

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

#cel_expression=

def cel_expression=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::CELExpression
Parameter
Returns

#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

#rule_action_types=

def rule_action_types=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::RuleActionType>
Parameter
Returns