Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CELExpression.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CELExpression
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__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 : |
↳ 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 |
var |
StringList
|
| 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 |
|