Show / Hide Table of Contents

Namespace Google.Apis.Dialogflow.v2

Classes

DialogflowBaseServiceRequest<TResponse>

A base abstract class for Dialogflow requests.

DialogflowService

The Dialogflow Service.

DialogflowService.Scope

Available OAuth 2.0 scopes for use with the Dialogflow API.

DialogflowService.ScopeConstants

Available OAuth 2.0 scope constants for use with the Dialogflow API.

ProjectsResource

The "projects" collection of methods.

ProjectsResource.AgentResource

The "agent" collection of methods.

ProjectsResource.AgentResource.EntityTypesResource

The "entityTypes" collection of methods.

ProjectsResource.AgentResource.EntityTypesResource.BatchDeleteRequest

Deletes entity types in the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.EntityTypesResource.BatchUpdateRequest

Updates/Creates multiple entity types in the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: BatchUpdateEntityTypesResponse Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.EntityTypesResource.CreateRequest

Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.EntityTypesResource.DeleteRequest

Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource

The "entities" collection of methods.

ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource.BatchCreateRequest

Creates multiple new entities in the specified entity type. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource.BatchDeleteRequest

Deletes entities in the specified entity type. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.EntityTypesResource.EntitiesResource.BatchUpdateRequest

Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.EntityTypesResource.GetRequest

Retrieves the specified entity type.

ProjectsResource.AgentResource.EntityTypesResource.ListRequest

Returns the list of all entity types in the specified agent.

ProjectsResource.AgentResource.EntityTypesResource.PatchRequest

Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.EnvironmentsResource

The "environments" collection of methods.

ProjectsResource.AgentResource.EnvironmentsResource.CreateRequest

Creates an agent environment.

ProjectsResource.AgentResource.EnvironmentsResource.DeleteRequest

Deletes the specified agent environment.

ProjectsResource.AgentResource.EnvironmentsResource.GetHistoryRequest

Gets the history of the specified environment.

ProjectsResource.AgentResource.EnvironmentsResource.GetRequest

Retrieves the specified agent environment.

ProjectsResource.AgentResource.EnvironmentsResource.IntentsResource

The "intents" collection of methods.

ProjectsResource.AgentResource.EnvironmentsResource.IntentsResource.ListRequest

Returns the list of all intents in the specified agent.

ProjectsResource.AgentResource.EnvironmentsResource.ListRequest

Returns the list of all non-default environments of the specified agent.

ProjectsResource.AgentResource.EnvironmentsResource.PatchRequest

Updates the specified agent environment. This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting environment.agent_version, the environment is temporarily set to the LOADING state. During that time, the environment continues serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the RUNNING state. You can use "-" as Environment ID in environment name to update an agent version in the default environment. WARNING: this will negate all recent changes to the draft agent and can't be undone. You may want to save the draft agent to a version before calling this method.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource

The "users" collection of methods.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource

The "sessions" collection of methods.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource

The "contexts" collection of methods.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.CreateRequest

Creates a context. If the specified context already exists, overrides the context.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.DeleteRequest

Deletes the specified context.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.GetRequest

Retrieves the specified context.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.ListRequest

Returns the list of all contexts in the specified session.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.PatchRequest

Updates the specified context.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.DeleteContextsRequest

Deletes all active contexts in the specified session.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.DetectIntentRequest

Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use Agent Assist or other CCAI products now or in the future, consider using AnalyzeContent instead of DetectIntent. AnalyzeContent has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See Versions and environments.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource

The "entityTypes" collection of methods.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.CreateRequest

Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.DeleteRequest

Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.GetRequest

Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.ListRequest

Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.PatchRequest

Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.AgentResource.ExportRequest

Exports the specified agent to a ZIP file. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: ExportAgentResponse

ProjectsResource.AgentResource.GetFulfillmentRequest

Retrieves the fulfillment.

ProjectsResource.AgentResource.GetValidationResultRequest

Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.

ProjectsResource.AgentResource.ImportRequest

Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message The operation only tracks when importing is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.IntentsResource

The "intents" collection of methods.

ProjectsResource.AgentResource.IntentsResource.BatchDeleteRequest

Deletes intents in the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.IntentsResource.BatchUpdateRequest

Updates/Creates multiple intents in the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: BatchUpdateIntentsResponse Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.IntentsResource.CreateRequest

Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.IntentsResource.DeleteRequest

Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.IntentsResource.GetRequest

Retrieves the specified intent.

ProjectsResource.AgentResource.IntentsResource.ListRequest

Returns the list of all intents in the specified agent.

ProjectsResource.AgentResource.IntentsResource.PatchRequest

Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.KnowledgeBasesResource

The "knowledgeBases" collection of methods.

ProjectsResource.AgentResource.KnowledgeBasesResource.CreateRequest

Creates a knowledge base.

ProjectsResource.AgentResource.KnowledgeBasesResource.DeleteRequest

Deletes the specified knowledge base.

ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource

The "documents" collection of methods.

ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.CreateRequest

Creates a new document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document

ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.DeleteRequest

Deletes the specified document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: An Empty message

ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.GetRequest

Retrieves the specified document.

ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.ListRequest

Returns the list of all documents of the knowledge base.

ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.PatchRequest

Updates the specified document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document

ProjectsResource.AgentResource.KnowledgeBasesResource.DocumentsResource.ReloadRequest

Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

ProjectsResource.AgentResource.KnowledgeBasesResource.GetRequest

Retrieves the specified knowledge base.

ProjectsResource.AgentResource.KnowledgeBasesResource.ListRequest

Returns the list of all knowledge bases of the specified agent.

ProjectsResource.AgentResource.KnowledgeBasesResource.PatchRequest

Updates the specified knowledge base.

ProjectsResource.AgentResource.RestoreRequest

Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message The operation only tracks when restoring is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.SearchRequest

Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to List Sub-Collections.

ProjectsResource.AgentResource.SessionsResource

The "sessions" collection of methods.

ProjectsResource.AgentResource.SessionsResource.ContextsResource

The "contexts" collection of methods.

ProjectsResource.AgentResource.SessionsResource.ContextsResource.CreateRequest

Creates a context. If the specified context already exists, overrides the context.

ProjectsResource.AgentResource.SessionsResource.ContextsResource.DeleteRequest

Deletes the specified context.

ProjectsResource.AgentResource.SessionsResource.ContextsResource.GetRequest

Retrieves the specified context.

ProjectsResource.AgentResource.SessionsResource.ContextsResource.ListRequest

Returns the list of all contexts in the specified session.

ProjectsResource.AgentResource.SessionsResource.ContextsResource.PatchRequest

Updates the specified context.

ProjectsResource.AgentResource.SessionsResource.DeleteContextsRequest

Deletes all active contexts in the specified session.

ProjectsResource.AgentResource.SessionsResource.DetectIntentRequest

Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use Agent Assist or other CCAI products now or in the future, consider using AnalyzeContent instead of DetectIntent. AnalyzeContent has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See Versions and environments.

ProjectsResource.AgentResource.SessionsResource.EntityTypesResource

The "entityTypes" collection of methods.

ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.CreateRequest

Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.DeleteRequest

Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.GetRequest

Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.ListRequest

Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.AgentResource.SessionsResource.EntityTypesResource.PatchRequest

Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.AgentResource.TrainRequest

Trains the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.AgentResource.UpdateFulfillmentRequest

Updates the fulfillment.

ProjectsResource.AgentResource.VersionsResource

The "versions" collection of methods.

ProjectsResource.AgentResource.VersionsResource.CreateRequest

Creates an agent version. The new version points to the agent instance in the "default" environment.

ProjectsResource.AgentResource.VersionsResource.DeleteRequest

Delete the specified agent version.

ProjectsResource.AgentResource.VersionsResource.GetRequest

Retrieves the specified agent version.

ProjectsResource.AgentResource.VersionsResource.ListRequest

Returns the list of all versions of the specified agent.

ProjectsResource.AgentResource.VersionsResource.PatchRequest

Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.

ProjectsResource.AnswerRecordsResource

The "answerRecords" collection of methods.

ProjectsResource.AnswerRecordsResource.ListRequest

Returns the list of all answer records in the specified project in reverse chronological order.

ProjectsResource.AnswerRecordsResource.PatchRequest

Updates the specified answer record.

ProjectsResource.ConversationDatasetsResource

The "conversationDatasets" collection of methods.

ProjectsResource.ConversationDatasetsResource.GetRequest

Retrieves the specified conversation dataset.

ProjectsResource.ConversationDatasetsResource.ImportConversationDataRequest

Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: ImportConversationDataOperationMetadata - response: ImportConversationDataOperationResponse

ProjectsResource.ConversationDatasetsResource.ListRequest

Returns the list of all conversation datasets in the specified project and location.

ProjectsResource.ConversationModelsResource

The "conversationModels" collection of methods.

ProjectsResource.ConversationModelsResource.CreateRequest

Creates a model. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateConversationModelOperationMetadata - response: ConversationModel

ProjectsResource.ConversationModelsResource.DeleteRequest

Deletes a model. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: DeleteConversationModelOperationMetadata - response: An Empty message

ProjectsResource.ConversationModelsResource.DeployRequest

Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: DeployConversationModelOperationMetadata - response: An Empty message

ProjectsResource.ConversationModelsResource.EvaluationsResource

The "evaluations" collection of methods.

ProjectsResource.ConversationModelsResource.EvaluationsResource.GetRequest

Gets an evaluation of conversation model.

ProjectsResource.ConversationModelsResource.EvaluationsResource.ListRequest

Lists evaluations of a conversation model.

ProjectsResource.ConversationModelsResource.GetRequest

Gets conversation model.

ProjectsResource.ConversationModelsResource.ListRequest

Lists conversation models.

ProjectsResource.ConversationModelsResource.UndeployRequest

Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used: - For article suggestion, article suggestion will fallback to the default model if model is undeployed. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: UndeployConversationModelOperationMetadata - response: An Empty message

ProjectsResource.ConversationProfilesResource

The "conversationProfiles" collection of methods.

ProjectsResource.ConversationProfilesResource.ClearSuggestionFeatureConfigRequest

Clears a suggestion feature from a conversation profile for the given participant role. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: ClearSuggestionFeatureConfigOperationMetadata - response: ConversationProfile

ProjectsResource.ConversationProfilesResource.CreateRequest

Creates a conversation profile in the specified project. ConversationProfile.create_time and ConversationProfile.update_time aren't populated in the response. You can retrieve them via GetConversationProfile API.

ProjectsResource.ConversationProfilesResource.DeleteRequest

Deletes the specified conversation profile.

ProjectsResource.ConversationProfilesResource.GetRequest

Retrieves the specified conversation profile.

ProjectsResource.ConversationProfilesResource.ListRequest

Returns the list of all conversation profiles in the specified project.

ProjectsResource.ConversationProfilesResource.PatchRequest

Updates the specified conversation profile. ConversationProfile.create_time and ConversationProfile.update_time aren't populated in the response. You can retrieve them via GetConversationProfile API.

ProjectsResource.ConversationProfilesResource.SetSuggestionFeatureConfigRequest

Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: SetSuggestionFeatureConfigOperationMetadata - response: ConversationProfile If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.

ProjectsResource.ConversationsResource

The "conversations" collection of methods.

ProjectsResource.ConversationsResource.CompleteRequest

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

ProjectsResource.ConversationsResource.CreateRequest

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.

ProjectsResource.ConversationsResource.GetRequest

Retrieves the specific conversation.

ProjectsResource.ConversationsResource.ListRequest

Returns the list of all conversations in the specified project.

ProjectsResource.ConversationsResource.MessagesResource

The "messages" collection of methods.

ProjectsResource.ConversationsResource.MessagesResource.ListRequest

Lists messages that belong to a given conversation. messages are ordered by create_time in descending order. To fetch updates without duplication, send request with filter create_time_epoch_microseconds &gt; [first item's create_time of previous request] and empty page_token.

ProjectsResource.ConversationsResource.ParticipantsResource

The "participants" collection of methods.

ProjectsResource.ConversationsResource.ParticipantsResource.AnalyzeContentRequest

Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.

ProjectsResource.ConversationsResource.ParticipantsResource.CreateRequest

Creates a new participant in a conversation.

ProjectsResource.ConversationsResource.ParticipantsResource.GetRequest

Retrieves a conversation participant.

ProjectsResource.ConversationsResource.ParticipantsResource.ListRequest

Returns the list of all participants in the specified conversation.

ProjectsResource.ConversationsResource.ParticipantsResource.PatchRequest

Updates the specified participant.

ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource

The "suggestions" collection of methods.

ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestArticlesRequest

Gets suggested articles for a participant based on specific historical messages.

ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestFaqAnswersRequest

Gets suggested faq answers for a participant based on specific historical messages.

ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestKnowledgeAssistRequest

Gets knowledge assist suggestions based on historical messages.

ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestSmartRepliesRequest

Gets smart replies for a participant based on specific historical messages.

ProjectsResource.ConversationsResource.SuggestionsResource

The "suggestions" collection of methods.

ProjectsResource.ConversationsResource.SuggestionsResource.GenerateRequest

Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.

ProjectsResource.ConversationsResource.SuggestionsResource.SearchKnowledgeRequest

Get answers for the given query based on knowledge documents.

ProjectsResource.ConversationsResource.SuggestionsResource.SuggestConversationSummaryRequest

Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.

ProjectsResource.DeleteAgentRequest

Deletes the specified agent.

ProjectsResource.GeneratorsResource

The "generators" collection of methods.

ProjectsResource.GeneratorsResource.CreateRequest

Creates a generator.

ProjectsResource.GeneratorsResource.ListRequest

Lists generators.

ProjectsResource.GetAgentRequest

Retrieves the specified agent.

ProjectsResource.KnowledgeBasesResource

The "knowledgeBases" collection of methods.

ProjectsResource.KnowledgeBasesResource.CreateRequest

Creates a knowledge base.

ProjectsResource.KnowledgeBasesResource.DeleteRequest

Deletes the specified knowledge base.

ProjectsResource.KnowledgeBasesResource.DocumentsResource

The "documents" collection of methods.

ProjectsResource.KnowledgeBasesResource.DocumentsResource.CreateRequest

Creates a new document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata

  • response: Document

ProjectsResource.KnowledgeBasesResource.DocumentsResource.DeleteRequest

Deletes the specified document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata

  • response: An Empty message

ProjectsResource.KnowledgeBasesResource.DocumentsResource.ExportRequest

Exports a smart messaging candidate document into the specified destination. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document

ProjectsResource.KnowledgeBasesResource.DocumentsResource.GetRequest

Retrieves the specified document.

ProjectsResource.KnowledgeBasesResource.DocumentsResource.ImportRequest

Creates documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: ImportDocumentsResponse

ProjectsResource.KnowledgeBasesResource.DocumentsResource.ListRequest

Returns the list of all documents of the knowledge base.

ProjectsResource.KnowledgeBasesResource.DocumentsResource.PatchRequest

Updates the specified document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata

  • response: Document

ProjectsResource.KnowledgeBasesResource.DocumentsResource.ReloadRequest

Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

ProjectsResource.KnowledgeBasesResource.GetRequest

Retrieves the specified knowledge base.

ProjectsResource.KnowledgeBasesResource.ListRequest

Returns the list of all knowledge bases of the specified agent.

ProjectsResource.KnowledgeBasesResource.PatchRequest

Updates the specified knowledge base.

ProjectsResource.LocationsResource

The "locations" collection of methods.

ProjectsResource.LocationsResource.AgentResource

The "agent" collection of methods.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource

The "entityTypes" collection of methods.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.BatchDeleteRequest

Deletes entity types in the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.BatchUpdateRequest

Updates/Creates multiple entity types in the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: BatchUpdateEntityTypesResponse Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.CreateRequest

Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.DeleteRequest

Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.EntitiesResource

The "entities" collection of methods.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.EntitiesResource.BatchCreateRequest

Creates multiple new entities in the specified entity type. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message

  • response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.EntitiesResource.BatchDeleteRequest

Deletes entities in the specified entity type. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message

  • response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.EntitiesResource.BatchUpdateRequest

Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message

  • response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.GetRequest

Retrieves the specified entity type.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.ListRequest

Returns the list of all entity types in the specified agent.

ProjectsResource.LocationsResource.AgentResource.EntityTypesResource.PatchRequest

Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource

The "environments" collection of methods.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.CreateRequest

Creates an agent environment.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.DeleteRequest

Deletes the specified agent environment.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.GetHistoryRequest

Gets the history of the specified environment.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.GetRequest

Retrieves the specified agent environment.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.IntentsResource

The "intents" collection of methods.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.IntentsResource.ListRequest

Returns the list of all intents in the specified agent.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.ListRequest

Returns the list of all non-default environments of the specified agent.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.PatchRequest

Updates the specified agent environment. This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting environment.agent_version, the environment is temporarily set to the LOADING state. During that time, the environment continues serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the RUNNING state. You can use "-" as Environment ID in environment name to update an agent version in the default environment. WARNING: this will negate all recent changes to the draft agent and can't be undone. You may want to save the draft agent to a version before calling this method.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource

The "users" collection of methods.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource

The "sessions" collection of methods.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource

The "contexts" collection of methods.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.CreateRequest

Creates a context. If the specified context already exists, overrides the context.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.DeleteRequest

Deletes the specified context.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.GetRequest

Retrieves the specified context.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.ListRequest

Returns the list of all contexts in the specified session.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.ContextsResource.PatchRequest

Updates the specified context.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.DeleteContextsRequest

Deletes all active contexts in the specified session.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.DetectIntentRequest

Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use Agent Assist or other CCAI products now or in the future, consider using AnalyzeContent instead of DetectIntent. AnalyzeContent has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See Versions and environments.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource

The "entityTypes" collection of methods.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.CreateRequest

Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.DeleteRequest

Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.GetRequest

Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.ListRequest

Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.UsersResource.SessionsResource.EntityTypesResource.PatchRequest

Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.LocationsResource.AgentResource.ExportRequest

Exports the specified agent to a ZIP file. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: ExportAgentResponse

ProjectsResource.LocationsResource.AgentResource.GetFulfillmentRequest

Retrieves the fulfillment.

ProjectsResource.LocationsResource.AgentResource.GetValidationResultRequest

Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.

ProjectsResource.LocationsResource.AgentResource.ImportRequest

Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message The operation only tracks when importing is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.IntentsResource

The "intents" collection of methods.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.BatchDeleteRequest

Deletes intents in the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.BatchUpdateRequest

Updates/Creates multiple intents in the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: BatchUpdateIntentsResponse Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.CreateRequest

Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.DeleteRequest

Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.GetRequest

Retrieves the specified intent.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.ListRequest

Returns the list of all intents in the specified agent.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.PatchRequest

Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.RestoreRequest

Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message The operation only tracks when restoring is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.SearchRequest

Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to List Sub-Collections.

ProjectsResource.LocationsResource.AgentResource.SessionsResource

The "sessions" collection of methods.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.ContextsResource

The "contexts" collection of methods.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.ContextsResource.CreateRequest

Creates a context. If the specified context already exists, overrides the context.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.ContextsResource.DeleteRequest

Deletes the specified context.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.ContextsResource.GetRequest

Retrieves the specified context.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.ContextsResource.ListRequest

Returns the list of all contexts in the specified session.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.ContextsResource.PatchRequest

Updates the specified context.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.DeleteContextsRequest

Deletes all active contexts in the specified session.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.DetectIntentRequest

Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use Agent Assist or other CCAI products now or in the future, consider using AnalyzeContent instead of DetectIntent. AnalyzeContent has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See Versions and environments.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.EntityTypesResource

The "entityTypes" collection of methods.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.EntityTypesResource.CreateRequest

Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.EntityTypesResource.DeleteRequest

Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.EntityTypesResource.GetRequest

Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.EntityTypesResource.ListRequest

Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.LocationsResource.AgentResource.SessionsResource.EntityTypesResource.PatchRequest

Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.

ProjectsResource.LocationsResource.AgentResource.TrainRequest

Trains the specified agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: An Empty message Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.AgentResource.UpdateFulfillmentRequest

Updates the fulfillment.

ProjectsResource.LocationsResource.AgentResource.VersionsResource

The "versions" collection of methods.

ProjectsResource.LocationsResource.AgentResource.VersionsResource.CreateRequest

Creates an agent version. The new version points to the agent instance in the "default" environment.

ProjectsResource.LocationsResource.AgentResource.VersionsResource.DeleteRequest

Delete the specified agent version.

ProjectsResource.LocationsResource.AgentResource.VersionsResource.GetRequest

Retrieves the specified agent version.

ProjectsResource.LocationsResource.AgentResource.VersionsResource.ListRequest

Returns the list of all versions of the specified agent.

ProjectsResource.LocationsResource.AgentResource.VersionsResource.PatchRequest

Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.

ProjectsResource.LocationsResource.AnswerRecordsResource

The "answerRecords" collection of methods.

ProjectsResource.LocationsResource.AnswerRecordsResource.ListRequest

Returns the list of all answer records in the specified project in reverse chronological order.

ProjectsResource.LocationsResource.AnswerRecordsResource.PatchRequest

Updates the specified answer record.

ProjectsResource.LocationsResource.ConversationDatasetsResource

The "conversationDatasets" collection of methods.

ProjectsResource.LocationsResource.ConversationDatasetsResource.CreateRequest

Creates a new conversation dataset. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateConversationDatasetOperationMetadata - response: ConversationDataset

ProjectsResource.LocationsResource.ConversationDatasetsResource.DeleteRequest

Deletes the specified conversation dataset. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: DeleteConversationDatasetOperationMetadata - response: An Empty message

ProjectsResource.LocationsResource.ConversationDatasetsResource.GetRequest

Retrieves the specified conversation dataset.

ProjectsResource.LocationsResource.ConversationDatasetsResource.ImportConversationDataRequest

Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: ImportConversationDataOperationMetadata - response: ImportConversationDataOperationResponse

ProjectsResource.LocationsResource.ConversationDatasetsResource.ListRequest

Returns the list of all conversation datasets in the specified project and location.

ProjectsResource.LocationsResource.ConversationModelsResource

The "conversationModels" collection of methods.

ProjectsResource.LocationsResource.ConversationModelsResource.CreateRequest

Creates a model. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateConversationModelOperationMetadata - response: ConversationModel

ProjectsResource.LocationsResource.ConversationModelsResource.DeleteRequest

Deletes a model. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: DeleteConversationModelOperationMetadata - response: An Empty message

ProjectsResource.LocationsResource.ConversationModelsResource.DeployRequest

Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: DeployConversationModelOperationMetadata - response: An Empty message

ProjectsResource.LocationsResource.ConversationModelsResource.EvaluationsResource

The "evaluations" collection of methods.

ProjectsResource.LocationsResource.ConversationModelsResource.EvaluationsResource.CreateRequest

Creates evaluation of a conversation model.

ProjectsResource.LocationsResource.ConversationModelsResource.EvaluationsResource.GetRequest

Gets an evaluation of conversation model.

ProjectsResource.LocationsResource.ConversationModelsResource.EvaluationsResource.ListRequest

Lists evaluations of a conversation model.

ProjectsResource.LocationsResource.ConversationModelsResource.GetRequest

Gets conversation model.

ProjectsResource.LocationsResource.ConversationModelsResource.ListRequest

Lists conversation models.

ProjectsResource.LocationsResource.ConversationModelsResource.UndeployRequest

Undeploys a model. If the model is not deployed this method has no effect. If the model is currently being used: - For article suggestion, article suggestion will fallback to the default model if model is undeployed. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: UndeployConversationModelOperationMetadata - response: An Empty message

ProjectsResource.LocationsResource.ConversationProfilesResource

The "conversationProfiles" collection of methods.

ProjectsResource.LocationsResource.ConversationProfilesResource.ClearSuggestionFeatureConfigRequest

Clears a suggestion feature from a conversation profile for the given participant role. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: ClearSuggestionFeatureConfigOperationMetadata - response: ConversationProfile

ProjectsResource.LocationsResource.ConversationProfilesResource.CreateRequest

Creates a conversation profile in the specified project. ConversationProfile.create_time and ConversationProfile.update_time aren't populated in the response. You can retrieve them via GetConversationProfile API.

ProjectsResource.LocationsResource.ConversationProfilesResource.DeleteRequest

Deletes the specified conversation profile.

ProjectsResource.LocationsResource.ConversationProfilesResource.GetRequest

Retrieves the specified conversation profile.

ProjectsResource.LocationsResource.ConversationProfilesResource.ListRequest

Returns the list of all conversation profiles in the specified project.

ProjectsResource.LocationsResource.ConversationProfilesResource.PatchRequest

Updates the specified conversation profile. ConversationProfile.create_time and ConversationProfile.update_time aren't populated in the response. You can retrieve them via GetConversationProfile API.

ProjectsResource.LocationsResource.ConversationProfilesResource.SetSuggestionFeatureConfigRequest

Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: SetSuggestionFeatureConfigOperationMetadata - response: ConversationProfile If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.

ProjectsResource.LocationsResource.ConversationsResource

The "conversations" collection of methods.

ProjectsResource.LocationsResource.ConversationsResource.CompleteRequest

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

ProjectsResource.LocationsResource.ConversationsResource.CreateRequest

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.

ProjectsResource.LocationsResource.ConversationsResource.GetRequest

Retrieves the specific conversation.

ProjectsResource.LocationsResource.ConversationsResource.IngestContextReferencesRequest

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

ProjectsResource.LocationsResource.ConversationsResource.ListRequest

Returns the list of all conversations in the specified project.

ProjectsResource.LocationsResource.ConversationsResource.MessagesResource

The "messages" collection of methods.

ProjectsResource.LocationsResource.ConversationsResource.MessagesResource.ListRequest

Lists messages that belong to a given conversation. messages are ordered by create_time in descending order. To fetch updates without duplication, send request with filter create_time_epoch_microseconds &gt; [first item's create_time of previous request] and empty page_token.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource

The "participants" collection of methods.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource.AnalyzeContentRequest

Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource.CreateRequest

Creates a new participant in a conversation.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource.GetRequest

Retrieves a conversation participant.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource.ListRequest

Returns the list of all participants in the specified conversation.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource.PatchRequest

Updates the specified participant.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource.SuggestionsResource

The "suggestions" collection of methods.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestArticlesRequest

Gets suggested articles for a participant based on specific historical messages.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestFaqAnswersRequest

Gets suggested faq answers for a participant based on specific historical messages.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestKnowledgeAssistRequest

Gets knowledge assist suggestions based on historical messages.

ProjectsResource.LocationsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestSmartRepliesRequest

Gets smart replies for a participant based on specific historical messages.

ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource

The "suggestions" collection of methods.

ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource.GenerateRequest

Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.

ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource.SearchKnowledgeRequest

Get answers for the given query based on knowledge documents.

ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource.SuggestConversationSummaryRequest

Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.

ProjectsResource.LocationsResource.DeleteAgentRequest

Deletes the specified agent.

ProjectsResource.LocationsResource.EncryptionSpecResource

The "encryptionSpec" collection of methods.

ProjectsResource.LocationsResource.EncryptionSpecResource.InitializeRequest

Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.

ProjectsResource.LocationsResource.GeneratorsResource

The "generators" collection of methods.

ProjectsResource.LocationsResource.GeneratorsResource.CreateRequest

Creates a generator.

ProjectsResource.LocationsResource.GeneratorsResource.DeleteRequest

Deletes a generator.

ProjectsResource.LocationsResource.GeneratorsResource.GetRequest

Retrieves a generator.

ProjectsResource.LocationsResource.GeneratorsResource.ListRequest

Lists generators.

ProjectsResource.LocationsResource.GeneratorsResource.PatchRequest

Updates a generator.

ProjectsResource.LocationsResource.GetAgentRequest

Retrieves the specified agent.

ProjectsResource.LocationsResource.GetEncryptionSpecRequest

Gets location-level encryption key specification.

ProjectsResource.LocationsResource.GetRequest

Gets information about a location.

ProjectsResource.LocationsResource.KnowledgeBasesResource

The "knowledgeBases" collection of methods.

ProjectsResource.LocationsResource.KnowledgeBasesResource.CreateRequest

Creates a knowledge base.

ProjectsResource.LocationsResource.KnowledgeBasesResource.DeleteRequest

Deletes the specified knowledge base.

ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource

The "documents" collection of methods.

ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource.CreateRequest

Creates a new document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document

ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource.DeleteRequest

Deletes the specified document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: An Empty message

ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource.ExportRequest

Exports a smart messaging candidate document into the specified destination. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document

ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource.GetRequest

Retrieves the specified document.

ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource.ImportRequest

Creates documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: ImportDocumentsResponse

ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource.ListRequest

Returns the list of all documents of the knowledge base.

ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource.PatchRequest

Updates the specified document. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document

ProjectsResource.LocationsResource.KnowledgeBasesResource.DocumentsResource.ReloadRequest

Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: KnowledgeOperationMetadata - response: Document Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

ProjectsResource.LocationsResource.KnowledgeBasesResource.GetRequest

Retrieves the specified knowledge base.

ProjectsResource.LocationsResource.KnowledgeBasesResource.ListRequest

Returns the list of all knowledge bases of the specified agent.

ProjectsResource.LocationsResource.KnowledgeBasesResource.PatchRequest

Updates the specified knowledge base.

ProjectsResource.LocationsResource.ListRequest

Lists information about the supported locations for this service.

ProjectsResource.LocationsResource.OperationsResource

The "operations" collection of methods.

ProjectsResource.LocationsResource.OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

ProjectsResource.LocationsResource.OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

ProjectsResource.LocationsResource.OperationsResource.ListRequest

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

ProjectsResource.LocationsResource.SetAgentRequest

Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.LocationsResource.StatelessSuggestionResource

The "statelessSuggestion" collection of methods.

ProjectsResource.LocationsResource.StatelessSuggestionResource.GenerateRequest

Generates and returns a suggestion for a conversation that does not have a resource created for it.

ProjectsResource.LocationsResource.SuggestionsResource

The "suggestions" collection of methods.

ProjectsResource.LocationsResource.SuggestionsResource.GenerateStatelessSummaryRequest

Generates and returns a summary for a conversation that does not have a resource created for it.

ProjectsResource.LocationsResource.SuggestionsResource.SearchKnowledgeRequest

Get answers for the given query based on knowledge documents.

ProjectsResource.OperationsResource

The "operations" collection of methods.

ProjectsResource.OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

ProjectsResource.OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

ProjectsResource.OperationsResource.ListRequest

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

ProjectsResource.SetAgentRequest

Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation.

ProjectsResource.SuggestionsResource

The "suggestions" collection of methods.

ProjectsResource.SuggestionsResource.GenerateStatelessSummaryRequest

Generates and returns a summary for a conversation that does not have a resource created for it.

ProjectsResource.SuggestionsResource.SearchKnowledgeRequest

Get answers for the given query based on knowledge documents.

Enums

DialogflowBaseServiceRequest<TResponse>.AltEnum

Data format for response.

DialogflowBaseServiceRequest<TResponse>.XgafvEnum

V1 error format.

ProjectsResource.AgentResource.EnvironmentsResource.IntentsResource.ListRequest.IntentViewEnum

Optional. The resource view to apply to the returned intent.

ProjectsResource.AgentResource.IntentsResource.CreateRequest.IntentViewEnum

Optional. The resource view to apply to the returned intent.

ProjectsResource.AgentResource.IntentsResource.GetRequest.IntentViewEnum

Optional. The resource view to apply to the returned intent.

ProjectsResource.AgentResource.IntentsResource.ListRequest.IntentViewEnum

Optional. The resource view to apply to the returned intent.

ProjectsResource.AgentResource.IntentsResource.PatchRequest.IntentViewEnum

Optional. The resource view to apply to the returned intent.

ProjectsResource.LocationsResource.AgentResource.EnvironmentsResource.IntentsResource.ListRequest.IntentViewEnum

Optional. The resource view to apply to the returned intent.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.CreateRequest.IntentViewEnum

Optional. The resource view to apply to the returned intent.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.GetRequest.IntentViewEnum

Optional. The resource view to apply to the returned intent.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.ListRequest.IntentViewEnum

Optional. The resource view to apply to the returned intent.

ProjectsResource.LocationsResource.AgentResource.IntentsResource.PatchRequest.IntentViewEnum

Optional. The resource view to apply to the returned intent.

In this article
Back to top Generated by DocFX