- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Creates a new acl in the given project, location, and cluster.
HTTP request
POST https://managedkafka.googleapis.com/v1/{parent=projects/*/locations/*/clusters/*}/acls
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent cluster in which to create the acl. Structured like |
Query parameters
Parameters | |
---|---|
aclId |
Required. The ID to use for the acl, which will become the final component of the acl's name. The structure of For acls on the cluster: For acls on a single resource within the cluster: For acls on all resources that match a prefix: For acls on all resources of a given type (i.e. the wildcard literal "*"): |
Request body
The request body contains an instance of Acl
.
Response body
If successful, the response body contains a newly created instance of Acl
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.