Access Context Manager V1 Client - Class CustomLevel (1.0.1)

Reference documentation and code samples for the Access Context Manager V1 Client class CustomLevel.

CustomLevel is an AccessLevel using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request.

See CEL spec at: https://github.com/google/cel-spec

Generated from protobuf message google.identity.accesscontextmanager.v1.CustomLevel

Namespace

Google \ Identity \ AccessContextManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ expr Google\Type\Expr

Required. A Cloud CEL expression evaluating to a boolean.

getExpr

Required. A Cloud CEL expression evaluating to a boolean.

Returns
Type Description
Google\Type\Expr|null

hasExpr

clearExpr

setExpr

Required. A Cloud CEL expression evaluating to a boolean.

Parameter
Name Description
var Google\Type\Expr
Returns
Type Description
$this