Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::CELExpression.
A Common Expression Language (CEL) expression that's used to create a rule.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#expression
def expression() -> ::String
Returns
- (::String) — Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see CEL expression.
#expression=
def expression=(value) -> ::String
Parameter
- value (::String) — Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see CEL expression.
Returns
- (::String) — Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see CEL expression.
#resource_types_values
def resource_types_values() -> ::Google::Cloud::CloudSecurityCompliance::V1::StringList
Returns
-
(::Google::Cloud::CloudSecurityCompliance::V1::StringList) — The resource instance types on which this expression is defined.
The format is
<SERVICE_NAME>/<type>. For example:compute.googleapis.com/Instance
#resource_types_values=
def resource_types_values=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::StringList
Parameter
-
value (::Google::Cloud::CloudSecurityCompliance::V1::StringList) — The resource instance types on which this expression is defined.
The format is
<SERVICE_NAME>/<type>. For example:compute.googleapis.com/Instance
Returns
-
(::Google::Cloud::CloudSecurityCompliance::V1::StringList) — The resource instance types on which this expression is defined.
The format is
<SERVICE_NAME>/<type>. For example:compute.googleapis.com/Instance