AI-generated Key Takeaways
-
The
accounts.icons.get
method returns theIcon
instance associated with a specified icon resource name. -
To use this method, you need the icon's resource name, which follows the format
accounts/{account_id}/icons/{icon_id}
. -
The HTTP request uses a GET method to a URL with the icon's resource name.
-
The request body must be empty, and a successful response contains an
Icon
instance. -
This method requires the
https://www.googleapis.com/auth/travelpartner
OAuth scope for authorization.
Returns the Icon
instance associated with an icon resource name specified in the request URI. To get icon resource names, use the list
method.
HTTP request
GET https://travelpartner.googleapis.com/v3/{name=accounts/*/icons/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The icon's resource name. The format is |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Icon
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview.