Skip to main content

message

Creates, updates, deletes, gets or lists a message resource.

Overview

Namemessage
TypeResource
Idgoogle.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:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_collections_engines_assistants_agents_a2a_v1_message_sendexecprojectsId, locationsId, collectionsId, enginesId, assistantsId, agentsIdSend 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_streamexecprojectsId, locationsId, collectionsId, enginesId, assistantsId, agentsIdSendStreamingMessage 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.

NameDatatypeDescription
agentsIdstring
assistantsIdstring
collectionsIdstring
enginesIdstring
locationsIdstring
projectsIdstring

Lifecycle Methods

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 }}"
}'
;