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 |
image |
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. |
icon |
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. |
disapproval |
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. |