Class ProjectsResource.LocationsResource.AssistantSessionsResource
The "assistantSessions" collection of methods.
Inherited Members
Namespace: Google.Apis.Contactcenterinsights.v1
Assembly: Google.Apis.Contactcenterinsights.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AssistantSessionsResource
Constructors
AssistantSessionsResource(IClientService)
Constructs a new resource.
Declaration
public AssistantSessionsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(GoogleCloudContactcenterinsightsV1AssistantSession, string)
Creates an assistant session.
Declaration
public virtual ProjectsResource.LocationsResource.AssistantSessionsResource.CreateRequest Create(GoogleCloudContactcenterinsightsV1AssistantSession body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudContactcenterinsightsV1AssistantSession | body | The body of the request. |
| string | parent | Required. The parent resource where this assistant session will be created. Format: projects/{project}/locations/{location} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AssistantSessionsResource.CreateRequest |
Get(string)
Gets an assistant session.
Declaration
public virtual ProjectsResource.LocationsResource.AssistantSessionsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the assistant session to retrieve. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AssistantSessionsResource.GetRequest |
List(string)
Lists assistant sessions.
Declaration
public virtual ProjectsResource.LocationsResource.AssistantSessionsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent resource, which owns this collection of assistant sessions. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AssistantSessionsResource.ListRequest |
StreamChat(GoogleCloudContactcenterinsightsV1StreamChatRequest, string)
Streams chat messages from the assistant.
Declaration
public virtual ProjectsResource.LocationsResource.AssistantSessionsResource.StreamChatRequest StreamChat(GoogleCloudContactcenterinsightsV1StreamChatRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudContactcenterinsightsV1StreamChatRequest | body | The body of the request. |
| string | name | Required. The name of the assistant session to stream chat. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AssistantSessionsResource.StreamChatRequest |