AI-generated Key Takeaways
-
The Icon resource provides information about a partner's icon, including its name, image data, state, URI, reference, and any disapproval reasons.
-
Icons can be in different states, including
NEW,APPROVED, andREJECTED. -
The API provides methods to create, get, and list icons for a partner account.
Resource: Icon
Information about a partner's icon.
| JSON representation |
|---|
{ "name" : string , "imageData" : string , "state" : enum ( |
| Fields | |
|---|---|
name
|
Required. Output only. The resource name for the icon in the format |
imageData
|
Required. Input only. The icon contents, which must be in PNG format, or convertible to PNG. A base64-encoded string. |
state
|
Output only. The icon's current state. |
iconUri
|
Output only. The approved icon's Google-hosted URI. Only applies to icons with |
reference
|
Optional. Value for tracking the icon. It could be the primary key to your icon in your system, or the icon's filename. Google does not use this value. |
disapprovalReasons[]
|
Output only. The icon's disapproval reason(s). Only applies to icons with |
State
Possible icon states.
| Enums | |
|---|---|
STATE_UNSPECIFIED
|
Default value. |
NEW
|
Google has received the icon and is reviewing its contents. |
APPROVED
|
The icon is approved and is ready for public display. You can link APPROVED icons to brands. |
REJECTED
|
The icon is rejected. Google won't display this icon. |
Methods |
|
|---|---|
|
Uploads a new icon and starts its review process. |
|
Returns the Icon
instance associated with an icon resource name specified in the request URI. |
|
Returns the Icon
s for a partner account. |

