Method: accounts.icons.get
요청 URI에 지정된 아이콘 리소스 이름과 연결된 Icon
인스턴스를 반환합니다. 아이콘 리소스 이름을 가져오려면 list
메서드를 사용합니다.
HTTP 요청
GET https://travelpartner.googleapis.com/v3/{name=accounts/*/icons/*}
URL은 gRPC 트랜스코딩 구문을 사용합니다.
경로 매개변수
매개변수 |
name |
string
필수 항목입니다. 아이콘의 리소스 이름입니다. 형식은 accounts/{account_id}/icons/{icon_id} 입니다.
|
응답 본문
성공한 경우 응답 본문에 Icon
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/travelpartner
자세한 내용은 OAuth 2.0 개요를 참고하세요.
All rights reserved. 자바는 Oracle 및/또는 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."]]],[]]