A reference to a source of information.
| JSON representation |
|---|
{ "title": string, "uri": string, "snippet": { object ( |
| Fields | |
|---|---|
title |
Required. The plaintext title of the |
uri |
Required. The URI pointing to the resource referenced by this |
snippet |
Optional. Snippet containing information directly from the source. |
footer |
Optional. Additional information to show alongside the snippet in the form of a footer. |
Snippet
A snippet object representing an excerpt from a larger corpus.
| JSON representation |
|---|
{
"text": string,
"imagePreview": {
object ( |
| Fields | |
|---|---|
text |
Optional. A short plaintext excerpt directly from the corpus that is rendered in the citation hover card or source preview. When footer sources are automatically populated from inline |
imagePreview |
Optional. Image preview of the snippet provided as an input when creating the citation. |
ElementsImage
An object encapsulating different ways of representing an image. Currently supported representations:
- An image fetched from a URI.
Additional representations might be supported in the future.
| JSON representation |
|---|
{ "imageUri": string } |
| Fields | |
|---|---|
| Required. One of the supported image representations. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
imageUri |
Required. The URI of the image. Must be a publicly accessible URI so that Chat can fetch and display it. |
| End of mutually exclusive fields. | |