Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class Rule.
A rule in the cloud control.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.Rule
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cel_expression
↳ description
string
Optional. The rule description. The maximum length is 2000 characters.
↳ rule_action_types
array
Required. The functionality that's enabled by the rule.
getCelExpression
The rule's logic expression in Common Expression Language (CEL).
hasCelExpression
setCelExpression
The rule's logic expression in Common Expression Language (CEL).
$this
getDescription
Optional. The rule description. The maximum length is 2000 characters.
string
setDescription
Optional. The rule description. The maximum length is 2000 characters.
var
string
$this
getRuleActionTypes
Required. The functionality that's enabled by the rule.
setRuleActionTypes
Required. The functionality that's enabled by the rule.
var
int[]
$this
getImplementation
string

