Access Context Manager V1 Client - Class UpdateAccessLevelRequest (0.5.5)

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

A request to update an AccessLevel.

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

Namespace

Google \ Identity \ AccessContextManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ access_level Google\Identity\AccessContextManager\V1\AccessLevel

Required. The updated [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Syntactic correctness of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] is a precondition for creation.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask to control which fields get updated. Must be non-empty.

getAccessLevel

Required. The updated Access Level. Syntactic correctness of the Access Level is a precondition for creation.

Returns
Type Description
Google\Identity\AccessContextManager\V1\AccessLevel|null

hasAccessLevel

clearAccessLevel

setAccessLevel

Required. The updated Access Level. Syntactic correctness of the Access Level is a precondition for creation.

Parameter
Name Description
var Google\Identity\AccessContextManager\V1\AccessLevel
Returns
Type Description
$this

getUpdateMask

Required. Mask to control which fields get updated. Must be non-empty.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask to control which fields get updated. Must be non-empty.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
accessLevel Google\Identity\AccessContextManager\V1\AccessLevel

Required. The updated Access Level. Syntactic correctness of the Access Level is a precondition for creation.

updateMask Google\Protobuf\FieldMask

Required. Mask to control which fields get updated. Must be non-empty.

Returns
Type Description
Google\Identity\AccessContextManager\V1\UpdateAccessLevelRequest