Google Cloud Memorystore V1beta Client - Class UpdateAclPolicyRequest (0.14.0)

Reference documentation and code samples for the Google Cloud Memorystore V1beta Client class UpdateAclPolicyRequest.

Request for UpdateAclPolicy.

Generated from protobuf message google.cloud.memorystore.v1beta.UpdateAclPolicyRequest

Namespace

Google \ Cloud \ Memorystore \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ acl_policy AclPolicy

Required. The ACL policy to be updated.

↳ update_mask Google\Protobuf\FieldMask

Optional. Mask of fields to be updated. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from AclPolicy: * * rules

↳ request_id string

Optional. Idempotent request UUID.

getAclPolicy

Required. The ACL policy to be updated.

Returns
Type Description
AclPolicy|null

hasAclPolicy

clearAclPolicy

setAclPolicy

Required. The ACL policy to be updated.

Parameter
Name Description
var AclPolicy
Returns
Type Description
$this

getUpdateMask

Optional. Mask of fields to be updated. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from AclPolicy:

  • rules
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Mask of fields to be updated. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from AclPolicy:

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

getRequestId

Optional. Idempotent request UUID.

Returns
Type Description
string

setRequestId

Optional. Idempotent request UUID.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
aclPolicy AclPolicy

Required. The ACL policy to be updated.

updateMask Google\Protobuf\FieldMask

Optional. Mask of fields to be updated. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from AclPolicy:

    • rules
Returns
Type Description
UpdateAclPolicyRequest