Class ProjectsResource.LocationsResource.AgentsResource.SessionsResource
The "sessions" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.SessionsResource
Constructors
SessionsResource(IClientService)
Constructs a new resource.
Declaration
public SessionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
EntityTypes
Gets the EntityTypes resource.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.SessionsResource.EntityTypesResource EntityTypes { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.SessionsResource.EntityTypesResource |
Methods
DetectIntent(GoogleCloudDialogflowCxV3beta1DetectIntentRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.SessionsResource.DetectIntentRequest DetectIntent(GoogleCloudDialogflowCxV3beta1DetectIntentRequest body, string session)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1DetectIntentRequest | body | The body of the request. |
string | session | Required. The name of the session this query is sent to. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.SessionsResource.DetectIntentRequest |
FulfillIntent(GoogleCloudDialogflowCxV3beta1FulfillIntentRequest, string)
Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.SessionsResource.FulfillIntentRequest FulfillIntent(GoogleCloudDialogflowCxV3beta1FulfillIntentRequest body, string session)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1FulfillIntentRequest | body | The body of the request. |
string | session | Required. The name of the session this query is sent to. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.SessionsResource.FulfillIntentRequest |
MatchIntent(GoogleCloudDialogflowCxV3beta1MatchIntentRequest, string)
Returns preliminary intent match results, doesn't change the session status.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.SessionsResource.MatchIntentRequest MatchIntent(GoogleCloudDialogflowCxV3beta1MatchIntentRequest body, string session)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1MatchIntentRequest | body | The body of the request. |
string | session | Required. The name of the session this query is sent to. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.SessionsResource.MatchIntentRequest |
ServerStreamingDetectIntent(GoogleCloudDialogflowCxV3beta1DetectIntentRequest, string)
Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send partial responses earlier in a single request.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.SessionsResource.ServerStreamingDetectIntentRequest ServerStreamingDetectIntent(GoogleCloudDialogflowCxV3beta1DetectIntentRequest body, string session)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1DetectIntentRequest | body | The body of the request. |
string | session | Required. The name of the session this query is sent to. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.SessionsResource.ServerStreamingDetectIntentRequest |
SubmitAnswerFeedback(GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest, string)
Updates the feedback received from the user for a single turn of the bot response.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.SessionsResource.SubmitAnswerFeedbackRequest SubmitAnswerFeedback(GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest body, string session)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3beta1SubmitAnswerFeedbackRequest | body | The body of the request. |
string | session | Required. The name of the session the feedback was sent to. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.SessionsResource.SubmitAnswerFeedbackRequest |