Class ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.SessionsResource
The "sessions" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v3beta1
Assembly: Google.Apis.Dialogflow.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.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.EnvironmentsResource.SessionsResource.EntityTypesResource EntityTypes { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.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.EnvironmentsResource.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.EnvironmentsResource.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.EnvironmentsResource.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.EnvironmentsResource.SessionsResource.FulfillIntentRequest |
MatchIntent(GoogleCloudDialogflowCxV3beta1MatchIntentRequest, string)
Returns preliminary intent match results, doesn't change the session status.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.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.EnvironmentsResource.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.EnvironmentsResource.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.EnvironmentsResource.SessionsResource.ServerStreamingDetectIntentRequest |