Method: projects.locations.instances.get

获取由指定资源名称标识的DatabaseInstance

HTTP请求

GET https://firebasedatabase.googleapis.com/v1beta/{name=projects/*/locations/*/instances/*}

URL 使用gRPC 转码语法。

路径参数

参数
name

string

数据库实例的完全限定资源名称,格式为: projects/{project-number}/locations/{location-id}/instances/{database-id}

database-id是所有父集合中的全局唯一标识符。为方便起见,此方法允许您提供-作为通配符来代替projectslocations下的特定集合。该方法的通配符形式为: projects/-/locations/-/instances/{database-id}

授权需要对指定资源name具有以下IAM权限:

  • firebasedatabase.instances.get

请求正文

请求正文必须为空。

响应体

如果成功,响应正文将包含DatabaseInstance的实例。

授权范围

需要以下 OAuth 范围之一:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-platform.read-only
  • https://www.googleapis.com/auth/firebase
  • https://www.googleapis.com/auth/firebase.readonly

有关详细信息,请参阅身份验证概述