Method: accounts.locations.followers.getMetadata

获取营业地点的关注者设置。

如果帐号或营业地点不存在,则返回 NOT_FOUND。如果该营业地点未经过验证,也未与 Google 地图关联,则返回 PRECONDITION_FAILED。

HTTP 请求

GET https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/followers/metadata}

网址采用 gRPC 转码语法。

路径参数

参数
name

string

营业地点的关注者元数据的资源名称。accounts/{accountId}/locations/{locationId}/followers/metadata

请求正文

请求正文必须为空。

响应正文

如果成功,响应正文将包含结构如下的数据:

营业地点的关注者元数据。

JSON 表示法
{
  "name": string,
  "count": string
}
字段
name

string

此的资源名称。accounts/{accountId}/locations/{locationId}/followers/metadata

count

string

营业地点的关注者总数。

授权范围

需要以下 OAuth 范围之一:

  • https://www.googleapis.com/auth/plus.business.manage
  • https://www.googleapis.com/auth/business.manage

有关详情,请参阅 OAuth 2.0 概览