Method: projects.locations.aclPolicies.get

获取特定 Redis 集群 ACL 政策的详细信息。

HTTP 请求

GET https://redis.googleapis.com/v1alpha1/{name=projects/*/locations/*/aclPolicies/*}

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。Redis ACL 政策资源名称,采用以下格式:projects/{projectId}/locations/{locationId}/aclPolicies/{aclPolicyId},其中 locationId 是指 Google Cloud 区域。

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 AclPolicy 实例。

授权范围

需要以下 OAuth 范围之一:

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

如需了解详情,请参阅 Authentication Overview。