- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Creates an ACL policy. The creation is executed synchronously and the policy is available for use immediately after the RPC returns.
HTTP request
POST https://redis.googleapis.com/v1/{parent=projects/*/locations/*}/aclPolicies
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The resource name of the cluster location using the form: |
Query parameters
| Parameters | |
|---|---|
aclPolicyId |
Required. The logical name of the ACL policy in the customer project with the following restrictions:
|
requestId |
Optional. Idempotent request UUID. . |
Request body
The request body contains an instance of AclPolicy.
Response body
If successful, the response body contains a newly created instance of AclPolicy.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/redis.read-write
For more information, see the Authentication Overview.