Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CELExpression.
A Common Expression Language (CEL) expression that's used to create a rule.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CELExpression
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ resource_types_values
StringList
The resource instance types on which this expression is defined. The format is <SERVICE_NAME>/<type>
. For example: compute.googleapis.com/Instance
↳ expression
string
Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see CEL expression .
getResourceTypesValues
The resource instance types on which this expression is defined.
The format is <SERVICE_NAME>/<type>
.
For example: compute.googleapis.com/Instance
hasResourceTypesValues
setResourceTypesValues
The resource instance types on which this expression is defined.
The format is <SERVICE_NAME>/<type>
.
For example: compute.googleapis.com/Instance
$this
getExpression
Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see CEL expression .
string
setExpression
Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see CEL expression .
var
string
$this
getCriteria
string

