UNPKG

googleapis

Version:
1,060 lines 833 kB
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common'; import { Readable } from 'stream'; export declare namespace dialogflow_v3beta1 { export interface Options extends GlobalOptions { version: 'v3beta1'; } interface StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth; /** * V1 error format. */ '$.xgafv'?: string; /** * OAuth access token. */ access_token?: string; /** * Data format for response. */ alt?: string; /** * JSONP */ callback?: string; /** * Selector specifying which fields to include in a partial response. */ fields?: string; /** * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** * OAuth 2.0 token for the current user. */ oauth_token?: string; /** * Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** * Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** * Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; } /** * Dialogflow API * * Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices). * * @example * ```js * const {google} = require('googleapis'); * const dialogflow = google.dialogflow('v3beta1'); * ``` */ export class Dialogflow { context: APIRequestContext; projects: Resource$Projects; constructor(options: GlobalOptions, google?: GoogleConfigurable); } export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettings { audioExportGcsDestination?: Schema$GoogleCloudDialogflowCxV3GcsDestination; dtmfSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings; loggingSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings; speechSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings; } export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings { enabled?: boolean | null; endpointingTimeoutDuration?: string | null; finishDigit?: string | null; interdigitTimeoutDuration?: string | null; maxDigits?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings { enableConsentBasedRedaction?: boolean | null; enableInteractionLogging?: boolean | null; enableStackdriverLogging?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings { endpointerSensitivity?: number | null; models?: { [key: string]: string; } | null; noSpeechTimeout?: string | null; useTimeoutBasedEndpointing?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3AudioInput { audio?: string | null; config?: Schema$GoogleCloudDialogflowCxV3InputAudioConfig; } export interface Schema$GoogleCloudDialogflowCxV3BargeInConfig { noBargeInDuration?: string | null; totalDuration?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata { errors?: Schema$GoogleCloudDialogflowCxV3TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3BatchRunTestCasesResponse { results?: Schema$GoogleCloudDialogflowCxV3TestCaseResult[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1Action { agentUtterance?: Schema$GoogleCloudDialogflowCxV3beta1AgentUtterance; completeTime?: string | null; displayName?: string | null; event?: Schema$GoogleCloudDialogflowCxV3beta1Event; flowInvocation?: Schema$GoogleCloudDialogflowCxV3beta1FlowInvocation; flowStateUpdate?: Schema$GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate; flowTransition?: Schema$GoogleCloudDialogflowCxV3beta1FlowTransition; intentMatch?: Schema$GoogleCloudDialogflowCxV3beta1ActionIntentMatch; llmCall?: Schema$GoogleCloudDialogflowCxV3beta1LlmCall; playbookInvocation?: Schema$GoogleCloudDialogflowCxV3beta1PlaybookInvocation; playbookTransition?: Schema$GoogleCloudDialogflowCxV3beta1PlaybookTransition; startTime?: string | null; status?: Schema$GoogleCloudDialogflowCxV3beta1Status; stt?: Schema$GoogleCloudDialogflowCxV3beta1ActionSTT; subExecutionSteps?: Schema$GoogleCloudDialogflowCxV3beta1Span[]; toolUse?: Schema$GoogleCloudDialogflowCxV3beta1ToolUse; tts?: Schema$GoogleCloudDialogflowCxV3beta1ActionTTS; userUtterance?: Schema$GoogleCloudDialogflowCxV3beta1UserUtterance; } export interface Schema$GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate { destination?: string | null; eventType?: string | null; functionCall?: Schema$GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall; pageState?: Schema$GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState; updatedParameters?: { [key: string]: any; } | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall { name?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdatePageState { displayName?: string | null; page?: string | null; status?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ActionIntentMatch { matchedIntents?: Schema$GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent { displayName?: string | null; generativeFallback?: { [key: string]: any; } | null; intentId?: string | null; score?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ActionSTT { } export interface Schema$GoogleCloudDialogflowCxV3beta1ActionTTS { } export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings { audioExportGcsDestination?: Schema$GoogleCloudDialogflowCxV3beta1GcsDestination; dtmfSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings; loggingSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings; speechSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings; } export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings { enabled?: boolean | null; endpointingTimeoutDuration?: string | null; finishDigit?: string | null; interdigitTimeoutDuration?: string | null; maxDigits?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings { enableConsentBasedRedaction?: boolean | null; enableInteractionLogging?: boolean | null; enableStackdriverLogging?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings { endpointerSensitivity?: number | null; models?: { [key: string]: string; } | null; noSpeechTimeout?: string | null; useTimeoutBasedEndpointing?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Agent { advancedSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings; answerFeedbackSettings?: Schema$GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings; avatarUri?: string | null; bigqueryExportSettings?: Schema$GoogleCloudDialogflowCxV3beta1BigQueryExportSettings; clientCertificateSettings?: Schema$GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings; defaultLanguageCode?: string | null; description?: string | null; displayName?: string | null; enableMultiLanguageTraining?: boolean | null; enableSpellCorrection?: boolean | null; enableStackdriverLogging?: boolean | null; genAppBuilderSettings?: Schema$GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings; gitIntegrationSettings?: Schema$GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings; locked?: boolean | null; name?: string | null; personalizationSettings?: Schema$GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings; satisfiesPzi?: boolean | null; satisfiesPzs?: boolean | null; securitySettings?: string | null; speechToTextSettings?: Schema$GoogleCloudDialogflowCxV3beta1SpeechToTextSettings; startFlow?: string | null; startPlaybook?: string | null; supportedLanguageCodes?: string[] | null; textToSpeechSettings?: Schema$GoogleCloudDialogflowCxV3beta1TextToSpeechSettings; timeZone?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettings { enableAnswerFeedback?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings { passphrase?: string | null; privateKey?: string | null; sslCertificate?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings { engine?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettings { gitConnectionSettings?: Schema$GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings; githubSettings?: Schema$GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings; } export interface Schema$GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings { accessTokenSecret?: string | null; branches?: string[] | null; displayName?: string | null; repositoryUri?: string | null; trackingBranch?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings { accessToken?: string | null; branches?: string[] | null; displayName?: string | null; repositoryUri?: string | null; trackingBranch?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings { defaultEndUserMetadata?: { [key: string]: any; } | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AgentUtterance { requireGeneration?: boolean | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AgentValidationResult { flowValidationResults?: Schema$GoogleCloudDialogflowCxV3beta1FlowValidationResult[]; name?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AnswerFeedback { customRating?: string | null; rating?: string | null; ratingReason?: Schema$GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason; } export interface Schema$GoogleCloudDialogflowCxV3beta1AnswerFeedbackRatingReason { feedback?: string | null; reasonLabels?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AudioInput { audio?: string | null; config?: Schema$GoogleCloudDialogflowCxV3beta1InputAudioConfig; } export interface Schema$GoogleCloudDialogflowCxV3beta1BargeInConfig { noBargeInDuration?: string | null; totalDuration?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest { names?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata { errors?: Schema$GoogleCloudDialogflowCxV3beta1TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest { environment?: string | null; testCases?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse { results?: Schema$GoogleCloudDialogflowCxV3beta1TestCaseResult[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1BigQueryExportSettings { bigqueryTable?: string | null; enabled?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1BoostSpec { conditionBoostSpecs?: Schema$GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpec { boost?: number | null; boostControlSpec?: Schema$GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec; condition?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec { attributeType?: string | null; controlPoints?: Schema$GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint[]; fieldName?: string | null; interpolationType?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint { attributeValue?: string | null; boostAmount?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1BoostSpecs { dataStores?: string[] | null; spec?: Schema$GoogleCloudDialogflowCxV3beta1BoostSpec[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse { agent?: string | null; intentCoverage?: Schema$GoogleCloudDialogflowCxV3beta1IntentCoverage; routeGroupCoverage?: Schema$GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage; transitionCoverage?: Schema$GoogleCloudDialogflowCxV3beta1TransitionCoverage; } export interface Schema$GoogleCloudDialogflowCxV3beta1Changelog { action?: string | null; createTime?: string | null; displayName?: string | null; languageCode?: string | null; name?: string | null; resource?: string | null; type?: string | null; userEmail?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1CodeBlock { code?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1CompareVersionsRequest { languageCode?: string | null; targetVersion?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1CompareVersionsResponse { baseVersionContentJson?: string | null; compareTime?: string | null; targetVersionContentJson?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ContinuousTestResult { name?: string | null; result?: string | null; runTime?: string | null; testCaseResults?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Conversation { duration?: string | null; environment?: Schema$GoogleCloudDialogflowCxV3beta1Environment; flows?: Schema$GoogleCloudDialogflowCxV3beta1Flow[]; flowVersions?: { [key: string]: string; } | null; intents?: Schema$GoogleCloudDialogflowCxV3beta1Intent[]; interactions?: Schema$GoogleCloudDialogflowCxV3beta1ConversationInteraction[]; languageCode?: string | null; metrics?: Schema$GoogleCloudDialogflowCxV3beta1ConversationMetrics; name?: string | null; pages?: Schema$GoogleCloudDialogflowCxV3beta1Page[]; startTime?: string | null; type?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationInteraction { answerFeedback?: Schema$GoogleCloudDialogflowCxV3beta1AnswerFeedback; createTime?: string | null; missingTransition?: Schema$GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition; partialResponses?: Schema$GoogleCloudDialogflowCxV3beta1DetectIntentResponse[]; request?: Schema$GoogleCloudDialogflowCxV3beta1DetectIntentRequest; requestUtterances?: string | null; response?: Schema$GoogleCloudDialogflowCxV3beta1DetectIntentResponse; responseUtterances?: string | null; stepMetrics?: Schema$GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationInteractionMissingTransition { intentDisplayName?: string | null; score?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics { latency?: string | null; name?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationMetrics { averageMatchConfidence?: number | null; hasEndInteraction?: boolean | null; hasLiveAgentHandoff?: boolean | null; inputAudioDuration?: string | null; interactionCount?: number | null; matchTypeCount?: Schema$GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount; maxWebhookLatency?: string | null; outputAudioDuration?: string | null; queryInputCount?: Schema$GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationMetricsMatchTypeCount { directIntentCount?: number | null; eventCount?: number | null; intentCount?: number | null; noInputCount?: number | null; noMatchCount?: number | null; parameterFillingCount?: number | null; unspecifiedCount?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationMetricsQueryInputCount { audioCount?: number | null; dtmfCount?: number | null; eventCount?: number | null; intentCount?: number | null; textCount?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationSignals { turnSignals?: Schema$GoogleCloudDialogflowCxV3beta1TurnSignals; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationTurn { userInput?: Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput; virtualAgentOutput?: Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput { enableSentimentAnalysis?: boolean | null; injectedParameters?: { [key: string]: any; } | null; input?: Schema$GoogleCloudDialogflowCxV3beta1QueryInput; isWebhookEnabled?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput { currentPage?: Schema$GoogleCloudDialogflowCxV3beta1Page; diagnosticInfo?: { [key: string]: any; } | null; differences?: Schema$GoogleCloudDialogflowCxV3beta1TestRunDifference[]; sessionParameters?: { [key: string]: any; } | null; status?: Schema$GoogleRpcStatus; textResponses?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageText[]; triggeredIntent?: Schema$GoogleCloudDialogflowCxV3beta1Intent; } export interface Schema$GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata { version?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnection { dataStore?: string | null; dataStoreType?: string | null; documentProcessingMode?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals { answer?: string | null; answerGenerationModelCallSignals?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals; answerParts?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart[]; citedSnippets?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet[]; groundingSignals?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals; rewriterModelCallSignals?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals; rewrittenQuery?: string | null; safetySignals?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals; searchSnippets?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals { model?: string | null; modelOutput?: string | null; renderedPrompt?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart { supportingIndices?: number[] | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet { searchSnippet?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet; snippetIndex?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals { decision?: string | null; score?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals { model?: string | null; modelOutput?: string | null; renderedPrompt?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals { bannedPhraseMatch?: string | null; decision?: string | null; matchedBannedPhrase?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet { documentTitle?: string | null; documentUri?: string | null; metadata?: { [key: string]: any; } | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DeployFlowMetadata { testErrors?: Schema$GoogleCloudDialogflowCxV3beta1TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1DeployFlowRequest { flowVersion?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DeployFlowResponse { deployment?: string | null; environment?: Schema$GoogleCloudDialogflowCxV3beta1Environment; } export interface Schema$GoogleCloudDialogflowCxV3beta1Deployment { endTime?: string | null; flowVersion?: string | null; name?: string | null; result?: Schema$GoogleCloudDialogflowCxV3beta1DeploymentResult; startTime?: string | null; state?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DeploymentResult { deploymentTestResults?: string[] | null; experiment?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DetectIntentRequest { outputAudioConfig?: Schema$GoogleCloudDialogflowCxV3beta1OutputAudioConfig; queryInput?: Schema$GoogleCloudDialogflowCxV3beta1QueryInput; queryParams?: Schema$GoogleCloudDialogflowCxV3beta1QueryParameters; responseView?: string | null; session?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DetectIntentResponse { allowCancellation?: boolean | null; outputAudio?: string | null; outputAudioConfig?: Schema$GoogleCloudDialogflowCxV3beta1OutputAudioConfig; queryResult?: Schema$GoogleCloudDialogflowCxV3beta1QueryResult; responseId?: string | null; responseType?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DtmfInput { digits?: string | null; finishDigit?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1EntityType { autoExpansionMode?: string | null; displayName?: string | null; enableFuzzyExtraction?: boolean | null; entities?: Schema$GoogleCloudDialogflowCxV3beta1EntityTypeEntity[]; excludedPhrases?: Schema$GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase[]; kind?: string | null; name?: string | null; redact?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1EntityTypeEntity { synonyms?: string[] | null; value?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase { value?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Environment { description?: string | null; displayName?: string | null; name?: string | null; testCasesConfig?: Schema$GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig; updateTime?: string | null; versionConfigs?: Schema$GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig[]; webhookConfig?: Schema$GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig; } export interface Schema$GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig { enableContinuousRun?: boolean | null; enablePredeploymentRun?: boolean | null; testCases?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig { version?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig { webhookOverrides?: Schema$GoogleCloudDialogflowCxV3beta1Webhook[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1Event { event?: string | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1EventHandler { event?: string | null; name?: string | null; targetFlow?: string | null; targetPage?: string | null; targetPlaybook?: string | null; triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment; } export interface Schema$GoogleCloudDialogflowCxV3beta1EventInput { event?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Example { actions?: Schema$GoogleCloudDialogflowCxV3beta1Action[]; conversationState?: string | null; createTime?: string | null; description?: string | null; displayName?: string | null; languageCode?: string | null; name?: string | null; playbookInput?: Schema$GoogleCloudDialogflowCxV3beta1PlaybookInput; playbookOutput?: Schema$GoogleCloudDialogflowCxV3beta1PlaybookOutput; tokenCount?: string | null; updateTime?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExceptionDetail { errorMessage?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Experiment { createTime?: string | null; definition?: Schema$GoogleCloudDialogflowCxV3beta1ExperimentDefinition; description?: string | null; displayName?: string | null; endTime?: string | null; experimentLength?: string | null; lastUpdateTime?: string | null; name?: string | null; result?: Schema$GoogleCloudDialogflowCxV3beta1ExperimentResult; rolloutConfig?: Schema$GoogleCloudDialogflowCxV3beta1RolloutConfig; rolloutFailureReason?: string | null; rolloutState?: Schema$GoogleCloudDialogflowCxV3beta1RolloutState; startTime?: string | null; state?: string | null; variantsHistory?: Schema$GoogleCloudDialogflowCxV3beta1VariantsHistory[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExperimentDefinition { condition?: string | null; versionVariants?: Schema$GoogleCloudDialogflowCxV3beta1VersionVariants; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExperimentResult { lastUpdateTime?: string | null; versionMetrics?: Schema$GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval { confidenceLevel?: number | null; lowerBound?: number | null; ratio?: number | null; upperBound?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExperimentResultMetric { confidenceInterval?: Schema$GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval; count?: number | null; countType?: string | null; ratio?: number | null; type?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics { metrics?: Schema$GoogleCloudDialogflowCxV3beta1ExperimentResultMetric[]; sessionCount?: number | null; version?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportAgentRequest { agentUri?: string | null; dataFormat?: string | null; environment?: string | null; gitDestination?: Schema$GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination; includeBigqueryExportSettings?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination { commitMessage?: string | null; trackingBranch?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportAgentResponse { agentContent?: string | null; agentUri?: string | null; commitSha?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportEntityTypesRequest { dataFormat?: string | null; entityTypes?: string[] | null; entityTypesContentInline?: boolean | null; entityTypesUri?: string | null; languageCode?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse { entityTypesContent?: Schema$GoogleCloudDialogflowCxV3beta1InlineDestination; entityTypesUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportFlowRequest { flowUri?: string | null; includeReferencedFlows?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportFlowResponse { flowContent?: string | null; flowUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportIntentsRequest { dataFormat?: string | null; intents?: string[] | null; intentsContentInline?: boolean | null; intentsUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportIntentsResponse { intentsContent?: Schema$GoogleCloudDialogflowCxV3beta1InlineDestination; intentsUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest { dataFormat?: string | null; playbookUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest { dataFormat?: string | null; filter?: string | null; gcsUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse { content?: string | null; gcsUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportToolsRequest { dataFormat?: string | null; tools?: string[] | null; toolsContentInline?: boolean | null; toolsUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FilterSpecs { dataStores?: string[] | null; filter?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Flow { advancedSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings; description?: string | null; displayName?: string | null; eventHandlers?: Schema$GoogleCloudDialogflowCxV3beta1EventHandler[]; inputParameterDefinitions?: Schema$GoogleCloudDialogflowCxV3beta1ParameterDefinition[]; knowledgeConnectorSettings?: Schema$GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings; locked?: boolean | null; multiLanguageSettings?: Schema$GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings; name?: string | null; nluSettings?: Schema$GoogleCloudDialogflowCxV3beta1NluSettings; outputParameterDefinitions?: Schema$GoogleCloudDialogflowCxV3beta1ParameterDefinition[]; transitionRouteGroups?: string[] | null; transitionRoutes?: Schema$GoogleCloudDialogflowCxV3beta1TransitionRoute[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1FlowImportStrategy { globalImportStrategy?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FlowInvocation { displayName?: string | null; flow?: string | null; flowState?: string | null; inputActionParameters?: { [key: string]: any; } | null; outputActionParameters?: { [key: string]: any; } | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings { enableMultiLanguageDetection?: boolean | null; supportedResponseLanguageCodes?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FlowTransition { displayName?: string | null; flow?: string | null; inputActionParameters?: { [key: string]: any; } | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FlowValidationResult { name?: string | null; updateTime?: string | null; validationMessages?: Schema$GoogleCloudDialogflowCxV3beta1ValidationMessage[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1Form { parameters?: Schema$GoogleCloudDialogflowCxV3beta1FormParameter[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1FormParameter { advancedSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings; defaultValue?: any | null; displayName?: string | null; entityType?: string | null; fillBehavior?: Schema$GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior; isList?: boolean | null; redact?: boolean | null; required?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior { initialPromptFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment; repromptEventHandlers?: Schema$GoogleCloudDialogflowCxV3beta1EventHandler[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillIntentRequest { match?: Schema$GoogleCloudDialogflowCxV3beta1Match; matchIntentRequest?: Schema$GoogleCloudDialogflowCxV3beta1MatchIntentRequest; outputAudioConfig?: Schema$GoogleCloudDialogflowCxV3beta1OutputAudioConfig; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillIntentResponse { outputAudio?: string | null; outputAudioConfig?: Schema$GoogleCloudDialogflowCxV3beta1OutputAudioConfig; queryResult?: Schema$GoogleCloudDialogflowCxV3beta1QueryResult; responseId?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Fulfillment { advancedSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings; conditionalCases?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases[]; enableGenerativeFallback?: boolean | null; generators?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings[]; messages?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage[]; returnPartialResponses?: boolean | null; setParameterActions?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction[]; tag?: string | null; webhook?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases { cases?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase { caseContent?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent[]; condition?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent { additionalCases?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases; message?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings { generator?: string | null; inputParameters?: { [key: string]: string; } | null; outputParameter?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction { parameter?: string | null; value?: any | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1GcsDestination { uri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1GenerativeInfo { actionTracingInfo?: Schema$GoogleCloudDialogflowCxV3beta1Example; currentPlaybooks?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1GenerativeSettings { fallbackSettings?: Schema$GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings; generativeSafetySettings?: Schema$GoogleCloudDialogflowCxV3beta1SafetySettings; knowledgeConnectorSettings?: Schema$GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings; languageCode?: string | null; llmModelSettings?: Schema$GoogleCloudDialogflowCxV3beta1LlmModelSettings; name?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettings { promptTemplates?: Schema$GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate[]; selectedPrompt?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1GenerativeSettingsFallbackSettingsPromptTemplate { displayName?: string | null; frozen?: boolean | null; promptText?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings { agent?: string | null; agentIdentity?: string | null; agentScope?: string | null; business?: string | null; businessDescription?: string | null; disableDataStoreFallback?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Generator { displayName?: string | null; llmModelSettings?: Schema$GoogleCloudDialogflowCxV3beta1LlmModelSettings; modelParameter?: Schema$GoogleCloudDialogflowCxV3beta1GeneratorModelParameter; name?: string | null; placeholders?: Schema$GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder[]; promptText?: Schema$GoogleCloudDialogflowCxV3beta1Phrase; } export interface Schema$GoogleCloudDialogflowCxV3beta1GeneratorModelParameter { maxDecodeSteps?: number | null; temperature?: number | null; topK?: number | null; topP?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1GeneratorPlaceholder { id?: string | null; name?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Handler { eventHandler?: Schema$GoogleCloudDialogflowCxV3beta1HandlerEventHandler; lifecycleHandler?: Schema$GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler; } export interface Schema$GoogleCloudDialogflowCxV3beta1HandlerEventHandler { condition?: string | null; event?: string | null; fulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment; } export interface Schema$GoogleCloudDialogflowCxV3beta1HandlerLifecycleHandler { condition?: string | null; fulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment; lifecycleStage?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesRequest { entityTypesContent?: Schema$GoogleCloudDialogflowCxV3beta1InlineSource; entityTypesUri?: string | null; mergeOption?: string | null; targetEntityType?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse { conflictingResources?: Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources; entityTypes?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources { entityDisplayNames?: string[] | null; entityTypeDisplayNames?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportFlowRequest { flowContent?: string | null; flowImportStrategy?: Schema$GoogleCloudDialogflowCxV3beta1FlowImportStrategy; flowUri?: string | null; importOption?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportFlowResponse { flow?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsRequest { intentsContent?: Schema$GoogleCloudDialogflowCxV3beta1InlineSource; intentsUri?: string | null; mergeOption?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsResponse { conflictingResources?: Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources; intents?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources { entityDisplayNames?: string[] | null; intentDisplayNames?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest { importStrategy?: Schema$GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy; playbookContent?: string | null; playbookUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata { errors?: Schema$GoogleCloudDialogflowCxV3beta1TestCaseError[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest { content?: string | null; gcsUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse { names?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1InlineDestination { content?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1InlineSchema { items?: Schema$GoogleCloudDialogflowCxV3beta1TypeSchema; type?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1InlineSource { content?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1InputAudioConfig { audioEncoding?: string | null; bargeInConfig?: Schema$GoogleCloudDialogflowCxV3beta1BargeInConfig; enableWordInfo?: boolean | null; model?: string | null; modelVariant?: string | null; optOutConformerModelMigration?: boolean | null; phraseHints?: string[] | null; sampleRateHertz?: number | null; singleUtterance?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Intent { description?: string | null; displayName?: string | null; isFallback?: boolean | null; labels?: { [key: string]: string; } | null; name?: string | null; parameters?: Schema$GoogleCloudDialogflowCxV3beta1IntentParameter[]; priority?: number | null; trainingPhrases?: Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1IntentCoverage { coverageScore?: number | null; intents?: Schema$GoogleCloudDialogflowCxV3beta1IntentCoverageIntent[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1IntentCoverageIntent { covered?: boolean | null; intent?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1IntentInput { intent?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1IntentParameter { entityType?: string | null; id?: string | null; isList?: boolean | null; redact?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase { id?: string | null; parts?: Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart[]; repeatCount?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart { parameterId?: string | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings { dataStoreConnections?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnection[]; enabled?: boolean | null; targetFlow?: string | null; targetPage?: string | null; triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment; } export interface Schema$GoogleCloudDialogflowCxV3beta1LanguageInfo { confidenceScore?: number | null; inputLanguageCode?: string | null; resolvedLanguageCode?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListAgentsResponse { agents?: Schema$GoogleCloudDialogflowCxV3beta1Agent[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListChangelogsResponse { changelogs?: Schema$GoogleCloudDialogflowCxV3beta1Changelog[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse { continuousTestResults?: Schema$GoogleCloudDialogflowCxV3beta1ContinuousTestResult[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListConversationsResponse { conversations?: Schema$GoogleCloudDialogflowCxV3beta1Conversation[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListDeploymentsResponse { deployments?: Schema$GoogleCloudDialogflowCxV3beta1Deployment[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse { entityTypes?: Schema$GoogleCloudDialogflowCxV3beta1EntityType[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse { environments?: Schema$GoogleCloudDialogflowCxV3beta1Environment[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListExamplesResponse { examples?: Schema$GoogleCloudDialogflowCxV3beta1Example[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListExperimentsResponse { experiments?: Schema$GoogleCloudDialogflowCxV3beta1Experiment[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListFlowsResponse { flows?: Schema$GoogleCloudDialogflowCxV3beta1Flow[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListGeneratorsResponse { generators?: Schema$GoogleCloudDialogflowCxV3beta1Generator[]; nextPageToken?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ListI