- [JSON representation](https://developers.google.com/merchant/api/reference/rest/productstudio_v1alpha/GeneratedImage#SCHEMA_REPRESENTATION)

Represents a generated image object.

| JSON representation |
|---|
| ``` { "name": string, "generationTime": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "uri": string, "imageBytes": string // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The unique key for the image. |
| `generationTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The timestamp when the image was generated. |
| The generated image. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `uri` | `string` Generally web-requestable URI of the generated image. This is a temporary URI and will expire after 29 days. A URI may not be populated immediately after generation. Use get or list api using image_id to get the URI. |
| `imageBytes` | `string (https://developers.google.com/discovery/v1/type-format format)` Raw bytes for the image. A base64-encoded string. |
| End of mutually exclusive fields. ||