Google Cloud Security Compliance V1 Client - Class CELExpression (0.1.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CELExpression.

A CEL expression .

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CELExpression

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ resource_types_values
StringList

The resource instance types on which this expression is defined. Format will be of the form : <canonical service name>/<type> Example: compute.googleapis.com/Instance .

↳ expression
string

Required. Logic expression in CEL language. The max length of the condition is 1000 characters.

getResourceTypesValues

The resource instance types on which this expression is defined.

Format will be of the form : <canonical service name>/<type> Example: compute.googleapis.com/Instance .

Returns
Type
Description
StringList |null

hasResourceTypesValues

setResourceTypesValues

The resource instance types on which this expression is defined.

Format will be of the form : <canonical service name>/<type> Example: compute.googleapis.com/Instance .

Parameter
Name
Description
Returns
Type
Description
$this

getExpression

Required. Logic expression in CEL language.

The max length of the condition is 1000 characters.

Returns
Type
Description
string

setExpression

Required. Logic expression in CEL language.

The max length of the condition is 1000 characters.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCriteria

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: