Class ProjectsResource.LocationsResource.AppsResource.SessionsResource.StreamRunSessionRequest
Initiates a single-turn interaction with the CES agent. Uses server-side streaming to deliver incremental results and partial responses as they are generated. By default, complete responses (e.g., messages from callbacks or full LLM responses) are sent to the client as soon as they are available. To enable streaming individual text chunks directly from the model, set enable_text_streaming to true.
Inheritance
ProjectsResource.LocationsResource.AppsResource.SessionsResource.StreamRunSessionRequest
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.AppsResource.SessionsResource.StreamRunSessionRequest : CustomerEngagementSuiteBaseServiceRequest<RunSessionResponse>, IClientServiceRequest<RunSessionResponse>, IClientServiceRequest
Constructors
StreamRunSessionRequest(IClientService, RunSessionRequest, string)
Constructs a new StreamRunSession request.
Declaration
public StreamRunSessionRequest(IClientService service, RunSessionRequest body, string session)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| RunSessionRequest | body | |
| string | session |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Session
Required. The unique identifier of the session. Format:
projects/{project}/locations/{location}/apps/{app}/sessions/{session}
Declaration
[RequestParameter("session", RequestParameterType.Path)]
public virtual string Session { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes StreamRunSession parameter list.
Declaration
protected override void InitParameters()