Class ProjectsResource.LocationsResource.AgentResource.SessionsResource.DeleteContextsRequest
Deletes all active contexts in the specified session.
Inheritance
ProjectsResource.LocationsResource.AgentResource.SessionsResource.DeleteContextsRequest
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentResource.SessionsResource.DeleteContextsRequest : DialogflowBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest
Constructors
DeleteContextsRequest(IClientService, string)
Constructs a new DeleteContexts request.
Declaration
public DeleteContextsRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
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
Parent
Required. The name of the session to delete all contexts from. Supported formats: -
projects//agent/sessions/, -
projects//locations//agent/sessions/, -
projects//agent/environments//users//sessions/, -
projects//locations//agent/environments//users//sessions/, If
Location IDis not specified we assume default 'us' location. If
Environment IDis not specified we assume default 'draft' environment. If
User ID` is not specified, we assume default '-' user.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes DeleteContexts parameter list.
Declaration
protected override void InitParameters()