Class ProjectsResource.ConversationsResource
The "conversations" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.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(GoogleCloudDialogflowV2beta1CompleteConversationRequest, string)
Completes the specified conversation. Finished conversations are purged from the database after 30 days.
Declaration
public virtual ProjectsResource.ConversationsResource.CompleteRequest Complete(GoogleCloudDialogflowV2beta1CompleteConversationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1CompleteConversationRequest | body | The body of the request. |
string | name | Required. Resource identifier of the conversation to close. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationsResource.CompleteRequest |
Create(GoogleCloudDialogflowV2beta1Conversation, 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(GoogleCloudDialogflowV2beta1Conversation body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1Conversation | body | The body of the request. |
string | parent | Required. Resource identifier of the project creating the conversation. Format: |
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: |
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: |
Returns
Type | Description |
---|---|
ProjectsResource.ConversationsResource.ListRequest |