Package-level declarations

Types

Link copied to clipboard
data class GetContextResult(val lifespanCount: Int, val name: String, val parameters: Map<String, String>)
Link copied to clipboard
data class GetConversationDatasetResult(val conversationCount: String, val conversationInfo: GoogleCloudDialogflowV2ConversationInfoResponse, val createTime: String, val description: String, val displayName: String, val inputConfig: GoogleCloudDialogflowV2InputConfigResponse, val name: String)
Link copied to clipboard
data class GetConversationModelResult(val articleSuggestionModelMetadata: GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse, val createTime: String, val datasets: List<GoogleCloudDialogflowV2InputDatasetResponse>, val displayName: String, val languageCode: String, val name: String, val smartReplyModelMetadata: GoogleCloudDialogflowV2SmartReplyModelMetadataResponse, val state: String)
Link copied to clipboard
data class GetConversationProfileResult(val automatedAgentConfig: GoogleCloudDialogflowV2AutomatedAgentConfigResponse, val createTime: String, val displayName: String, val humanAgentAssistantConfig: GoogleCloudDialogflowV2HumanAgentAssistantConfigResponse, val humanAgentHandoffConfig: GoogleCloudDialogflowV2HumanAgentHandoffConfigResponse, val languageCode: String, val loggingConfig: GoogleCloudDialogflowV2LoggingConfigResponse, val name: String, val newMessageEventNotificationConfig: GoogleCloudDialogflowV2NotificationConfigResponse, val notificationConfig: GoogleCloudDialogflowV2NotificationConfigResponse, val securitySettings: String, val sttConfig: GoogleCloudDialogflowV2SpeechToTextConfigResponse, val timeZone: String, val ttsConfig: GoogleCloudDialogflowV2SynthesizeSpeechConfigResponse, val updateTime: String)
Link copied to clipboard
data class GetConversationResult(val conversationProfile: String, val conversationStage: String, val endTime: String, val lifecycleState: String, val name: String, val phoneNumber: GoogleCloudDialogflowV2ConversationPhoneNumberResponse, val startTime: String)
Link copied to clipboard
data class GetDocumentResult(val contentUri: String, val displayName: String, val enableAutoReload: Boolean, val knowledgeTypes: List<String>, val latestReloadStatus: GoogleCloudDialogflowV2DocumentReloadStatusResponse, val metadata: Map<String, String>, val mimeType: String, val name: String, val rawContent: String, val state: String)
Link copied to clipboard
data class GetEntityTypeResult(val autoExpansionMode: String, val displayName: String, val enableFuzzyExtraction: Boolean, val entities: List<GoogleCloudDialogflowV2EntityTypeEntityResponse>, val kind: String, val name: String)
Link copied to clipboard
data class GetEnvironmentResult(val agentVersion: String, val description: String, val fulfillment: GoogleCloudDialogflowV2FulfillmentResponse, val name: String, val state: String, val textToSpeechSettings: GoogleCloudDialogflowV2TextToSpeechSettingsResponse, val updateTime: String)
Link copied to clipboard
data class GetEvaluationResult(val createTime: String, val displayName: String, val evaluationConfig: GoogleCloudDialogflowV2EvaluationConfigResponse, val name: String, val rawHumanEvalTemplateCsv: String, val smartReplyMetrics: GoogleCloudDialogflowV2SmartReplyMetricsResponse)
Link copied to clipboard
data class GetIntentResult(val action: String, val defaultResponsePlatforms: List<String>, val displayName: String, val endInteraction: Boolean, val events: List<String>, val followupIntentInfo: List<GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse>, val inputContextNames: List<String>, val isFallback: Boolean, val liveAgentHandoff: Boolean, val messages: List<GoogleCloudDialogflowV2IntentMessageResponse>, val mlDisabled: Boolean, val name: String, val outputContexts: List<GoogleCloudDialogflowV2ContextResponse>, val parameters: List<GoogleCloudDialogflowV2IntentParameterResponse>, val parentFollowupIntentName: String, val priority: Int, val resetContexts: Boolean, val rootFollowupIntentName: String, val trainingPhrases: List<GoogleCloudDialogflowV2IntentTrainingPhraseResponse>, val webhookState: String)
Link copied to clipboard
data class GetKnowledgeBaseResult(val displayName: String, val languageCode: String, val name: String)
Link copied to clipboard
data class GetParticipantResult(val documentsMetadataFilters: Map<String, String>, val name: String, val obfuscatedExternalUserId: String, val role: String, val sipRecordingMediaLabel: String)
Link copied to clipboard
data class GetSessionEntityTypeResult(val entities: List<GoogleCloudDialogflowV2EntityTypeEntityResponse>, val entityOverrideMode: String, val name: String)
Link copied to clipboard
data class GetVersionResult(val createTime: String, val description: String, val name: String, val status: String, val versionNumber: Int)

Metadata for article suggestion models.

Defines the Automated Agent to connect to a conversation.

Link copied to clipboard
data class GoogleCloudDialogflowV2ContextResponse(val lifespanCount: Int, val name: String, val parameters: Map<String, String>)

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.

Represents metadata of a conversation.

Represents a phone number for telephony integration. It allows for connecting a particular conversation over telephony.

The status of a reload attempt.

data class GoogleCloudDialogflowV2EntityTypeEntityResponse(val synonyms: List<String>, val value: String)

An entity entry for an associated entity type.

data class GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigResponse(val allowlistDocument: String, val maxResultCount: Int)

Smart compose specific configuration for evaluation job.

data class GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfigResponse(val allowlistDocument: String, val maxResultCount: Int)

Smart reply specific configuration for evaluation job.

Whether fulfillment is enabled for the specific feature.

data class GoogleCloudDialogflowV2FulfillmentGenericWebServiceResponse(val isCloudFunction: Boolean, val password: String, val requestHeaders: Map<String, String>, val uri: String, val username: String)

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.

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.

Google Cloud Storage location for the inputs.

Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.

data class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfigResponse(val enableEntityExtraction: Boolean, val enableSentimentAnalysis: Boolean)

Configuration for analyses to run on each conversation message.

data class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettingsResponse(val dropHandoffMessages: Boolean, val dropIvrMessages: Boolean, val dropVirtualAgentMessages: Boolean)

Settings that determine how to filter recent conversation context when generating suggestions.

Configuration specific to LivePerson (https://www.liveperson.com).

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.

data class GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfigResponse(val buttonId: String, val deploymentId: String, val endpointDomain: String, val organizationId: String)

Configuration specific to Salesforce Live Agent.

Represents the configuration of importing a set of conversation files in Google Cloud Storage.

InputDataset used to create model or do evaluation. NextID:5

data class GoogleCloudDialogflowV2IntentFollowupIntentInfoResponse(val followupIntentName: String, val parentFollowupIntentName: String)

Represents a single followup intent in the chain.

The basic card message. Useful for displaying information.

Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel

Contains information about a button.

The card response message.

data class GoogleCloudDialogflowV2IntentMessageColumnPropertiesResponse(val header: String, val horizontalAlignment: String)

Column properties for TableCard.

data class GoogleCloudDialogflowV2IntentMessageImageResponse(val accessibilityText: String, val imageUri: String)

The image response message.

The suggestion chip message that allows the user to jump out to the app or website associated with this agent.

The card for presenting a list of options to select from.

The quick replies response message.

Additional info about the select item for when it is triggered in a dialog.

data class GoogleCloudDialogflowV2IntentMessageSimpleResponseResponse(val displayText: String, val ssml: String, val textToSpeech: String)

The simple response message containing speech or text.

The collection of simple response candidates. This message in QueryResult.fulfillment_messages and WebhookResponse.fulfillment_messages should contain only one SimpleResponse.

The suggestion chip message that the user can tap to quickly post a reply to the conversation.

The text response message.

data class GoogleCloudDialogflowV2IntentParameterResponse(val defaultValue: String, val displayName: String, val entityTypeDisplayName: String, val isList: Boolean, val mandatory: Boolean, val name: String, val prompts: List<String>, val value: String)

Represents intent parameters.

data class GoogleCloudDialogflowV2IntentTrainingPhrasePartResponse(val alias: String, val entityType: String, val text: String, val userDefined: Boolean)

Represents a part of a training phrase.

Represents an example that the agent is trained on.

data class GoogleCloudDialogflowV2LoggingConfigResponse(val enableStackdriverLogging: Boolean)

Defines logging behavior for conversation lifecycle events.

data class GoogleCloudDialogflowV2NotificationConfigResponse(val messageFormat: String, val topic: String)

Defines notification behavior.

data class GoogleCloudDialogflowV2SmartReplyMetricsResponse(val allowlistCoverage: Double, val conversationCount: String, val topNMetrics: List<GoogleCloudDialogflowV2SmartReplyMetricsTopNMetricsResponse>)

The evaluation metrics for smart reply model.

Evaluation metrics when retrieving n smart replies with the model.

Metadata for smart reply models.

data class GoogleCloudDialogflowV2SpeechToTextConfigResponse(val model: String, val speechModelVariant: String)

Configures speech transcription for ConversationProfile.

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.

data class GoogleCloudDialogflowV2SynthesizeSpeechConfigResponse(val effectsProfileId: List<String>, val pitch: Double, val speakingRate: Double, val voice: GoogleCloudDialogflowV2VoiceSelectionParamsResponse, val volumeGainDb: Double)

Configuration of how speech should be synthesized.

data class GoogleCloudDialogflowV2TextToSpeechSettingsResponse(val enableTextToSpeech: Boolean, val outputAudioEncoding: String, val sampleRateHertz: Int, val synthesizeSpeechConfigs: Map<String, String>)

Instructs the speech synthesizer on how to generate the output audio content.

Description of which voice to use for speech synthesis.

Link copied to clipboard
data class GoogleRpcStatusResponse(val code: Int, val details: List<Map<String, String>>, val message: String)

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.