Method: accounts.locations.getGoogleUpdated

获取指定营业地点的 Google 更新版本。如果该营业地点不存在,则返回 NOT_FOUND

HTTP 请求

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

网址采用 gRPC 转码语法。

路径参数

参数
name

string

要获取的营业地点的名称。

请求正文

请求正文必须为空。

响应正文

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

表示由 Google 修改的营业地点。

JSON 表示法
{
  "location": {
    object (Location)
  },
  "diffMask": string
}
字段
location

object (Location)

此营业地点的 Google 更新版本。

diffMask

string (FieldMask format)

Google 更新的字段。

这是以逗号分隔的完全限定字段名称列表。示例:"user.displayName,photo"

授权范围

需要以下 OAuth 范围之一:

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

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