Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.SessionsResource

The "sessions" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.SessionsResource
Inherited Members
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.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(GoogleCloudDialogflowCxV3DetectIntentRequest, 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(GoogleCloudDialogflowCxV3DetectIntentRequest body, string session)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3DetectIntentRequest body

The body of the request.

string 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.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.SessionsResource.DetectIntentRequest

FulfillIntent(GoogleCloudDialogflowCxV3FulfillIntentRequest, 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(GoogleCloudDialogflowCxV3FulfillIntentRequest body, string session)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3FulfillIntentRequest body

The body of the request.

string 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.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.SessionsResource.FulfillIntentRequest

MatchIntent(GoogleCloudDialogflowCxV3MatchIntentRequest, string)

Returns preliminary intent match results, doesn't change the session status.

Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.SessionsResource.MatchIntentRequest MatchIntent(GoogleCloudDialogflowCxV3MatchIntentRequest body, string session)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3MatchIntentRequest body

The body of the request.

string 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.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.SessionsResource.MatchIntentRequest

ServerStreamingDetectIntent(GoogleCloudDialogflowCxV3DetectIntentRequest, 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(GoogleCloudDialogflowCxV3DetectIntentRequest body, string session)
Parameters
Type Name Description
GoogleCloudDialogflowCxV3DetectIntentRequest body

The body of the request.

string 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.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.SessionsResource.ServerStreamingDetectIntentRequest
In this article
Back to top Generated by DocFX