Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AppsResource.SessionsResource

The "sessions" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AppsResource.SessionsResource
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.SessionsResource

Constructors

SessionsResource(IClientService)

Constructs a new resource.

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

Methods

GenerateChatToken(GenerateChatTokenRequest, string)

Generates a session scoped token for chat widget to authenticate with Session APIs.

Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.SessionsResource.GenerateChatTokenRequest GenerateChatToken(GenerateChatTokenRequest body, string name)
Parameters
Type Name Description
GenerateChatTokenRequest body

The body of the request.

string name

Required. The session name to generate the chat token for. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}

Returns
Type Description
ProjectsResource.LocationsResource.AppsResource.SessionsResource.GenerateChatTokenRequest

RunSession(RunSessionRequest, string)

Initiates a single turn interaction with the CES agent within a session.

Declaration
public virtual ProjectsResource.LocationsResource.AppsResource.SessionsResource.RunSessionRequest RunSession(RunSessionRequest body, string session)
Parameters
Type Name Description
RunSessionRequest body

The body of the request.

string session

Required. The unique identifier of the session. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}

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