Google Cloud Managed Kafka V1 Client - Class UpdateAclRequest (0.5.0)

Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class UpdateAclRequest.

Request for UpdateAcl.

Generated from protobuf message google.cloud.managedkafka.v1.UpdateAclRequest

Namespace

Google \ Cloud \ ManagedKafka \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ acl Acl

Required. The updated acl. Its name and etag fields must be populated. acl_entries must not be empty in the updated acl; to remove all acl entries for an acl, use DeleteAcl.

↳ update_mask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the Acl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

getAcl

Required. The updated acl. Its name and etag fields must be populated.

acl_entries must not be empty in the updated acl; to remove all acl entries for an acl, use DeleteAcl.

Returns
Type Description
Acl|null

hasAcl

clearAcl

setAcl

Required. The updated acl. Its name and etag fields must be populated.

acl_entries must not be empty in the updated acl; to remove all acl entries for an acl, use DeleteAcl.

Parameter
Name Description
var Acl
Returns
Type Description
$this

getUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the Acl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the Acl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

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

static::build

Parameters
Name Description
acl Acl

Required. The updated acl. Its name and etag fields must be populated. acl_entries must not be empty in the updated acl; to remove all acl entries for an acl, use DeleteAcl.

updateMask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the Acl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.

Returns
Type Description
UpdateAclRequest