message
Creates, updates, deletes, gets or lists a message resource.
Overview
| Name | message |
| Type | Resource |
| Id | google.discoveryengine.message |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_collections_engines_assistants_agents_a2a_v1_message_send | exec | projectsId, locationsId, collectionsId, enginesId, assistantsId, agentsId | Send a message to the agent. This is a blocking call that will return the task once it is completed, or a LRO if requested. | |
projects_locations_collections_engines_assistants_agents_a2a_v1_message_stream | exec | projectsId, locationsId, collectionsId, enginesId, assistantsId, agentsId | SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
agentsId | string | |
assistantsId | string | |
collectionsId | string | |
enginesId | string | |
locationsId | string | |
projectsId | string |
Lifecycle Methods
- projects_locations_collections_engines_assistants_agents_a2a_v1_message_send
- projects_locations_collections_engines_assistants_agents_a2a_v1_message_stream
Send a message to the agent. This is a blocking call that will return the task once it is completed, or a LRO if requested.
EXEC google.discoveryengine.message.projects_locations_collections_engines_assistants_agents_a2a_v1_message_send
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@collectionsId='{{ collectionsId }}' --required,
@enginesId='{{ enginesId }}' --required,
@assistantsId='{{ assistantsId }}' --required,
@agentsId='{{ agentsId }}' --required
@@json=
'{
"configuration": "{{ configuration }}",
"metadata": "{{ metadata }}",
"message": "{{ message }}"
}'
;
SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.
EXEC google.discoveryengine.message.projects_locations_collections_engines_assistants_agents_a2a_v1_message_stream
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@collectionsId='{{ collectionsId }}' --required,
@enginesId='{{ enginesId }}' --required,
@assistantsId='{{ assistantsId }}' --required,
@agentsId='{{ agentsId }}' --required
@@json=
'{
"configuration": "{{ configuration }}",
"metadata": "{{ metadata }}",
"message": "{{ message }}"
}'
;