Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.MessageResource

The "message" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.MessageResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.MessageResource

Constructors

MessageResource(IClientService)

Constructs a new resource.

Declaration
public MessageResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Send(A2aV1SendMessageRequest, string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.MessageResource.SendRequest Send(A2aV1SendMessageRequest body, string tenant)
Parameters
Type Name Description
A2aV1SendMessageRequest body

The body of the request.

string tenant

Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.MessageResource.SendRequest

Stream(A2aV1SendMessageRequest, string)

SendStreamingMessage is a streaming call that will return a stream of task update events until the Task is in an interrupted or terminal state.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.MessageResource.StreamRequest Stream(A2aV1SendMessageRequest body, string tenant)
Parameters
Type Name Description
A2aV1SendMessageRequest body

The body of the request.

string tenant

Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.MessageResource.StreamRequest
In this article
Back to top Generated by DocFX