Method: projects.locations.backupCollections.get

获取备份集合。

HTTP 请求

GET https://redis.googleapis.com/v1/{name=projects/*/locations/*/backupCollections/*}

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。Redis backupCollection 资源名称,采用以下格式:projects/{projectId}/locations/{locationId}/backupCollections/{backup_collection_id},其中 locationId 是指 Google Cloud 区域。

请求正文

请求正文必须为空。

响应正文

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

授权范围

需要以下 OAuth 范围之一:

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

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