Class ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.StreamChatAiAssistantRequest
Runs the Chat AI assistant agent for the specified assistant session in a streaming fashion.
Inheritance
ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.StreamChatAiAssistantRequest
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.StreamChatAiAssistantRequest : CustomerEngagementSuiteBaseServiceRequest<StreamChatAiAssistantResponse>, IClientServiceRequest<StreamChatAiAssistantResponse>, IClientServiceRequest
Constructors
StreamChatAiAssistantRequest(IClientService, StreamChatAiAssistantRequest, string)
Constructs a new StreamChatAiAssistant request.
Declaration
public StreamChatAiAssistantRequest(IClientService service, StreamChatAiAssistantRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| StreamChatAiAssistantRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The assistant session to be used to run the assistant. Format:
projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes StreamChatAiAssistant parameter list.
Declaration
protected override void InitParameters()