Method: accounts.accountLinks.get
リクエスト URL で指定されたアカウント リンク リソース名に関連付けられている AccountLink
インスタンスを返します。アカウントのリンクのリソース名を取得するには、list
メソッドを使用します。
HTTP リクエスト
GET https://travelpartner.googleapis.com/v3/{name=accounts/*/accountLinks/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
アカウント リンクのリソース名。形式は accounts/{account_id}/accountLinks/{account_link_id} です。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には AccountLink
のインスタンスが含まれます。
認証スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/travelpartner
詳しくは、OAuth 2.0 の概要をご覧ください。
All rights reserved. Java は Oracle および関連会社の登録商標です。
最終更新日 2022-08-23 UTC。
[null,null,["最終更新日 2022-08-23 UTC。"],[[["This API retrieves the details of a specific AccountLink resource using its unique name."],["You need to provide the AccountLink resource name in the URL path, structured as `accounts/{account_id}/accountLinks/{account_link_id}`."],["The request body should be empty, and a successful response will return an `AccountLink` object with the requested details."],["Authorization requires the `https://www.googleapis.com/auth/travelpartner` OAuth scope."]]],[]]