Access Context Manager V1 Client - Class UpdateAccessPolicyRequest (0.5.5)

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

A request to update an AccessPolicy.

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

Namespace

Google \ Identity \ AccessContextManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ policy Google\Identity\AccessContextManager\V1\AccessPolicy

Required. The updated AccessPolicy.

↳ update_mask Google\Protobuf\FieldMask

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

getPolicy

Required. The updated AccessPolicy.

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

hasPolicy

clearPolicy

setPolicy

Required. The updated AccessPolicy.

Parameter
Name Description
var Google\Identity\AccessContextManager\V1\AccessPolicy
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
policy Google\Identity\AccessContextManager\V1\AccessPolicy

Required. The updated AccessPolicy.

updateMask Google\Protobuf\FieldMask

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

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