Method: projects.locations.clusters.acls.addAclEntry

Incremental update: Adds an acl entry to an acl. Creates the acl if it does not exist yet.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
acl

string

Required. The name of the acl to add the acl entry to. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/acls/{aclId}.

The structure of aclId defines the Resource Pattern (resourceType, resourceName, patternType) of the acl. See Acl.name for details.

Request body

The request body contains an instance of AclEntry.

Response body

Response for acls.addAclEntry.

If successful, the response body contains data with the following structure:

JSON representation
{
  "acl": {
    object (Acl)
  },
  "aclCreated": boolean
}
Fields
acl

object (Acl)

The updated acl.

aclCreated

boolean

Whether the acl was created as a result of adding the acl entry.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.