Access Context Manager V1 Client - Class UpdateAccessPolicyRequest (0.4.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
NameDescription
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
TypeDescription
Google\Identity\AccessContextManager\V1\AccessPolicy|null

hasPolicy

clearPolicy

setPolicy

Required. The updated AccessPolicy.

Parameter
NameDescription
var Google\Identity\AccessContextManager\V1\AccessPolicy
Returns
TypeDescription
$this

getUpdateMask

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

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

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

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Identity\AccessContextManager\V1\UpdateAccessPolicyRequest