A query to retrieve relevant contexts.
Fields `ragRetrievalConfig` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.cachedContents#RagRetrievalConfig`)`` Optional. The retrieval config for the query.
`query` `Union type` The query to retrieve contexts. Currently only text query is supported. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: `text` `string` Optional. The query in text format to get relevant contexts.
End of mutually exclusive fields.

| JSON representation |
|---|
| ``` { "ragRetrievalConfig": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.cachedContents#RagRetrievalConfig`) }, // query "text": string // Union type } ``` |