Method: accounts.icons.get
リクエスト URI で指定されたアイコン リソース名に関連付けられた Icon
インスタンスを返します。アイコンのリソース名を取得するには、list
メソッドを使用します。
HTTP リクエスト
GET https://travelpartner.googleapis.com/v3/{name=accounts/*/icons/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。アイコンのリソース名。形式は accounts/{account_id}/icons/{icon_id} です。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Icon
のインスタンスが含まれます。
認証スコープ
次の 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 endpoint retrieves an `Icon` instance associated with a specified icon resource name."],["To use this endpoint, you need to provide the icon's resource name in the request URL using the format `accounts/{account_id}/icons/{icon_id}`."],["The request body should be empty, and a successful response will contain an `Icon` object."],["You need the `https://www.googleapis.com/auth/travelpartner` OAuth scope to authorize this request."]]],[]]