Method: projects.locations.clusters.acls.patch

Updates the properties of a single acl.

HTTP request

PATCH https://managedkafka.googleapis.com/v1/{acl.name=projects/*/locations/*/clusters/*/acls/**}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
acl.name

string

Identifier. The name for the acl. Represents a single Resource Pattern. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/acls/{aclId}

The structure of aclId defines the Resource Pattern (resourceType, resourceName, patternType) of the acl. aclId is structured like one of the following:

For acls on the cluster: cluster

For acls on a single resource within the cluster: topic/{resourceName} consumerGroup/{resourceName} transactionalId/{resourceName}

For acls on all resources that match a prefix: topicPrefixed/{resourceName} consumerGroupPrefixed/{resourceName} transactionalIdPrefixed/{resourceName}

For acls on all resources of a given type (i.e. the wildcard literal "*"): allTopics (represents topic/*) allConsumerGroups (represents consumerGroup/*) allTransactionalIds (represents transactionalId/*)

Query parameters

Parameters
updateMask

string (FieldMask format)

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

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Acl.

Response body

If successful, the response body contains an instance of Acl.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.