Show / Hide Table of Contents

Class ProjectsResource.ConversationsResource

The "conversations" collection of methods.

Inheritance
object
ProjectsResource.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.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.ConversationsResource.MessagesResource Messages { get; }
Property Value
Type Description
ProjectsResource.ConversationsResource.MessagesResource

Participants

Gets the Participants resource.

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

Suggestions

Gets the Suggestions resource.

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

Methods

Complete(GoogleCloudDialogflowV2CompleteConversationRequest, string)

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

Declaration
public virtual ProjectsResource.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.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.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.ConversationsResource.CreateRequest

Get(string)

Retrieves the specific conversation.

Declaration
public virtual ProjectsResource.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.ConversationsResource.GetRequest

List(string)

Returns the list of all conversations in the specified project.

Declaration
public virtual ProjectsResource.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.ConversationsResource.ListRequest
In this article
Back to top Generated by DocFX