Class ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.SessionsResource.FulfillIntentRequest
Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.SessionsResource.FulfillIntentRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowCxV3FulfillIntentResponse>, IClientServiceRequest<GoogleCloudDialogflowCxV3FulfillIntentResponse>, IClientServiceRequest
Constructors
FulfillIntentRequest(IClientService, GoogleCloudDialogflowCxV3FulfillIntentRequest, string)
Constructs a new FulfillIntent request.
Declaration
public FulfillIntentRequest(IClientService service, GoogleCloudDialogflowCxV3FulfillIntentRequest body, string session)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDialogflowCxV3FulfillIntentRequest | 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 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.
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 FulfillIntent parameter list.
Declaration
protected override void InitParameters()