dialogflow.v2 library Null safety

Dialogflow API - v2

Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).

For more information, see cloud.google.com/dialogflow/

Create an instance of DialogflowApi to access these resources:

Classes

DialogflowApi
Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).
GoogleCloudDialogflowV2Agent
A Dialogflow agent is a virtual agent that handles conversations with your end-users. [...]
GoogleCloudDialogflowV2AgentAssistantFeedback
Detail feedback of Agent Assist result.
GoogleCloudDialogflowV2AgentAssistantRecord
Represents a record of a human agent assist answer.
GoogleCloudDialogflowV2AnalyzeContentRequest
The request message for Participants.AnalyzeContent.
GoogleCloudDialogflowV2AnalyzeContentResponse
The response message for Participants.AnalyzeContent.
GoogleCloudDialogflowV2AnswerFeedback
Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.
GoogleCloudDialogflowV2AnswerRecord
Answer records are records to manage answer history and feedbacks for Dialogflow. [...]
GoogleCloudDialogflowV2AutomatedAgentConfig
Defines the Automated Agent to connect to a conversation.
GoogleCloudDialogflowV2AutomatedAgentReply
Represents a response from an automated agent.
GoogleCloudDialogflowV2BatchCreateEntitiesRequest
The request message for EntityTypes.BatchCreateEntities.
GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
The request message for EntityTypes.BatchDeleteEntities.
GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest
The request message for EntityTypes.BatchDeleteEntityTypes.
GoogleCloudDialogflowV2BatchDeleteIntentsRequest
The request message for Intents.BatchDeleteIntents.
GoogleCloudDialogflowV2BatchUpdateEntitiesRequest
The request message for EntityTypes.BatchUpdateEntities.
GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest
The request message for EntityTypes.BatchUpdateEntityTypes.
GoogleCloudDialogflowV2BatchUpdateIntentsRequest
GoogleCloudDialogflowV2Conversation
Represents a conversation. [...]
GoogleCloudDialogflowV2ConversationPhoneNumber
Represents a phone number for telephony integration. [...]
GoogleCloudDialogflowV2ConversationProfile
Defines the services to connect to incoming Dialogflow conversations.
GoogleCloudDialogflowV2DetectIntentRequest
The request to detect user's intent.
GoogleCloudDialogflowV2DetectIntentResponse
The message returned from the DetectIntent method.
GoogleCloudDialogflowV2Document
A knowledge document to be used by a KnowledgeBase. [...]
GoogleCloudDialogflowV2DocumentReloadStatus
The status of a reload attempt.
GoogleCloudDialogflowV2DtmfParameters
The message in the response that indicates the parameters of DTMF.
GoogleCloudDialogflowV2EntityType
Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. [...]
GoogleCloudDialogflowV2EntityTypeBatch
This message is a wrapper around a collection of entity types.
GoogleCloudDialogflowV2Environment
You can create multiple versions of your agent and publish them to separate environments. [...]
GoogleCloudDialogflowV2EnvironmentHistory
The response message for Environments.GetEnvironmentHistory.
GoogleCloudDialogflowV2EnvironmentHistoryEntry
Represents an environment history entry.
GoogleCloudDialogflowV2ExportAgentRequest
The request message for Agents.ExportAgent.
GoogleCloudDialogflowV2Fulfillment
By default, your agent responds to a matched intent with a static response. [...]
GoogleCloudDialogflowV2FulfillmentFeature
Whether fulfillment is enabled for the specific feature.
GoogleCloudDialogflowV2FulfillmentGenericWebService
Represents configuration for a generic web service. [...]
GoogleCloudDialogflowV2HumanAgentAssistantConfig
Defines the Human Agent Assist to connect to a conversation.
GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig
Custom conversation models used in agent assist feature. [...]
GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
Configuration for analyses to run on each conversation message.
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
Detail human agent assistant config.
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig
Config for suggestion features.
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig
Config for suggestion query.
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
Settings that determine how to filter recent conversation context when generating suggestions.
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource
Dialogflow source setting. [...]
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource
Document source settings. [...]
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource
Knowledge base source settings. [...]
GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings
Settings of suggestion trigger.
GoogleCloudDialogflowV2HumanAgentHandoffConfig
Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation. [...]
GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig
Configuration specific to LivePerson (https://www.liveperson.com).
GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig
Configuration specific to Salesforce Live Agent.
GoogleCloudDialogflowV2ImportAgentRequest
The request message for Agents.ImportAgent.
GoogleCloudDialogflowV2InputAudioConfig
Instructs the speech recognizer how to process the audio content.
GoogleCloudDialogflowV2Intent
An intent categorizes an end-user's intention for one conversation turn. [...]
GoogleCloudDialogflowV2IntentBatch
This message is a wrapper around a collection of intents.
GoogleCloudDialogflowV2IntentMessage
A rich response message. [...]
GoogleCloudDialogflowV2IntentMessageBasicCard
The basic card message. [...]
GoogleCloudDialogflowV2IntentMessageBasicCardButton
The button object that appears at the bottom of a card.
GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard
Browse Carousel Card for Actions on Google. [...]
GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem
Browsing carousel tile
GoogleCloudDialogflowV2IntentMessageCard
The card response message.
GoogleCloudDialogflowV2IntentMessageCarouselSelect
The card for presenting a carousel of options to select from.
GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
An item in the carousel.
GoogleCloudDialogflowV2IntentMessageListSelect
The card for presenting a list of options to select from.
GoogleCloudDialogflowV2IntentMessageListSelectItem
An item in the list.
GoogleCloudDialogflowV2IntentMessageMediaContent
The media content card for Actions on Google.
GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
Response media object for media content card.
GoogleCloudDialogflowV2IntentMessageSimpleResponses
The collection of simple response candidates. [...]
GoogleCloudDialogflowV2IntentMessageSuggestions
The collection of suggestions.
GoogleCloudDialogflowV2IntentMessageTableCard
Table card for Actions on Google.
GoogleCloudDialogflowV2IntentMessageTableCardRow
Row of TableCard.
GoogleCloudDialogflowV2IntentTrainingPhrase
Represents an example that the agent is trained on.
GoogleCloudDialogflowV2KnowledgeBase
A knowledge base represents a collection of knowledge documents that you provide to Dialogflow. [...]
GoogleCloudDialogflowV2ListAnswerRecordsResponse
Response message for AnswerRecords.ListAnswerRecords.
GoogleCloudDialogflowV2ListContextsResponse
The response message for Contexts.ListContexts.
GoogleCloudDialogflowV2ListConversationProfilesResponse
The response message for ConversationProfiles.ListConversationProfiles.
GoogleCloudDialogflowV2ListConversationsResponse
The response message for Conversations.ListConversations.
GoogleCloudDialogflowV2ListDocumentsResponse
Response message for Documents.ListDocuments.
GoogleCloudDialogflowV2ListEntityTypesResponse
The response message for EntityTypes.ListEntityTypes.
GoogleCloudDialogflowV2ListEnvironmentsResponse
The response message for Environments.ListEnvironments.
GoogleCloudDialogflowV2ListIntentsResponse
The response message for Intents.ListIntents.
GoogleCloudDialogflowV2ListKnowledgeBasesResponse
Response message for KnowledgeBases.ListKnowledgeBases.
GoogleCloudDialogflowV2ListMessagesResponse
The response message for Conversations.ListMessages.
GoogleCloudDialogflowV2ListParticipantsResponse
The response message for Participants.ListParticipants.
GoogleCloudDialogflowV2ListSessionEntityTypesResponse
The response message for SessionEntityTypes.ListSessionEntityTypes.
GoogleCloudDialogflowV2ListVersionsResponse
The response message for Versions.ListVersions.
GoogleCloudDialogflowV2LoggingConfig
Defines logging behavior for conversation lifecycle events.
GoogleCloudDialogflowV2Message
Represents a message posted into a conversation.
GoogleCloudDialogflowV2MessageAnnotation
Represents the result of annotation for the message.
GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
GoogleCloudDialogflowV2OutputAudio
Represents the natural language speech audio to be played to the end user.
GoogleCloudDialogflowV2OutputAudioConfig
Instructs the speech synthesizer on how to generate the output audio content. [...]
GoogleCloudDialogflowV2Participant
Represents a conversation participant (human agent, virtual agent, end-user).
GoogleCloudDialogflowV2QueryInput
Represents the query input. [...]
GoogleCloudDialogflowV2QueryParameters
Represents the parameters of the conversational query.
GoogleCloudDialogflowV2QueryResult
Represents the result of conversational query or event processing.
GoogleCloudDialogflowV2ReloadDocumentRequest
Request message for Documents.ReloadDocument.
GoogleCloudDialogflowV2RestoreAgentRequest
The request message for Agents.RestoreAgent.
GoogleCloudDialogflowV2SearchAgentsResponse
The response message for Agents.SearchAgents.
GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
Configures the types of sentiment analysis to perform.
GoogleCloudDialogflowV2SentimentAnalysisResult
The result of sentiment analysis. [...]
GoogleCloudDialogflowV2SessionEntityType
A session represents a conversation between a Dialogflow agent and an end-user. [...]
GoogleCloudDialogflowV2SpeechContext
Hints for the speech recognizer to help with recognition in a specific conversation state.
GoogleCloudDialogflowV2SpeechToTextConfig
Configures speech transcription for ConversationProfile.
GoogleCloudDialogflowV2SuggestArticlesRequest
The request message for Participants.SuggestArticles.
GoogleCloudDialogflowV2SuggestArticlesResponse
The response message for Participants.SuggestArticles.
GoogleCloudDialogflowV2SuggestFaqAnswersRequest
The request message for Participants.SuggestFaqAnswers.
GoogleCloudDialogflowV2SuggestFaqAnswersResponse
The request message for Participants.SuggestFaqAnswers.
GoogleCloudDialogflowV2SuggestionFeature
The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type. [...]
GoogleCloudDialogflowV2SuggestionResult
One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.
GoogleCloudDialogflowV2SynthesizeSpeechConfig
Configuration of how speech should be synthesized.
GoogleCloudDialogflowV2TextInput
Represents the natural language text to be processed.
GoogleCloudDialogflowV2TextToSpeechSettings
Instructs the speech synthesizer on how to generate the output audio content.
GoogleCloudDialogflowV2ValidationError
Represents a single validation error.
GoogleCloudDialogflowV2ValidationResult
Represents the output of agent validation.
GoogleCloudDialogflowV2Version
You can create multiple versions of your agent and publish them to separate environments. [...]
GoogleCloudDialogflowV2VoiceSelectionParams
Description of which voice to use for speech synthesis.
GoogleCloudLocationListLocationsResponse
The response message for Locations.ListLocations.
GoogleLongrunningListOperationsResponse
The response message for Operations.ListOperations.
GoogleLongrunningOperation
This resource represents a long-running operation that is the result of a network API call.
ProjectsAgentEntityTypesEntitiesResource
ProjectsAgentEntityTypesResource
ProjectsAgentEnvironmentsIntentsResource
ProjectsAgentEnvironmentsResource
ProjectsAgentEnvironmentsUsersResource
ProjectsAgentEnvironmentsUsersSessionsContextsResource
ProjectsAgentEnvironmentsUsersSessionsEntityTypesResource
ProjectsAgentEnvironmentsUsersSessionsResource
ProjectsAgentIntentsResource
ProjectsAgentKnowledgeBasesDocumentsResource
ProjectsAgentKnowledgeBasesResource
ProjectsAgentResource
ProjectsAgentSessionsContextsResource
ProjectsAgentSessionsEntityTypesResource
ProjectsAgentSessionsResource
ProjectsAgentVersionsResource
ProjectsAnswerRecordsResource
ProjectsConversationProfilesResource
ProjectsConversationsMessagesResource
ProjectsConversationsParticipantsResource
ProjectsConversationsParticipantsSuggestionsResource
ProjectsConversationsResource
ProjectsKnowledgeBasesDocumentsResource
ProjectsKnowledgeBasesResource
ProjectsLocationsAgentEntityTypesEntitiesResource
ProjectsLocationsAgentEntityTypesResource
ProjectsLocationsAgentEnvironmentsIntentsResource
ProjectsLocationsAgentEnvironmentsResource
ProjectsLocationsAgentEnvironmentsUsersResource
ProjectsLocationsAgentEnvironmentsUsersSessionsContextsResource
ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesResource
ProjectsLocationsAgentEnvironmentsUsersSessionsResource
ProjectsLocationsAgentIntentsResource
ProjectsLocationsAgentResource
ProjectsLocationsAgentSessionsContextsResource
ProjectsLocationsAgentSessionsEntityTypesResource
ProjectsLocationsAgentSessionsResource
ProjectsLocationsAgentVersionsResource
ProjectsLocationsAnswerRecordsResource
ProjectsLocationsConversationProfilesResource
ProjectsLocationsConversationsMessagesResource
ProjectsLocationsConversationsParticipantsResource
ProjectsLocationsConversationsParticipantsSuggestionsResource
ProjectsLocationsConversationsResource
ProjectsLocationsKnowledgeBasesDocumentsResource
ProjectsLocationsKnowledgeBasesResource
ProjectsLocationsOperationsResource
ProjectsLocationsResource
ProjectsOperationsResource
ProjectsResource

Typedefs

GoogleCloudDialogflowV2AnnotatedMessagePart = $GoogleCloudDialogflowV2AnnotatedMessagePart
Represents a part of a message possibly annotated with an entity. [...]
GoogleCloudDialogflowV2ArticleAnswer = $GoogleCloudDialogflowV2ArticleAnswer
Represents article answer.
GoogleCloudDialogflowV2CompleteConversationRequest = $Empty
The request message for Conversations.CompleteConversation.
GoogleCloudDialogflowV2Context = $GoogleCloudDialogflowV2Context
Dialogflow contexts are similar to natural language context. [...]
GoogleCloudDialogflowV2EntityTypeEntity = $EntityTypeEntity
An entity entry for an associated entity type.
GoogleCloudDialogflowV2EventInput = $EventInput01
Events allow for matching intents by event name instead of the natural language input. [...]
GoogleCloudDialogflowV2FaqAnswer = $FaqAnswer
Represents answer from "frequently asked questions".
GoogleCloudDialogflowV2IntentFollowupIntentInfo = $IntentFollowupIntentInfo
Represents a single followup intent in the chain.
GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction = $IntentMessageBasicCardButtonOpenUriAction
Opens the given URI.
GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction = $IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
Actions on Google action to open a given url.
GoogleCloudDialogflowV2IntentMessageCardButton = $IntentMessageCardButton
Contains information about a button.
GoogleCloudDialogflowV2IntentMessageColumnProperties = $IntentMessageColumnProperties
Column properties for TableCard.
GoogleCloudDialogflowV2IntentMessageImage = $GoogleCloudDialogflowV2IntentMessageImage
The image response message.
GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion = $IntentMessageLinkOutSuggestion
The suggestion chip message that allows the user to jump out to the app or website associated with this agent.
GoogleCloudDialogflowV2IntentMessageQuickReplies = $IntentMessageQuickReplies
The quick replies response message.
GoogleCloudDialogflowV2IntentMessageSelectItemInfo = $IntentMessageSelectItemInfo
Additional info about the select item for when it is triggered in a dialog.
GoogleCloudDialogflowV2IntentMessageSimpleResponse = $IntentMessageSimpleResponse
The simple response message containing speech or text.
GoogleCloudDialogflowV2IntentMessageSuggestion = $IntentMessageSuggestion
The suggestion chip message that the user can tap to quickly post a reply to the conversation.
GoogleCloudDialogflowV2IntentMessageTableCardCell = $IntentMessageTableCardCell
Cell of TableCardRow.
GoogleCloudDialogflowV2IntentMessageText = $IntentMessageText
The text response message.
GoogleCloudDialogflowV2IntentParameter = $IntentParameter01
Represents intent parameters.
GoogleCloudDialogflowV2IntentTrainingPhrasePart = $IntentTrainingPhrasePart01
Represents a part of a training phrase.
GoogleCloudDialogflowV2Sentiment = $Shared00
The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text.
GoogleCloudDialogflowV2TrainAgentRequest = $Empty
The request message for Agents.TrainAgent.
GoogleCloudLocationLocation = $Location00
A resource that represents Google Cloud Platform location.
GoogleProtobufEmpty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. [...]
GoogleRpcStatus = $Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. [...]
GoogleTypeLatLng = $LatLng
An object that represents a latitude/longitude pair. [...]

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.