Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ConversationsResource

The "conversations" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ConversationsResource
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.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConversationsResource

Constructors

ConversationsResource(IClientService)

Constructs a new resource.

Declaration
public ConversationsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Messages

Gets the Messages resource.

Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.MessagesResource Messages { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.ConversationsResource.MessagesResource

Participants

Gets the Participants resource.

Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource Participants { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource

Suggestions

Gets the Suggestions resource.

Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource Suggestions { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource

Methods

Complete(GoogleCloudDialogflowV2CompleteConversationRequest, string)

Completes the specified conversation. Finished conversations are purged from the database after 30 days.

Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.CompleteRequest Complete(GoogleCloudDialogflowV2CompleteConversationRequest body, string name)
Parameters
Type Name Description
GoogleCloudDialogflowV2CompleteConversationRequest body

The body of the request.

string name

Required. Resource identifier of the conversation to close. Format: projects//locations//conversations/.

Returns
Type Description
ProjectsResource.LocationsResource.ConversationsResource.CompleteRequest

Create(GoogleCloudDialogflowV2Conversation, string)

Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from Automated Agent Stage, otherwise, it will start from Assist Stage. And during Automated Agent Stage, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage.

Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.CreateRequest Create(GoogleCloudDialogflowV2Conversation body, string parent)
Parameters
Type Name Description
GoogleCloudDialogflowV2Conversation body

The body of the request.

string parent

Required. Resource identifier of the project creating the conversation. Format: projects//locations/.

Returns
Type Description
ProjectsResource.LocationsResource.ConversationsResource.CreateRequest

Get(string)

Retrieves the specific conversation.

Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the conversation. Format: projects//locations//conversations/.

Returns
Type Description
ProjectsResource.LocationsResource.ConversationsResource.GetRequest

IngestContextReferences(GoogleCloudDialogflowV2IngestContextReferencesRequest, string)

Data ingestion API. Ingests context references for an existing conversation.

Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.IngestContextReferencesRequest IngestContextReferences(GoogleCloudDialogflowV2IngestContextReferencesRequest body, string conversation)
Parameters
Type Name Description
GoogleCloudDialogflowV2IngestContextReferencesRequest body

The body of the request.

string conversation

Required. Resource identifier of the conversation to ingest context information for. Format: projects//locations//conversations/.

Returns
Type Description
ProjectsResource.LocationsResource.ConversationsResource.IngestContextReferencesRequest

List(string)

Returns the list of all conversations in the specified project.

Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The project from which to list all conversation. Format: projects//locations/.

Returns
Type Description
ProjectsResource.LocationsResource.ConversationsResource.ListRequest
In this article
Back to top Generated by DocFX