Method: accounts.locations.verifications.complete
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
PENDING
のオーナー確認を完了します。
この操作が必要なのは、AUTO
以外のオーナー確認方法の場合のみです。AUTO
のオーナー確認リクエストは、作成後すぐに VERIFIED
になります。
HTTP リクエスト
POST https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/verifications/*}:complete
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
完了するオーナー確認のリソース名。
|
リクエスト本文
リクエストの本文には、次の構造のデータが含まれます。
JSON 表現 |
{
"pin": string
} |
フィールド |
pin |
string
オーナー確認を完了するために販売者が受け取った PIN コード。
|
レスポンスの本文
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
Verifications.CompleteVerificationAction に対するレスポンス メッセージです。
フィールド |
verification |
object (Verification )
完了したオーナー確認。
|
認可スコープ
次の 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-10-14 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-10-14 UTC。"],[[["Completes a pending verification, required only for non-auto verification methods as auto requests are instantly verified."],["Sends a POST request to the specified URL with path parameter indicating the verification to complete."],["Request body can include a PIN code for verification completion."],["Successful response provides the completed verification details."],["Requires specific OAuth scopes for authorization."]]],["To complete a `PENDING` verification (excluding `AUTO` methods), send a `POST` request to `https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/verifications/*}:complete`. The `name` path parameter specifies the verification resource. The request body, in JSON format, requires a `pin` string. A successful response returns a JSON body containing the `verification` object. Authorization requires either the `plus.business.manage` or `business.manage` OAuth scope.\n"]]