Class ProjectsResource.AgentResource.SessionsResource.DetectIntentRequest
Inheritance
ProjectsResource.AgentResource.SessionsResource.DetectIntentRequest
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.AgentResource.SessionsResource.DetectIntentRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2DetectIntentResponse>, IClientServiceRequest<GoogleCloudDialogflowV2DetectIntentResponse>, IClientServiceRequest
Constructors
DetectIntentRequest(IClientService, GoogleCloudDialogflowV2DetectIntentRequest, string)
Constructs a new DetectIntent request.
Declaration
public DetectIntentRequest(IClientService service, GoogleCloudDialogflowV2DetectIntentRequest body, string session)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDialogflowV2DetectIntentRequest | 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
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 DetectIntent parameter list.
Declaration
protected override void InitParameters()