Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource

The "assistantSessions" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CustomerEngagementSuite.v1
Assembly: Google.Apis.CustomerEngagementSuite.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource

Constructors

AssistantSessionsResource(IClientService)

Constructs a new resource.

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

Methods

CancelAssistantTurn(CancelAssistantTurnRequest, string)

Cancels the assistant session's in-flight turn, if any: the explicit user stop for a turn running detached from any stream. A cancel landing on a task that does not host the turn preempts it through the session turn epoch instead, ending it within one lease renewal.

Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.CancelAssistantTurnRequest CancelAssistantTurn(CancelAssistantTurnRequest body, string name)
Parameters
Type Name Description
CancelAssistantTurnRequest body

The body of the request.

string name

Required. The assistant session whose in-flight turn to cancel.

Returns
Type Description
ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.CancelAssistantTurnRequest

StreamChatAiAssistant(StreamChatAiAssistantRequest, string)

Runs the Chat AI assistant agent for the specified assistant session in a streaming fashion.

Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.StreamChatAiAssistantRequest StreamChatAiAssistant(StreamChatAiAssistantRequest body, string name)
Parameters
Type Name Description
StreamChatAiAssistantRequest body

The body of the request.

string name

Required. The assistant session to be used to run the assistant. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}

Returns
Type Description
ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.StreamChatAiAssistantRequest
In this article
Back to top Generated by DocFX