Access Context Manager V1 Client - Class CustomLevel (0.4.5)

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
NameDescription
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
TypeDescription
Google\Type\Expr|null

hasExpr

clearExpr

setExpr

Required. A Cloud CEL expression evaluating to a boolean.

Parameter
NameDescription
var Google\Type\Expr
Returns
TypeDescription
$this