Method: accounts.locations.getGoogleUpdated
指定したビジネスの Google によって変更されたバージョンを取得します。ビジネスが存在しない場合は NOT_FOUND
を返します。
HTTP リクエスト
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*}:googleUpdated
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
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 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-22 UTC。
[null,null,["最終更新日 2024-08-22 UTC。"],[[["Retrieves the Google-updated version of a specified location using a GET request."],["Requires providing the location name as a path parameter."],["Returns a JSON response containing the updated location data and a diff mask indicating the modified fields."],["Needs authorization with specific OAuth scopes like `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."]]],["This describes retrieving a Google-updated location using a `GET` request to a specific URL (`https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*}:googleUpdated`). The `name` path parameter identifies the location. The request body must be empty. A successful response contains a JSON object with the updated location data, including the `location` object and a `diffMask` string that specifies changed fields. Authorization requires either the `plus.business.manage` or `business.manage` OAuth scope.\n"]]