Method: accounts.icons.get
傳回與要求 URI 中指定的圖示資源名稱相關聯的 Icon
執行個體。如要取得圖示資源名稱,請使用 list
方法。
HTTP 要求
GET https://travelpartner.googleapis.com/v3/{name=accounts/*/icons/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
name |
string
必要,圖示的資源名稱。格式為 accounts/{account_id}/icons/{icon_id} 。
|
回應主體
如果成功,回應主體會包含 Icon
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/travelpartner
詳情請參閱 OAuth 2.0 總覽。
保留所有權利。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-08-23 (世界標準時間)。
[null,null,["上次更新時間:2022-08-23 (世界標準時間)。"],[[["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."]]],[]]