Classes
Agent
A Dialogflow agent is a virtual agent that handles conversations with your end-users. It is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text or audio during a conversation to structured data that your apps and services can understand. You design and build a Dialogflow agent to handle the types of conversations required for your system.
For more information about agents, see the Agent guide.
Agent.Types
Container for nested types declared in the Agent message type.
AgentAssistantFeedback
Detail feedback of Agent Assistant result.
AgentAssistantFeedback.Types
Container for nested types declared in the AgentAssistantFeedback message type.
AgentAssistantFeedback.Types.KnowledgeSearchFeedback
Feedback for knowledge search.
AgentAssistantFeedback.Types.SummarizationFeedback
Feedback for conversation summarization.
AgentAssistantRecord
Represents a record of a human agent assistant answer.
AgentName
Resource name for the Agent
resource.
Agents
Service for managing [Agents][google.cloud.dialogflow.v2beta1.Agent].
Agents.AgentsBase
Base class for server-side implementations of Agents
Agents.AgentsClient
Client for Agents
AgentsClient
Agents client wrapper, for convenient use.
AgentsClientBuilder
Builder class for AgentsClient to provide simple configuration of credentials, endpoint etc.
AgentsClientImpl
Agents client wrapper implementation, for convenient use.
AgentsSettings
Settings for AgentsClient instances.
AnalyzeContentRequest
The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
AnalyzeContentResponse
The response message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
AnnotatedMessagePart
Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.
AnswerFeedback
Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.
AnswerFeedback.Types
Container for nested types declared in the AnswerFeedback message type.
AnswerRecord
Answer records are records to manage answer history and feedbacks for Dialogflow.
Currently, answer record includes:
- human agent assistant article suggestion
- human agent assistant faq article
It doesn't include:
DetectIntent
intent matchingDetectIntent
knowledge
Answer records are not related to the conversation history in the Dialogflow Console. A Record is generated even when the end-user disables conversation history in the console. Records are created when there's a human agent assistant suggestion generated.
A typical workflow for customers provide feedback to an answer is:
- For human agent assistant, customers get suggestion via ListSuggestions API. Together with the answers, [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are returned to the customers.
- The customer uses the [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to call the [UpdateAnswerRecord][] method to send feedback about a specific answer that they believe is wrong.
AnswerRecordName
Resource name for the AnswerRecord
resource.
AnswerRecords
Service for managing [AnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecord].
AnswerRecords.AnswerRecordsBase
Base class for server-side implementations of AnswerRecords
AnswerRecords.AnswerRecordsClient
Client for AnswerRecords
AnswerRecordsClient
AnswerRecords client wrapper, for convenient use.
AnswerRecordsClientBuilder
Builder class for AnswerRecordsClient to provide simple configuration of credentials, endpoint etc.
AnswerRecordsClientImpl
AnswerRecords client wrapper implementation, for convenient use.
AnswerRecordsSettings
Settings for AnswerRecordsClient instances.
ArticleAnswer
Represents article answer.
AssistQueryParameters
Represents the parameters of human assist query.
AudioInput
Represents the natural language speech audio to be processed.
AutomatedAgentConfig
Defines the Automated Agent to connect to a conversation.
AutomatedAgentReply
Represents a response from an automated agent.
AutomatedAgentReply.Types
Container for nested types declared in the AutomatedAgentReply message type.
BargeInConfig
Configuration of the barge-in behavior. Barge-in instructs the API to return a detected utterance at a proper time while the client is playing back the response audio from a previous request. When the client sees the utterance, it should stop the playback and immediately get ready for receiving the responses for the current request.
The barge-in handling requires the client to start streaming audio input as soon as it starts playing back the audio from the previous response. The playback is modeled into two phases:
No barge-in phase: which goes first and during which speech detection should not be carried out.
Barge-in phase: which follows the no barge-in phase and during which the API starts speech detection and may inform the client that an utterance has been detected. Note that no-speech event is not expected in this phase.
The client provides this configuration in terms of the durations of those two phases. The durations are measured in terms of the audio length from the start of the input audio.
The flow goes like below:
--> Time
without speech detection | utterance only | utterance or no-speech event
| |
+-------------+ | +------------+ | +---------------+
----------+ no barge-in +-|-+ barge-in +-|-+ normal period +-----------
+-------------+ | +------------+ | +---------------+
No-speech event is a response with END_OF_UTTERANCE without any transcript following up.
BatchCreateEntitiesRequest
The request message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities].
BatchCreateMessagesRequest
The request message for [Conversations.BatchCreateMessagesRequest][].
BatchCreateMessagesResponse
The request message for [Conversations.BatchCreateMessagesResponse][].
BatchDeleteEntitiesRequest
The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities].
BatchDeleteEntityTypesRequest
The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes].
BatchDeleteIntentsRequest
The request message for [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents].
BatchUpdateEntitiesRequest
The request message for [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities].
BatchUpdateEntityTypesRequest
The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
BatchUpdateEntityTypesResponse
The response message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
BatchUpdateIntentsRequest
The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
BatchUpdateIntentsResponse
The response message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
CXSecuritySettingsName
Resource name for the CXSecuritySettings
resource.
ClearSuggestionFeatureConfigOperationMetadata
Metadata for a [ConversationProfile.ClearSuggestionFeatureConfig][] operation.
ClearSuggestionFeatureConfigRequest
The request message for [ConversationProfiles.ClearFeature][].
CloudConversationDebuggingInfo
Cloud conversation info for easier debugging.
It will get populated in StreamingDetectIntentResponse
or
StreamingAnalyzeContentResponse
when the flag enable_debugging_info
is
set to true in corresponding requests.
CompileSuggestionRequest
The request message for [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
CompileSuggestionResponse
The response message for [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
CompleteConversationRequest
The request message for [Conversations.CompleteConversation][google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation].
Context
Dialogflow contexts are similar to natural language context. If a person says to you "they are orange", you need context in order to understand what "they" is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent.
Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts.
For more information about context, see the Contexts guide.
ContextName
Resource name for the Context
resource.
Contexts
Service for managing [Contexts][google.cloud.dialogflow.v2beta1.Context].
Contexts.ContextsBase
Base class for server-side implementations of Contexts
Contexts.ContextsClient
Client for Contexts
ContextsClient
Contexts client wrapper, for convenient use.
ContextsClientBuilder
Builder class for ContextsClient to provide simple configuration of credentials, endpoint etc.
ContextsClientImpl
Contexts client wrapper implementation, for convenient use.
ContextsSettings
Settings for ContextsClient instances.
Conversation
Represents a conversation. A conversation is an interaction between an agent, including live agents and Dialogflow agents, and a support customer. Conversations can include phone calls and text-based chat sessions.
Conversation.Types
Container for nested types declared in the Conversation message type.
ConversationEvent
Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
ConversationEvent.Types
Container for nested types declared in the ConversationEvent message type.
ConversationModelName
Resource name for the ConversationModel
resource.
ConversationName
Resource name for the Conversation
resource.
ConversationPhoneNumber
Represents a phone number for telephony integration. It allows for connecting a particular conversation over telephony.
ConversationProfile
Defines the services to connect to incoming Dialogflow conversations.
ConversationProfileName
Resource name for the ConversationProfile
resource.
ConversationProfiles
Service for managing [ConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfile].
ConversationProfiles.ConversationProfilesBase
Base class for server-side implementations of ConversationProfiles
ConversationProfiles.ConversationProfilesClient
Client for ConversationProfiles
ConversationProfilesClient
ConversationProfiles client wrapper, for convenient use.
ConversationProfilesClientBuilder
Builder class for ConversationProfilesClient to provide simple configuration of credentials, endpoint etc.
ConversationProfilesClientImpl
ConversationProfiles client wrapper implementation, for convenient use.
ConversationProfilesSettings
Settings for ConversationProfilesClient instances.
Conversations
Service for managing [Conversations][google.cloud.dialogflow.v2beta1.Conversation].
Conversations.ConversationsBase
Base class for server-side implementations of Conversations
Conversations.ConversationsClient
Client for Conversations
ConversationsClient
Conversations client wrapper, for convenient use.
ConversationsClientBuilder
Builder class for ConversationsClient to provide simple configuration of credentials, endpoint etc.
ConversationsClientImpl
Conversations client wrapper implementation, for convenient use.
ConversationsSettings
Settings for ConversationsClient instances.
CreateContextRequest
The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2beta1.Contexts.CreateContext].
CreateConversationProfileRequest
The request message for [ConversationProfiles.CreateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile].
CreateConversationRequest
The request message for [Conversations.CreateConversation][google.cloud.dialogflow.v2beta1.Conversations.CreateConversation].
CreateDocumentRequest
Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2beta1.Documents.CreateDocument].
CreateEntityTypeRequest
The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType].
CreateEnvironmentRequest
The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment].
CreateIntentRequest
The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent].
CreateKnowledgeBaseRequest
Request message for [KnowledgeBases.CreateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase].
CreateMessageRequest
The request message to create one Message. Currently it is only used in BatchCreateMessagesRequest.
CreateParticipantRequest
The request message for [Participants.CreateParticipant][google.cloud.dialogflow.v2beta1.Participants.CreateParticipant].
CreateSessionEntityTypeRequest
The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType].
CreateVersionRequest
The request message for [Versions.CreateVersion][google.cloud.dialogflow.v2beta1.Versions.CreateVersion].
DeleteAgentRequest
The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent].
DeleteAllContextsRequest
The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts].
DeleteContextRequest
The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext].
DeleteConversationProfileRequest
The request message for [ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile].
This operation fails if the conversation profile is still referenced from a phone number.
DeleteDocumentRequest
Request message for [Documents.DeleteDocument][google.cloud.dialogflow.v2beta1.Documents.DeleteDocument].
DeleteEntityTypeRequest
The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType].
DeleteEnvironmentRequest
The request message for [Environments.DeleteEnvironment][google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment].
DeleteIntentRequest
The request message for [Intents.DeleteIntent][google.cloud.dialogflow.v2beta1.Intents.DeleteIntent].
DeleteKnowledgeBaseRequest
Request message for [KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase].
DeleteSessionEntityTypeRequest
The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType].
DeleteVersionRequest
The request message for [Versions.DeleteVersion][google.cloud.dialogflow.v2beta1.Versions.DeleteVersion].
DetectIntentRequest
The request to detect user's intent.
DetectIntentResponse
The message returned from the DetectIntent method.
DialogflowAssistAnswer
Represents a Dialogflow assist answer.
Document
A knowledge document to be used by a [KnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBase].
For more information, see the knowledge base guide.
Note: The projects.agent.knowledgeBases.documents
resource is deprecated;
only use projects.knowledgeBases.documents
.
Document.Types
Container for nested types declared in the Document message type.
Document.Types.ReloadStatus
The status of a reload attempt.
DocumentName
Resource name for the Document
resource.
Documents
Service for managing knowledge [Documents][google.cloud.dialogflow.v2beta1.Document].
Documents.DocumentsBase
Base class for server-side implementations of Documents
Documents.DocumentsClient
Client for Documents
DocumentsClient
Documents client wrapper, for convenient use.
DocumentsClientBuilder
Builder class for DocumentsClient to provide simple configuration of credentials, endpoint etc.
DocumentsClientImpl
Documents client wrapper implementation, for convenient use.
DocumentsSettings
Settings for DocumentsClient instances.
DtmfParameters
The message in the response that indicates the parameters of DTMF.
EntityType
Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted.
Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent.
For more information, see the Entity guide.
EntityType.Types
Container for nested types declared in the EntityType message type.
EntityType.Types.Entity
An entity entry for an associated entity type.
EntityTypeBatch
This message is a wrapper around a collection of entity types.
EntityTypeName
Resource name for the EntityType
resource.
EntityTypes
Service for managing [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
EntityTypes.EntityTypesBase
Base class for server-side implementations of EntityTypes
EntityTypes.EntityTypesClient
Client for EntityTypes
EntityTypesClient
EntityTypes client wrapper, for convenient use.
EntityTypesClientBuilder
Builder class for EntityTypesClient to provide simple configuration of credentials, endpoint etc.
EntityTypesClientImpl
EntityTypes client wrapper implementation, for convenient use.
EntityTypesSettings
Settings for EntityTypesClient instances.
Environment
You can create multiple versions of your agent and publish them to separate environments.
When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent.
When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for:
- testing
- development
- production
- etc.
For more information, see the versions and environments guide.
Environment.Types
Container for nested types declared in the Environment message type.
EnvironmentHistory
The response message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
EnvironmentHistory.Types
Container for nested types declared in the EnvironmentHistory message type.
EnvironmentHistory.Types.Entry
Represents an environment history entry.
EnvironmentName
Resource name for the Environment
resource.
Environments
Service for managing [Environments][google.cloud.dialogflow.v2beta1.Environment].
Environments.EnvironmentsBase
Base class for server-side implementations of Environments
Environments.EnvironmentsClient
Client for Environments
EnvironmentsClient
Environments client wrapper, for convenient use.
EnvironmentsClientBuilder
Builder class for EnvironmentsClient to provide simple configuration of credentials, endpoint etc.
EnvironmentsClientImpl
Environments client wrapper implementation, for convenient use.
EnvironmentsSettings
Settings for EnvironmentsClient instances.
EventInput
Events allow for matching intents by event name instead of the natural
language input. For instance, input <event: { name: "welcome_event",
parameters: { name: "Sam" } }>
can trigger a personalized welcome response.
The parameter name
may be used by the agent in the response:
"Hello #welcome_event.name! What can I do for you today?"
.
ExportAgentRequest
The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
ExportAgentResponse
The response message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
ExportOperationMetadata
Metadata related to the Export Data Operations (e.g. ExportDocument).
FaqAnswer
Represents answer from "frequently asked questions".
Fulfillment
By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday.
For more information, see the fulfillment guide.
Fulfillment.Types
Container for nested types declared in the Fulfillment message type.
Fulfillment.Types.Feature
Whether fulfillment is enabled for the specific feature.
Fulfillment.Types.Feature.Types
Container for nested types declared in the Feature message type.
Fulfillment.Types.GenericWebService
Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications:
- Basic authentication with username and password.
- Authentication with additional authentication headers.
More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure.
FulfillmentName
Resource name for the Fulfillment
resource.
Fulfillments
Service for managing [Fulfillments][google.cloud.dialogflow.v2beta1.Fulfillment].
Fulfillments.FulfillmentsBase
Base class for server-side implementations of Fulfillments
Fulfillments.FulfillmentsClient
Client for Fulfillments
FulfillmentsClient
Fulfillments client wrapper, for convenient use.
FulfillmentsClientBuilder
Builder class for FulfillmentsClient to provide simple configuration of credentials, endpoint etc.
FulfillmentsClientImpl
Fulfillments client wrapper implementation, for convenient use.
FulfillmentsSettings
Settings for FulfillmentsClient instances.
GcsDestination
Google Cloud Storage location for the output.
GcsSource
Google Cloud Storage location for single input.
GcsSources
Google Cloud Storage locations for the inputs.
GenerateStatelessSummaryRequest
The request message for [Conversations.GenerateStatelessSummary][google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary].
GenerateStatelessSummaryRequest.Types
Container for nested types declared in the GenerateStatelessSummaryRequest message type.
GenerateStatelessSummaryRequest.Types.MinimalConversation
The minimum amount of information required to generate a Summary without having a Conversation resource created.
GenerateStatelessSummaryResponse
The response message for [Conversations.GenerateStatelessSummary][google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary].
GenerateStatelessSummaryResponse.Types
Container for nested types declared in the GenerateStatelessSummaryResponse message type.
GenerateStatelessSummaryResponse.Types.Summary
Generated summary for a conversation.
GetAgentRequest
The request message for [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent].
GetAnswerRecordRequest
Request message for [AnswerRecords.GetAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord].
GetContextRequest
The request message for [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext].
GetConversationProfileRequest
The request message for [ConversationProfiles.GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile].
GetConversationRequest
The request message for [Conversations.GetConversation][google.cloud.dialogflow.v2beta1.Conversations.GetConversation].
GetDocumentRequest
Request message for [Documents.GetDocument][google.cloud.dialogflow.v2beta1.Documents.GetDocument].
GetEntityTypeRequest
The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType].
GetEnvironmentHistoryRequest
The request message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
GetEnvironmentRequest
The request message for [Environments.GetEnvironment][google.cloud.dialogflow.v2beta1.Environments.GetEnvironment].
GetFulfillmentRequest
The request message for [Fulfillments.GetFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment].
GetIntentRequest
The request message for [Intents.GetIntent][google.cloud.dialogflow.v2beta1.Intents.GetIntent].
GetKnowledgeBaseRequest
Request message for [KnowledgeBases.GetKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase].
GetParticipantRequest
The request message for [Participants.GetParticipant][google.cloud.dialogflow.v2beta1.Participants.GetParticipant].
GetSessionEntityTypeRequest
The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType].
GetValidationResultRequest
The request message for [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult].
GetVersionRequest
The request message for [Versions.GetVersion][google.cloud.dialogflow.v2beta1.Versions.GetVersion].
HumanAgentAssistantConfig
Defines the Human Agent Assistant to connect to a conversation.
HumanAgentAssistantConfig.Types
Container for nested types declared in the HumanAgentAssistantConfig message type.
HumanAgentAssistantConfig.Types.ConversationModelConfig
Custom conversation models used in agent assist feature.
Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
HumanAgentAssistantConfig.Types.ConversationProcessConfig
Config to process conversation.
HumanAgentAssistantConfig.Types.MessageAnalysisConfig
Configuration for analyses to run on each conversation message.
HumanAgentAssistantConfig.Types.SuggestionConfig
Detail human agent assistant config.
HumanAgentAssistantConfig.Types.SuggestionFeatureConfig
Config for suggestion features.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig
Config for suggestion query.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types
Container for nested types declared in the SuggestionQueryConfig message type.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.ContextFilterSettings
Settings that determine how to filter recent conversation context when generating suggestions.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.DialogflowQuerySource
Dialogflow source setting.
Supported feature: DIALOGFLOW_ASSIST, ENTITY_EXTRACTION.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.DialogflowQuerySource.Types
Container for nested types declared in the DialogflowQuerySource message type.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.DialogflowQuerySource.Types.HumanAgentSideConfig
The configuration used for human agent side Dialogflow assist suggestion.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.DocumentQuerySource
Document source settings.
Supported features: SMART_REPLY, SMART_COMPOSE.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.KnowledgeBaseQuerySource
Knowledge base source settings.
Supported features: ARTICLE_SUGGESTION, FAQ.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.Sections
Custom sections to return when requesting a summary of a conversation.
This is only supported when baseline_model_version
== '2.0'.
Supported features: CONVERSATION_SUMMARIZATION, CONVERSATION_SUMMARIZATION_VOICE.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.Sections.Types
Container for nested types declared in the Sections message type.
HumanAgentAssistantConfig.Types.SuggestionTriggerSettings
Settings of suggestion trigger.
HumanAgentAssistantEvent
Output only. Represents a notification sent to Pub/Sub subscribers for agent assistant events in a specific conversation.
HumanAgentHandoffConfig
Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation.
Currently, this feature is not general available, please contact Google to get access.
HumanAgentHandoffConfig.Types
Container for nested types declared in the HumanAgentHandoffConfig message type.
HumanAgentHandoffConfig.Types.LivePersonConfig
Configuration specific to LivePerson (https://www.liveperson.com).
HumanAgentHandoffConfig.Types.SalesforceLiveAgentConfig
Configuration specific to Salesforce Live Agent.
ImportAgentRequest
The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent].
ImportDocumentTemplate
The template used for importing documents.
ImportDocumentsRequest
Request message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
ImportDocumentsResponse
Response message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
InputAudioConfig
Instructs the speech recognizer on how to process the audio content.
InputTextConfig
Defines the language used in the input text.
Intent
An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification.
For more information, see the intent guide.
Intent.Types
Container for nested types declared in the Intent message type.
Intent.Types.FollowupIntentInfo
Represents a single followup intent in the chain.
Intent.Types.Message
Corresponds to the Response
field in the Dialogflow console.
Intent.Types.Message.Types
Container for nested types declared in the Message message type.
Intent.Types.Message.Types.BasicCard
The basic card message. Useful for displaying information.
Intent.Types.Message.Types.BasicCard.Types
Container for nested types declared in the BasicCard message type.
Intent.Types.Message.Types.BasicCard.Types.Button
The button object that appears at the bottom of a card.
Intent.Types.Message.Types.BasicCard.Types.Button.Types
Container for nested types declared in the Button message type.
Intent.Types.Message.Types.BasicCard.Types.Button.Types.OpenUriAction
Opens the given URI.
Intent.Types.Message.Types.BrowseCarouselCard
Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel
Intent.Types.Message.Types.BrowseCarouselCard.Types
Container for nested types declared in the BrowseCarouselCard message type.
Intent.Types.Message.Types.BrowseCarouselCard.Types.BrowseCarouselCardItem
Browsing carousel tile
Intent.Types.Message.Types.BrowseCarouselCard.Types.BrowseCarouselCardItem.Types
Container for nested types declared in the BrowseCarouselCardItem message type.
Intent.Types.Message.Types.BrowseCarouselCard.Types.BrowseCarouselCardItem.Types.OpenUrlAction
Actions on Google action to open a given url.
Intent.Types.Message.Types.BrowseCarouselCard.Types.BrowseCarouselCardItem.Types.OpenUrlAction.Types
Container for nested types declared in the OpenUrlAction message type.
Intent.Types.Message.Types.Card
The card response message.
Intent.Types.Message.Types.Card.Types
Container for nested types declared in the Card message type.
Intent.Types.Message.Types.Card.Types.Button
Optional. Contains information about a button.
Intent.Types.Message.Types.CarouselSelect
The card for presenting a carousel of options to select from.
Intent.Types.Message.Types.CarouselSelect.Types
Container for nested types declared in the CarouselSelect message type.
Intent.Types.Message.Types.CarouselSelect.Types.Item
An item in the carousel.
Intent.Types.Message.Types.ColumnProperties
Column properties for [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
Intent.Types.Message.Types.ColumnProperties.Types
Container for nested types declared in the ColumnProperties message type.
Intent.Types.Message.Types.Image
The image response message.
Intent.Types.Message.Types.LinkOutSuggestion
The suggestion chip message that allows the user to jump out to the app or website associated with this agent.
Intent.Types.Message.Types.ListSelect
The card for presenting a list of options to select from.
Intent.Types.Message.Types.ListSelect.Types
Container for nested types declared in the ListSelect message type.
Intent.Types.Message.Types.ListSelect.Types.Item
An item in the list.
Intent.Types.Message.Types.MediaContent
The media content card for Actions on Google.
Intent.Types.Message.Types.MediaContent.Types
Container for nested types declared in the MediaContent message type.
Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject
Response media object for media content card.
Intent.Types.Message.Types.QuickReplies
The quick replies response message.
Intent.Types.Message.Types.RbmCardContent
Rich Business Messaging (RBM) Card content
Intent.Types.Message.Types.RbmCardContent.Types
Container for nested types declared in the RbmCardContent message type.
Intent.Types.Message.Types.RbmCardContent.Types.RbmMedia
Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported:
Image Types
- image/jpeg
- image/jpg'
- image/gif
- image/png
Video Types
- video/h263
- video/m4v
- video/mp4
- video/mpeg
- video/mpeg4
- video/webm
Intent.Types.Message.Types.RbmCardContent.Types.RbmMedia.Types
Container for nested types declared in the RbmMedia message type.
Intent.Types.Message.Types.RbmCarouselCard
Carousel Rich Business Messaging (RBM) rich card.
Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions.
If you want to show a single card with more control over the layout, please use [RbmStandaloneCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] instead.
Intent.Types.Message.Types.RbmCarouselCard.Types
Container for nested types declared in the RbmCarouselCard message type.
Intent.Types.Message.Types.RbmStandaloneCard
Standalone Rich Business Messaging (RBM) rich card.
Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions.
You can group multiple rich cards into one using [RbmCarouselCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard] but carousel cards will give you less control over the card layout.
Intent.Types.Message.Types.RbmStandaloneCard.Types
Container for nested types declared in the RbmStandaloneCard message type.
Intent.Types.Message.Types.RbmSuggestedAction
Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.
Intent.Types.Message.Types.RbmSuggestedAction.Types
Container for nested types declared in the RbmSuggestedAction message type.
Intent.Types.Message.Types.RbmSuggestedAction.Types.RbmSuggestedActionDial
Opens the user's default dialer app with the specified phone number but does not dial automatically.
Intent.Types.Message.Types.RbmSuggestedAction.Types.RbmSuggestedActionOpenUri
Opens the user's default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI.
Intent.Types.Message.Types.RbmSuggestedAction.Types.RbmSuggestedActionShareLocation
Opens the device's location chooser so the user can pick a location to send back to the agent.
Intent.Types.Message.Types.RbmSuggestedReply
Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response.
Intent.Types.Message.Types.RbmSuggestion
Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
Intent.Types.Message.Types.RbmText
Rich Business Messaging (RBM) text response with suggestions.
Intent.Types.Message.Types.SelectItemInfo
Additional info about the select item for when it is triggered in a dialog.
Intent.Types.Message.Types.SimpleResponse
The simple response message containing speech or text.
Intent.Types.Message.Types.SimpleResponses
The collection of simple response candidates.
This message in QueryResult.fulfillment_messages
and
WebhookResponse.fulfillment_messages
should contain only one
SimpleResponse
.
Intent.Types.Message.Types.Suggestion
The suggestion chip message that the user can tap to quickly post a reply to the conversation.
Intent.Types.Message.Types.Suggestions
The collection of suggestions.
Intent.Types.Message.Types.TableCard
Table card for Actions on Google.
Intent.Types.Message.Types.TableCardCell
Cell of [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow].
Intent.Types.Message.Types.TableCardRow
Row of [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
Intent.Types.Message.Types.TelephonyPlayAudio
Plays audio from a file in Telephony Gateway.
Intent.Types.Message.Types.TelephonySynthesizeSpeech
Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway.
Telephony Gateway takes the synthesizer settings from
DetectIntentResponse.output_audio_config
which can either be set
at request-level or can come from the agent-level synthesizer config.
Intent.Types.Message.Types.TelephonyTransferCall
Transfers the call in Telephony Gateway.
Intent.Types.Message.Types.Text
The text response message.
Intent.Types.Parameter
Represents intent parameters.
Intent.Types.TrainingPhrase
Represents an example that the agent is trained on.
Intent.Types.TrainingPhrase.Types
Container for nested types declared in the TrainingPhrase message type.
Intent.Types.TrainingPhrase.Types.Part
Represents a part of a training phrase.
IntentBatch
This message is a wrapper around a collection of intents.
IntentInput
Represents the intent to trigger programmatically rather than as a result of natural language processing. The intent input is only used for V3 agent.
IntentName
Resource name for the Intent
resource.
IntentSuggestion
Represents an intent suggestion.
Intents
Service for managing [Intents][google.cloud.dialogflow.v2beta1.Intent].
Intents.IntentsBase
Base class for server-side implementations of Intents
Intents.IntentsClient
Client for Intents
IntentsClient
Intents client wrapper, for convenient use.
IntentsClientBuilder
Builder class for IntentsClient to provide simple configuration of credentials, endpoint etc.
IntentsClientImpl
Intents client wrapper implementation, for convenient use.
IntentsSettings
Settings for IntentsClient instances.
KnowledgeAnswers
Represents the result of querying a Knowledge base.
KnowledgeAnswers.Types
Container for nested types declared in the KnowledgeAnswers message type.
KnowledgeAnswers.Types.Answer
An answer from Knowledge Connector.
KnowledgeAnswers.Types.Answer.Types
Container for nested types declared in the Answer message type.
KnowledgeBase
A knowledge base represents a collection of knowledge documents that you provide to Dialogflow. Your knowledge documents contain information that may be useful during conversations with end-users. Some Dialogflow features use knowledge bases when looking for a response to an end-user input.
For more information, see the knowledge base guide.
Note: The projects.agent.knowledgeBases
resource is deprecated;
only use projects.knowledgeBases
.
KnowledgeBaseName
Resource name for the KnowledgeBase
resource.
KnowledgeBases
Service for managing [KnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBase].
KnowledgeBases.KnowledgeBasesBase
Base class for server-side implementations of KnowledgeBases
KnowledgeBases.KnowledgeBasesClient
Client for KnowledgeBases
KnowledgeBasesClient
KnowledgeBases client wrapper, for convenient use.
KnowledgeBasesClientBuilder
Builder class for KnowledgeBasesClient to provide simple configuration of credentials, endpoint etc.
KnowledgeBasesClientImpl
KnowledgeBases client wrapper implementation, for convenient use.
KnowledgeBasesSettings
Settings for KnowledgeBasesClient instances.
KnowledgeOperationMetadata
Metadata in google::longrunning::Operation for Knowledge operations.
KnowledgeOperationMetadata.Types
Container for nested types declared in the KnowledgeOperationMetadata message type.
ListAnswerRecordsRequest
Request message for [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
ListAnswerRecordsResponse
Response message for [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
ListContextsRequest
The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
ListContextsResponse
The response message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
ListConversationProfilesRequest
The request message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
ListConversationProfilesResponse
The response message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
ListConversationsRequest
The request message for [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
ListConversationsResponse
The response message for [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
ListDocumentsRequest
Request message for [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
ListDocumentsResponse
Response message for [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
ListEntityTypesRequest
The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
ListEntityTypesResponse
The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
ListEnvironmentsRequest
The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
ListEnvironmentsResponse
The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
ListIntentsRequest
The request message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
ListIntentsResponse
The response message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
ListKnowledgeBasesRequest
Request message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
ListKnowledgeBasesResponse
Response message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
ListMessagesRequest
The request message for [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
ListMessagesResponse
The response message for [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
ListParticipantsRequest
The request message for [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
ListParticipantsResponse
The response message for [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
ListSessionEntityTypesRequest
The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
ListSessionEntityTypesResponse
The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
ListSuggestionsRequest
The request message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
ListSuggestionsResponse
The response message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
ListVersionsRequest
The request message for [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
ListVersionsResponse
The response message for [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
LoggingConfig
Defines logging behavior for conversation lifecycle events.
Message
Represents a message posted into a conversation.
MessageAnnotation
Represents the result of annotation for the message.
MessageName
Resource name for the Message
resource.
ModelName
Resource name for the Model
resource.
NotificationConfig
Defines notification behavior.
NotificationConfig.Types
Container for nested types declared in the NotificationConfig message type.
OriginalDetectIntentRequest
Represents the contents of the original request that was passed to
the [Streaming]DetectIntent
call.
OutputAudio
Represents the natural language speech audio to be played to the end user.
OutputAudioConfig
Instructs the speech synthesizer how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to-speech settings applied to the agent.
Participant
Represents a conversation participant (human agent, virtual agent, end-user).
Participant.Types
Container for nested types declared in the Participant message type.
ParticipantName
Resource name for the Participant
resource.
Participants
Service for managing [Participants][google.cloud.dialogflow.v2beta1.Participant].
Participants.ParticipantsBase
Base class for server-side implementations of Participants
Participants.ParticipantsClient
Client for Participants
ParticipantsClient
Participants client wrapper, for convenient use.
ParticipantsClient.StreamingAnalyzeContentStream
Bidirectional streaming methods for StreamingAnalyzeContent(CallSettings, BidirectionalStreamingSettings).
ParticipantsClientBuilder
Builder class for ParticipantsClient to provide simple configuration of credentials, endpoint etc.
ParticipantsClientImpl
Participants client wrapper implementation, for convenient use.
ParticipantsSettings
Settings for ParticipantsClient instances.
PhraseSetName
Resource name for the PhraseSet
resource.
QueryInput
Represents the query input. It can contain either:
An audio config which instructs the speech recognizer how to process the speech audio.
A conversational query in the form of text.
An event that specifies which intent to trigger.
QueryParameters
Represents the parameters of the conversational query.
QueryResult
Represents the result of conversational query or event processing.
ReloadDocumentRequest
Request message for [Documents.ReloadDocument][google.cloud.dialogflow.v2beta1.Documents.ReloadDocument].
ResponseMessage
Response messages from an automated agent.
ResponseMessage.Types
Container for nested types declared in the ResponseMessage message type.
ResponseMessage.Types.EndInteraction
Indicates that interaction with the Dialogflow agent has ended.
ResponseMessage.Types.LiveAgentHandoff
Indicates that the conversation should be handed off to a human agent.
Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
You may set this, for example:
- In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation.
- In a webhook response when you determine that the customer issue can only be handled by a human.
ResponseMessage.Types.MixedAudio
Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs.
ResponseMessage.Types.MixedAudio.Types
Container for nested types declared in the MixedAudio message type.
ResponseMessage.Types.MixedAudio.Types.Segment
Represents one segment of audio.
ResponseMessage.Types.TelephonyTransferCall
Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
ResponseMessage.Types.Text
The text response message.
RestoreAgentRequest
The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent].
SearchAgentsRequest
The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
SearchAgentsResponse
The response message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
SearchKnowledgeAnswer
Represents a SearchKnowledge answer.
SearchKnowledgeAnswer.Types
Container for nested types declared in the SearchKnowledgeAnswer message type.
SearchKnowledgeAnswer.Types.AnswerSource
The sources of the answers.
SearchKnowledgeRequest
The request message for [Conversations.SearchKnowledge][google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge].
SearchKnowledgeResponse
The response message for [Conversations.SearchKnowledge][google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge].
Sentiment
The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result.
SentimentAnalysisRequestConfig
Configures the types of sentiment analysis to perform.
SentimentAnalysisResult
The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral. For [Participants.DetectIntent][], it needs to be configured in [DetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params]. For [Participants.StreamingDetectIntent][], it needs to be configured in [StreamingDetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. And for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent], it needs to be configured in [ConversationProfile.human_agent_assistant_config][google.cloud.dialogflow.v2beta1.ConversationProfile.human_agent_assistant_config]
SessionEntityType
A session represents a conversation between a Dialogflow agent and an end-user. You can create special entities, called session entities, during a session. Session entities can extend or replace custom entity types and only exist during the session that they were created for. All session data, including session entities, is stored by Dialogflow for 20 minutes.
For more information, see the session entity guide.
SessionEntityType.Types
Container for nested types declared in the SessionEntityType message type.
SessionEntityTypeName
Resource name for the SessionEntityType
resource.
SessionEntityTypes
Service for managing [SessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityType].
SessionEntityTypes.SessionEntityTypesBase
Base class for server-side implementations of SessionEntityTypes
SessionEntityTypes.SessionEntityTypesClient
Client for SessionEntityTypes
SessionEntityTypesClient
SessionEntityTypes client wrapper, for convenient use.
SessionEntityTypesClientBuilder
Builder class for SessionEntityTypesClient to provide simple configuration of credentials, endpoint etc.
SessionEntityTypesClientImpl
SessionEntityTypes client wrapper implementation, for convenient use.
SessionEntityTypesSettings
Settings for SessionEntityTypesClient instances.
SessionName
Resource name for the Session
resource.
Sessions
A service used for session interactions.
For more information, see the API interactions guide.
Sessions.SessionsBase
Base class for server-side implementations of Sessions
Sessions.SessionsClient
Client for Sessions
SessionsClient
Sessions client wrapper, for convenient use.
SessionsClient.StreamingDetectIntentStream
Bidirectional streaming methods for StreamingDetectIntent(CallSettings, BidirectionalStreamingSettings).
SessionsClientBuilder
Builder class for SessionsClient to provide simple configuration of credentials, endpoint etc.
SessionsClientImpl
Sessions client wrapper implementation, for convenient use.
SessionsSettings
Settings for SessionsClient instances.
SetAgentRequest
The request message for [Agents.SetAgent][google.cloud.dialogflow.v2beta1.Agents.SetAgent].
SetSuggestionFeatureConfigOperationMetadata
Metadata for a [ConversationProfile.SetSuggestionFeatureConfig][] operation.
SetSuggestionFeatureConfigRequest
The request message for [ConversationProfiles.SetSuggestionFeature][].
SmartReplyAnswer
Represents a smart reply answer.
SpeechContext
Hints for the speech recognizer to help with recognition in a specific conversation state.
SpeechToTextConfig
Configures speech transcription for [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile].
SpeechWordInfo
Information for a word recognized by the speech recognizer.
StreamingAnalyzeContentRequest
The top-level message sent by the client to the [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method.
Multiple request messages should be sent in order:
The first message must contain [participant][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.participant], [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] and optionally [query_params][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.query_params]. If you want to receive an audio response, it should also contain [reply_audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.reply_audio_config]. The message must not contain [input][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input].
If [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] in the first message was set to [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config], all subsequent messages must contain [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio] to continue with Speech recognition. If you decide to rather analyze text input after you already started Speech recognition, please send a message with [StreamingAnalyzeContentRequest.input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text].
However, note that:
- Dialogflow will bill you for the audio so far.
- Dialogflow discards all Speech recognition results in favor of the text input.
- If [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] in the first message was set to [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config], then the second message must contain only [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. Moreover, you must not send more than two messages.
After you sent all input, you must half-close or abort the request stream.
StreamingAnalyzeContentResponse
The top-level message returned from the StreamingAnalyzeContent
method.
Multiple response messages can be returned in order:
If the input was set to streaming audio, the first one or more messages contain
recognition_result
. Eachrecognition_result
represents a more complete transcript of what the user said. The lastrecognition_result
hasis_final
set totrue
.In virtual agent stage: if
enable_partial_automated_agent_reply
is true, the following N (currently 1 <= N <= 4) messages containautomated_agent_reply
and optionallyreply_audio
returned by the virtual agent. The first (N-1)automated_agent_reply
s will haveautomated_agent_reply_type
set toPARTIAL
. The lastautomated_agent_reply
hasautomated_agent_reply_type
set toFINAL
. Ifenable_partial_automated_agent_reply
is not enabled, response stream only contains the final reply.In human assist stage: the following N (N >= 1) messages contain
human_agent_suggestion_results
,end_user_suggestion_results
ormessage
.
StreamingDetectIntentRequest
The top-level message sent by the client to the [Sessions.StreamingDetectIntent][google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent] method.
Multiple request messages should be sent in order:
- The first message must contain [session][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.session], [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] plus optionally [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. If the client wants to receive an audio response, it should also contain [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]. The message must not contain [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio].
If [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] was set to [query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig], all subsequent messages must contain [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio] to continue with Speech recognition. If you decide to rather detect an intent from text input after you already started Speech recognition, please send a message with [query_input.text][google.cloud.dialogflow.v2beta1.QueryInput.text].
However, note that:
- Dialogflow will bill you for the audio duration so far.
- Dialogflow discards all Speech recognition results in favor of the input text.
- Dialogflow will use the language code from the first message.
After you sent all input, you must half-close or abort the request stream.
StreamingDetectIntentResponse
The top-level message returned from the
StreamingDetectIntent
method.
Multiple response messages can be returned in order:
If the
StreamingDetectIntentRequest.input_audio
field was set, therecognition_result
field is populated for one or more messages. See the [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] message for details about the result message sequence.The next message contains
response_id
,query_result
,alternative_query_results
and optionallywebhook_status
if a WebHook was called.If
output_audio_config
was specified in the request or agent-level speech synthesizer is configured, all subsequent messages containoutput_audio
andoutput_audio_config
.
StreamingRecognitionResult
Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance.
While end-user audio is being processed, Dialogflow sends a series of
results. Each result may contain a transcript
value. A transcript
represents a portion of the utterance. While the recognizer is processing
audio, transcript values may be interim values or finalized values.
Once a transcript is finalized, the is_final
value is set to true and
processing continues for the next transcript.
If StreamingDetectIntentRequest.query_input.audio_config.single_utterance
was true, and the recognizer has completed processing audio,
the message_type
value is set to `END_OF_SINGLE_UTTERANCE and the
following (last) result contains the last finalized transcript.
The complete end-user utterance is determined by concatenating the finalized transcript values received for the series of results.
In the following example, single utterance is enabled. In the case where single utterance is not enabled, result 7 would not occur.
Num | transcript | message_type | is_final
--- | ----------------------- | ----------------------- | --------
1 | "tube" | TRANSCRIPT | false
2 | "to be a" | TRANSCRIPT | false
3 | "to be" | TRANSCRIPT | false
4 | "to be or not to be" | TRANSCRIPT | true
5 | "that's" | TRANSCRIPT | false
6 | "that is | TRANSCRIPT | false
7 | unset | END_OF_SINGLE_UTTERANCE | unset
8 | " that is the question" | TRANSCRIPT | true
Concatenating the finalized transcripts with is_final
set to true,
the complete utterance becomes "to be or not to be that is the question".
StreamingRecognitionResult.Types
Container for nested types declared in the StreamingRecognitionResult message type.
SubAgent
Contains basic configuration for a sub-agent.
SuggestArticlesRequest
The request message for [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
SuggestArticlesResponse
The response message for [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
SuggestConversationSummaryRequest
The request message for [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
SuggestConversationSummaryResponse
The response message for [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
SuggestConversationSummaryResponse.Types
Container for nested types declared in the SuggestConversationSummaryResponse message type.
SuggestConversationSummaryResponse.Types.Summary
Generated summary for a conversation.
SuggestDialogflowAssistsResponse
The response message for [Participants.SuggestDialogflowAssists][google.cloud.dialogflow.v2beta1.Participants.SuggestDialogflowAssists].
SuggestFaqAnswersRequest
The request message for [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
SuggestFaqAnswersResponse
The request message for [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
SuggestSmartRepliesRequest
The request message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
SuggestSmartRepliesResponse
The response message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
Suggestion
Represents a suggestion for a human agent.
Suggestion.Types
Container for nested types declared in the Suggestion message type.
Suggestion.Types.Article
Represents suggested article.
Suggestion.Types.FaqAnswer
Represents suggested answer from "frequently asked questions".
SuggestionFeature
The type of Human Agent Assistant API suggestion to perform, and the maximum
number of results to return for that type. Multiple Feature
objects can
be specified in the features
list.
SuggestionFeature.Types
Container for nested types declared in the SuggestionFeature message type.
SuggestionInput
Represents the selection of a suggestion.
SuggestionResult
One response of different type of suggestion response which is used in the response of [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent], as well as [HumanAgentAssistantEvent][google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent].
SynthesizeSpeechConfig
Configuration of how speech should be synthesized.
TelephonyDtmfEvents
A wrapper of repeated TelephonyDtmf digits.
TextInput
Represents the natural language text to be processed.
TextToSpeechSettings
Instructs the speech synthesizer on how to generate the output audio content.
TrainAgentRequest
The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent].
UpdateAnswerRecordRequest
Request message for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord].
UpdateContextRequest
The request message for [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext].
UpdateConversationProfileRequest
The request message for [ConversationProfiles.UpdateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile].
UpdateDocumentRequest
Request message for [Documents.UpdateDocument][google.cloud.dialogflow.v2beta1.Documents.UpdateDocument].
UpdateEntityTypeRequest
The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType].
UpdateEnvironmentRequest
The request message for [Environments.UpdateEnvironment][google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment].
UpdateFulfillmentRequest
The request message for [Fulfillments.UpdateFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment].
UpdateIntentRequest
The request message for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent].
UpdateKnowledgeBaseRequest
Request message for [KnowledgeBases.UpdateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase].
UpdateParticipantRequest
The request message for [Participants.UpdateParticipant][google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant].
UpdateSessionEntityTypeRequest
The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType].
UpdateVersionRequest
The request message for [Versions.UpdateVersion][google.cloud.dialogflow.v2beta1.Versions.UpdateVersion].
ValidationError
Represents a single validation error.
ValidationError.Types
Container for nested types declared in the ValidationError message type.
ValidationResult
Represents the output of agent validation.
Version
You can create multiple versions of your agent and publish them to separate environments.
When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent.
When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for:
- testing
- development
- production
- etc.
For more information, see the versions and environments guide.
Version.Types
Container for nested types declared in the Version message type.
VersionName
Resource name for the Version
resource.
Versions
Service for managing [Versions][google.cloud.dialogflow.v2beta1.Version].
Versions.VersionsBase
Base class for server-side implementations of Versions
Versions.VersionsClient
Client for Versions
VersionsClient
Versions client wrapper, for convenient use.
VersionsClientBuilder
Builder class for VersionsClient to provide simple configuration of credentials, endpoint etc.
VersionsClientImpl
Versions client wrapper implementation, for convenient use.
VersionsSettings
Settings for VersionsClient instances.
VoiceSelectionParams
Description of which voice to use for speech synthesis.
WebhookRequest
The request message for a webhook call.
WebhookResponse
The response message for a webhook call.
This response is validated by the Dialogflow server. If validation fails, an error will be returned in the [QueryResult.diagnostic_info][google.cloud.dialogflow.v2beta1.QueryResult.diagnostic_info] field. Setting JSON fields to an empty value with the wrong type is a common error. To avoid this error:
- Use
""
for empty strings - Use
{}
ornull
for empty objects - Use
[]
ornull
for empty arrays
For more information, see the Protocol Buffers Language Guide.
Enums
Agent.Types.ApiVersion
API version for the agent.
Agent.Types.MatchMode
Match mode determines how intents are detected from user queries.
Agent.Types.Tier
Represents the agent tier.
AgentAssistantFeedback.Types.AnswerRelevance
Relevance of an answer.
AgentAssistantFeedback.Types.DocumentCorrectness
Correctness of document.
AgentAssistantFeedback.Types.DocumentEfficiency
Efficiency of document.
AgentAssistantRecord.AnswerOneofCase
Enum of possible cases for the "answer" oneof.
AgentName.ResourceNameType
The possible contents of AgentName.
AnalyzeContentRequest.InputOneofCase
Enum of possible cases for the "input" oneof.
AnswerFeedback.DetailFeedbackOneofCase
Enum of possible cases for the "detail_feedback" oneof.
AnswerFeedback.Types.CorrectnessLevel
The correctness level of an answer.
AnswerRecord.RecordOneofCase
Enum of possible cases for the "record" oneof.
AnswerRecordName.ResourceNameType
The possible contents of AnswerRecordName.
AudioEncoding
Audio encoding of the audio content sent in the conversational query request. Refer to the Cloud Speech API documentation for more details.
AutomatedAgentReply.MatchOneofCase
Enum of possible cases for the "match" oneof.
AutomatedAgentReply.ResponseOneofCase
Enum of possible cases for the "response" oneof.
AutomatedAgentReply.Types.AutomatedAgentReplyType
Represents different automated agent reply types.
BatchUpdateEntityTypesRequest.EntityTypeBatchOneofCase
Enum of possible cases for the "entity_type_batch" oneof.
BatchUpdateIntentsRequest.IntentBatchOneofCase
Enum of possible cases for the "intent_batch" oneof.
CXSecuritySettingsName.ResourceNameType
The possible contents of CXSecuritySettingsName.
ContextName.ResourceNameType
The possible contents of ContextName.
Conversation.Types.ConversationStage
Enumeration of the different conversation stages a conversation can be in. Reference: https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages
Conversation.Types.LifecycleState
Enumeration of the completion status of the conversation.
ConversationEvent.PayloadOneofCase
Enum of possible cases for the "payload" oneof.
ConversationEvent.Types.Type
Enumeration of the types of events available.
ConversationModelName.ResourceNameType
The possible contents of ConversationModelName.
ConversationName.ResourceNameType
The possible contents of ConversationName.
ConversationProfileName.ResourceNameType
The possible contents of ConversationProfileName.
DialogflowAssistAnswer.ResultOneofCase
Enum of possible cases for the "result" oneof.
Document.SourceOneofCase
Enum of possible cases for the "source" oneof.
Document.Types.KnowledgeType
The knowledge type of document content.
Document.Types.State
Possible states of the document
DocumentName.ResourceNameType
The possible contents of DocumentName.
EntityType.Types.AutoExpansionMode
Represents different entity type expansion modes. Automated expansion allows an agent to recognize values that have not been explicitly listed in the entity (for example, new kinds of shopping list items).
EntityType.Types.Kind
Represents kinds of entities.
EntityTypeName.ResourceNameType
The possible contents of EntityTypeName.
Environment.Types.State
Represents an environment state. When an environment is pointed to a new
agent version, the environment is temporarily set to the LOADING
state.
During that time, the environment keeps on serving the previous version of
the agent. After the new agent version is done loading, the environment is
set back to the RUNNING
state.
EnvironmentName.ResourceNameType
The possible contents of EnvironmentName.
ExportAgentResponse.AgentOneofCase
Enum of possible cases for the "agent" oneof.
Fulfillment.FulfillmentOneofCase
Enum of possible cases for the "fulfillment" oneof.
Fulfillment.Types.Feature.Types.Type
The type of the feature.
FulfillmentName.ResourceNameType
The possible contents of FulfillmentName.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.QuerySourceOneofCase
Enum of possible cases for the "query_source" oneof.
HumanAgentAssistantConfig.Types.SuggestionQueryConfig.Types.Sections.Types.SectionType
Selectable sections to return when requesting a summary of a conversation.
HumanAgentHandoffConfig.AgentServiceOneofCase
Enum of possible cases for the "agent_service" oneof.
ImportAgentRequest.AgentOneofCase
Enum of possible cases for the "agent" oneof.
ImportDocumentsRequest.SourceOneofCase
Enum of possible cases for the "source" oneof.
Intent.Types.Message.MessageOneofCase
Enum of possible cases for the "message" oneof.
Intent.Types.Message.Types.BrowseCarouselCard.Types.BrowseCarouselCardItem.Types.OpenUrlAction.Types.UrlTypeHint
Type of the URI.
Intent.Types.Message.Types.BrowseCarouselCard.Types.ImageDisplayOptions
Image display options for Actions on Google. This should be used for when the image's aspect ratio does not match the image container's aspect ratio.
Intent.Types.Message.Types.ColumnProperties.Types.HorizontalAlignment
Text alignments within a cell.
Intent.Types.Message.Types.MediaContent.Types.ResponseMediaObject.ImageOneofCase
Enum of possible cases for the "image" oneof.
Intent.Types.Message.Types.MediaContent.Types.ResponseMediaType
Format of response media type.
Intent.Types.Message.Types.Platform
Represents different platforms that a rich message can be intended for.
Intent.Types.Message.Types.RbmCardContent.Types.RbmMedia.Types.Height
Media height
Intent.Types.Message.Types.RbmCarouselCard.Types.CardWidth
The width of the cards in the carousel.
Intent.Types.Message.Types.RbmStandaloneCard.Types.CardOrientation
Orientation of the card.
Intent.Types.Message.Types.RbmStandaloneCard.Types.ThumbnailImageAlignment
Thumbnail preview alignment for standalone cards with horizontal layout.
Intent.Types.Message.Types.RbmSuggestedAction.ActionOneofCase
Enum of possible cases for the "action" oneof.
Intent.Types.Message.Types.RbmSuggestion.SuggestionOneofCase
Enum of possible cases for the "suggestion" oneof.
Intent.Types.Message.Types.TelephonySynthesizeSpeech.SourceOneofCase
Enum of possible cases for the "source" oneof.
Intent.Types.TrainingPhrase.Types.Type
Represents different types of training phrases.
Intent.Types.WebhookState
Represents the different states that webhooks can be in.
IntentName.ResourceNameType
The possible contents of IntentName.
IntentSuggestion.IntentOneofCase
Enum of possible cases for the "intent" oneof.
IntentView
Represents the options for views of an intent. An intent can be a sizable object. Therefore, we provide a resource view that does not return training phrases in the response by default.
KnowledgeAnswers.Types.Answer.Types.MatchConfidenceLevel
Represents the system's confidence that this knowledge answer is a good match for this conversational query.
KnowledgeBaseName.ResourceNameType
The possible contents of KnowledgeBaseName.
KnowledgeOperationMetadata.OperationMetadataOneofCase
Enum of possible cases for the "operation_metadata" oneof.
KnowledgeOperationMetadata.Types.State
States of the operation.
MessageName.ResourceNameType
The possible contents of MessageName.
ModelName.ResourceNameType
The possible contents of ModelName.
NotificationConfig.Types.MessageFormat
Format of cloud pub/sub message.
OutputAudioEncoding
Audio encoding of the output audio format in Text-To-Speech.
Participant.Types.Role
Enumeration of the roles a participant can play in a conversation.
ParticipantName.ResourceNameType
The possible contents of ParticipantName.
PhraseSetName.ResourceNameType
The possible contents of PhraseSetName.
QueryInput.InputOneofCase
Enum of possible cases for the "input" oneof.
ReloadDocumentRequest.SourceOneofCase
Enum of possible cases for the "source" oneof.
ResponseMessage.MessageOneofCase
Enum of possible cases for the "message" oneof.
ResponseMessage.Types.MixedAudio.Types.Segment.ContentOneofCase
Enum of possible cases for the "content" oneof.
ResponseMessage.Types.TelephonyTransferCall.EndpointOneofCase
Enum of possible cases for the "endpoint" oneof.
RestoreAgentRequest.AgentOneofCase
Enum of possible cases for the "agent" oneof.
SearchKnowledgeAnswer.Types.AnswerType
The type of the answer.
SessionEntityType.Types.EntityOverrideMode
The types of modifications for a session entity type.
SessionEntityTypeName.ResourceNameType
The possible contents of SessionEntityTypeName.
SessionName.ResourceNameType
The possible contents of SessionName.
SpeechModelVariant
Variant of the specified [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
See the Cloud Speech documentation for which models have different variants. For example, the "phone_call" model has both a standard and an enhanced variant. When you use an enhanced model, you will generally receive higher quality results than for a standard model.
SsmlVoiceGender
Gender of the voice as described in SSML voice element.
StreamingAnalyzeContentRequest.ConfigOneofCase
Enum of possible cases for the "config" oneof.
StreamingAnalyzeContentRequest.InputOneofCase
Enum of possible cases for the "input" oneof.
StreamingRecognitionResult.Types.MessageType
Type of the response message.
SuggestionFeature.Types.Type
Defines the type of Human Agent Assistant feature.
SuggestionResult.SuggestionResponseOneofCase
Enum of possible cases for the "suggestion_response" oneof.
TelephonyDtmf
DTMF digit in Telephony Gateway.
ValidationError.Types.Severity
Represents a level of severity.
Version.Types.VersionStatus
The status of a version.
VersionName.ResourceNameType
The possible contents of VersionName.