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.v1beta
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.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

Create(CreateAssistantSessionRequest, string)

Creates a new assistant session in the given app.

Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.CreateRequest Create(CreateAssistantSessionRequest body, string parent)
Parameters
Type Name Description
CreateAssistantSessionRequest body

The body of the request.

string parent

Required. The app to create the assistant session in Format: projects/{project}/locations/{location}/apps/{app}

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

Delete(string)

Deletes the specified assistant session.

Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the assistant session to delete. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}

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

Get(string)

Gets details of the specified assistant session.

Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the assistant session to retrieve. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}

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

List(string)

Lists all assistant sessions in the given app.

Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The app to list assistant sessions from. Format: projects/{project}/locations/{location}/apps/{app}

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

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