Access Context Manager V1 Client - Class UpdateAccessPolicyRequest (0.3.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

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