Class ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.CancelAssistantTurnRequest
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.
Inheritance
ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.CancelAssistantTurnRequest
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1
Assembly: Google.Apis.CustomerEngagementSuite.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AppsResource.AssistantSessionsResource.CancelAssistantTurnRequest : CustomerEngagementSuiteBaseServiceRequest<CancelAssistantTurnResponse>, IClientServiceRequest<CancelAssistantTurnResponse>, IClientServiceRequest
Constructors
CancelAssistantTurnRequest(IClientService, CancelAssistantTurnRequest, string)
Constructs a new CancelAssistantTurn request.
Declaration
public CancelAssistantTurnRequest(IClientService service, CancelAssistantTurnRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| CancelAssistantTurnRequest | 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 whose in-flight turn to cancel.
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 CancelAssistantTurn parameter list.
Declaration
protected override void InitParameters()