Class ProjectsResource.LocationsResource.ConversationsResource
The "conversations" collection of methods.
Inherited Members
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:
|
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:
|
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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationsResource.GetRequest |
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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationsResource.ListRequest |