Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentsResource.SessionsResource.DetectIntentRequest

Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See Versions and environments.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>
ProjectsResource.LocationsResource.AgentsResource.SessionsResource.DetectIntentRequest
Implements
IClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>
IClientServiceRequest
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.Xgafv
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.AccessToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.Alt
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.Callback
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.Fields
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.Key
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.OauthToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.PrettyPrint
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.QuotaUser
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.UploadType
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.Execute()
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.ETagAction
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.ApiVersion
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.RequestParameters
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v3
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.SessionsResource.DetectIntentRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>, IClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>, IClientServiceRequest

Constructors

DetectIntentRequest(IClientService, GoogleCloudDialogflowCxV3DetectIntentRequest, string)

Constructs a new DetectIntent request.

Declaration
public DetectIntentRequest(IClientService service, GoogleCloudDialogflowCxV3DetectIntentRequest body, string session)
Parameters
Type Name Description
IClientService service
GoogleCloudDialogflowCxV3DetectIntentRequest body
string session

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.RestPath

Session

Required. The name of the session this query is sent to. Format: projects//locations//agents//sessions/ or projects//locations//agents//environments//sessions/. If Environment ID is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. For more information, see the sessions guide. Note: Always use agent versions for production traffic. See Versions and environments.

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
ClientServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.GetBody()

InitParameters()

Initializes DetectIntent parameter list.

Declaration
protected override void InitParameters()
Overrides
DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3DetectIntentResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX