/* Type definitions for non-npm package Dialogflow API v2 0.0 */ // Project: https://cloud.google.com/dialogflow/ // Definitions by: Maxim Mazurok // Nick Amoscato // Declan Vong // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // IMPORTANT // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually. // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator // Generated from: https://dialogflow.googleapis.com/$discovery/rest?version=v2 // Revision: 20260622 /// declare namespace gapi.client { /** Load Dialogflow API v2 */ function load( urlOrObject: 'https://dialogflow.googleapis.com/$discovery/rest?version=v2', ): Promise; /** @deprecated Please load APIs with discovery documents. */ function load(name: 'dialogflow', version: 'v2'): Promise; /** @deprecated Please load APIs with discovery documents. */ function load(name: 'dialogflow', version: 'v2', callback: () => any): void; namespace dialogflow { interface GoogleCloudDialogflowCxV3AdvancedSettings { audioExportGcsDestination?: GoogleCloudDialogflowCxV3GcsDestination; dtmfSettings?: GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings; loggingSettings?: GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings; speechSettings?: GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings; } interface GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings { enabled?: boolean; endpointingTimeoutDuration?: string; finishDigit?: string; interdigitTimeoutDuration?: string; maxDigits?: number; } interface GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings { enableConsentBasedRedaction?: boolean; enableInteractionLogging?: boolean; enableStackdriverLogging?: boolean; } interface GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings { endpointerSensitivity?: number; models?: {[P in string]: string}; noSpeechTimeout?: string; useTimeoutBasedEndpointing?: boolean; } interface GoogleCloudDialogflowCxV3AudioInput { audio?: string; config?: GoogleCloudDialogflowCxV3InputAudioConfig; } interface GoogleCloudDialogflowCxV3BargeInConfig { noBargeInDuration?: string; totalDuration?: string; } interface GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata { errors?: GoogleCloudDialogflowCxV3TestError[]; } interface GoogleCloudDialogflowCxV3BatchRunTestCasesResponse { results?: GoogleCloudDialogflowCxV3TestCaseResult[]; } interface GoogleCloudDialogflowCxV3beta1AdvancedSettings { audioExportGcsDestination?: GoogleCloudDialogflowCxV3beta1GcsDestination; dtmfSettings?: GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings; loggingSettings?: GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings; speechSettings?: GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings; } interface GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings { enabled?: boolean; endpointingTimeoutDuration?: string; finishDigit?: string; interdigitTimeoutDuration?: string; maxDigits?: number; } interface GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings { enableConsentBasedRedaction?: boolean; enableInteractionLogging?: boolean; enableStackdriverLogging?: boolean; } interface GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings { endpointerSensitivity?: number; models?: {[P in string]: string}; noSpeechTimeout?: string; useTimeoutBasedEndpointing?: boolean; } interface GoogleCloudDialogflowCxV3beta1AudioInput { audio?: string; config?: GoogleCloudDialogflowCxV3beta1InputAudioConfig; } interface GoogleCloudDialogflowCxV3beta1BargeInConfig { noBargeInDuration?: string; totalDuration?: string; } interface GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata { errors?: GoogleCloudDialogflowCxV3beta1TestError[]; } interface GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse { results?: GoogleCloudDialogflowCxV3beta1TestCaseResult[]; } interface GoogleCloudDialogflowCxV3beta1ContinuousTestResult { name?: string; result?: 'AGGREGATED_TEST_RESULT_UNSPECIFIED' | 'PASSED' | 'FAILED'; runTime?: string; testCaseResults?: string[]; } interface GoogleCloudDialogflowCxV3beta1ConversationSignals { turnSignals?: GoogleCloudDialogflowCxV3beta1TurnSignals; } interface GoogleCloudDialogflowCxV3beta1ConversationTurn { userInput?: GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput; virtualAgentOutput?: GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput; } interface GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput { enableSentimentAnalysis?: boolean; injectedParameters?: {[P in string]: any}; input?: GoogleCloudDialogflowCxV3beta1QueryInput; isWebhookEnabled?: boolean; } interface GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput { currentPage?: GoogleCloudDialogflowCxV3beta1Page; diagnosticInfo?: {[P in string]: any}; differences?: GoogleCloudDialogflowCxV3beta1TestRunDifference[]; sessionParameters?: {[P in string]: any}; status?: GoogleRpcStatus; textResponses?: GoogleCloudDialogflowCxV3beta1ResponseMessageText[]; triggeredIntent?: GoogleCloudDialogflowCxV3beta1Intent; } interface GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata { version?: string; } interface GoogleCloudDialogflowCxV3beta1DataStoreConnection { dataStore?: string; dataStoreType?: | 'DATA_STORE_TYPE_UNSPECIFIED' | 'PUBLIC_WEB' | 'UNSTRUCTURED' | 'STRUCTURED'; documentProcessingMode?: 'DOCUMENT_PROCESSING_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS'; } interface GoogleCloudDialogflowCxV3beta1DeployFlowMetadata { testErrors?: GoogleCloudDialogflowCxV3beta1TestError[]; } interface GoogleCloudDialogflowCxV3beta1DeployFlowResponse { deployment?: string; environment?: GoogleCloudDialogflowCxV3beta1Environment; } interface GoogleCloudDialogflowCxV3beta1DtmfInput { digits?: string; finishDigit?: string; } interface GoogleCloudDialogflowCxV3beta1Environment { description?: string; displayName?: string; name?: string; testCasesConfig?: GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig; updateTime?: string; versionConfigs?: GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig[]; webhookConfig?: GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig; } interface GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig { enableContinuousRun?: boolean; enablePredeploymentRun?: boolean; testCases?: string[]; } interface GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig { version?: string; } interface GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig { webhookOverrides?: GoogleCloudDialogflowCxV3beta1Webhook[]; } interface GoogleCloudDialogflowCxV3beta1EventHandler { event?: string; name?: string; targetFlow?: string; targetPage?: string; targetPlaybook?: string; triggerFulfillment?: GoogleCloudDialogflowCxV3beta1Fulfillment; } interface GoogleCloudDialogflowCxV3beta1EventInput { event?: string; } interface GoogleCloudDialogflowCxV3beta1ExportAgentResponse { agentContent?: string; agentUri?: string; commitSha?: string; } interface GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata {} interface GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse { entityTypesContent?: GoogleCloudDialogflowCxV3beta1InlineDestination; entityTypesUri?: string; } interface GoogleCloudDialogflowCxV3beta1ExportFlowResponse { flowContent?: string; flowUri?: string; } interface GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata {} interface GoogleCloudDialogflowCxV3beta1ExportIntentsResponse { intentsContent?: GoogleCloudDialogflowCxV3beta1InlineDestination; intentsUri?: string; } interface GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata {} interface GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse { content?: string; gcsUri?: string; } interface GoogleCloudDialogflowCxV3beta1Form { parameters?: GoogleCloudDialogflowCxV3beta1FormParameter[]; } interface GoogleCloudDialogflowCxV3beta1FormParameter { advancedSettings?: GoogleCloudDialogflowCxV3beta1AdvancedSettings; defaultValue?: any; displayName?: string; entityType?: string; fillBehavior?: GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior; isList?: boolean; redact?: boolean; required?: boolean; } interface GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior { initialPromptFulfillment?: GoogleCloudDialogflowCxV3beta1Fulfillment; repromptEventHandlers?: GoogleCloudDialogflowCxV3beta1EventHandler[]; } interface GoogleCloudDialogflowCxV3beta1Fulfillment { advancedSettings?: GoogleCloudDialogflowCxV3beta1AdvancedSettings; conditionalCases?: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases[]; enableGenerativeFallback?: boolean; generators?: GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings[]; messages?: GoogleCloudDialogflowCxV3beta1ResponseMessage[]; returnPartialResponses?: boolean; setParameterActions?: GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction[]; tag?: string; webhook?: string; } interface GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases { cases?: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase[]; } interface GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase { caseContent?: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent[]; condition?: string; } interface GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent { additionalCases?: GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases; message?: GoogleCloudDialogflowCxV3beta1ResponseMessage; } interface GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings { generator?: string; inputParameters?: {[P in string]: string}; outputParameter?: string; } interface GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction { parameter?: string; value?: any; } interface GoogleCloudDialogflowCxV3beta1GcsDestination { uri?: string; } interface GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata {} interface GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse { conflictingResources?: GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources; entityTypes?: string[]; } interface GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources { entityDisplayNames?: string[]; entityTypeDisplayNames?: string[]; } interface GoogleCloudDialogflowCxV3beta1ImportFlowResponse { flow?: string; } interface GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata {} interface GoogleCloudDialogflowCxV3beta1ImportIntentsResponse { conflictingResources?: GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources; intents?: string[]; } interface GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources { entityDisplayNames?: string[]; intentDisplayNames?: string[]; } interface GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata { errors?: GoogleCloudDialogflowCxV3beta1TestCaseError[]; } interface GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse { names?: string[]; } interface GoogleCloudDialogflowCxV3beta1InlineDestination { content?: string; } interface GoogleCloudDialogflowCxV3beta1InputAudioConfig { audioEncoding?: | 'AUDIO_ENCODING_UNSPECIFIED' | 'AUDIO_ENCODING_LINEAR_16' | 'AUDIO_ENCODING_FLAC' | 'AUDIO_ENCODING_MULAW' | 'AUDIO_ENCODING_AMR' | 'AUDIO_ENCODING_AMR_WB' | 'AUDIO_ENCODING_OGG_OPUS' | 'AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE' | 'AUDIO_ENCODING_ALAW'; bargeInConfig?: GoogleCloudDialogflowCxV3beta1BargeInConfig; enableWordInfo?: boolean; model?: string; modelVariant?: | 'SPEECH_MODEL_VARIANT_UNSPECIFIED' | 'USE_BEST_AVAILABLE' | 'USE_STANDARD' | 'USE_ENHANCED'; optOutConformerModelMigration?: boolean; phraseHints?: string[]; sampleRateHertz?: number; singleUtterance?: boolean; } interface GoogleCloudDialogflowCxV3beta1Intent { description?: string; displayName?: string; dtmfPattern?: string; isFallback?: boolean; labels?: {[P in string]: string}; name?: string; parameters?: GoogleCloudDialogflowCxV3beta1IntentParameter[]; priority?: number; trainingPhrases?: GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase[]; } interface GoogleCloudDialogflowCxV3beta1IntentInput { intent?: string; } interface GoogleCloudDialogflowCxV3beta1IntentParameter { entityType?: string; id?: string; isList?: boolean; redact?: boolean; } interface GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase { id?: string; parts?: GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart[]; repeatCount?: number; } interface GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart { parameterId?: string; text?: string; } interface GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings { dataStoreConnections?: GoogleCloudDialogflowCxV3beta1DataStoreConnection[]; enabled?: boolean; targetFlow?: string; targetPage?: string; triggerFulfillment?: GoogleCloudDialogflowCxV3beta1Fulfillment; } interface GoogleCloudDialogflowCxV3beta1LanguageInfo { confidenceScore?: number; inputLanguageCode?: string; resolvedLanguageCode?: string; } interface GoogleCloudDialogflowCxV3beta1Page { advancedSettings?: GoogleCloudDialogflowCxV3beta1AdvancedSettings; description?: string; displayName?: string; entryFulfillment?: GoogleCloudDialogflowCxV3beta1Fulfillment; eventHandlers?: GoogleCloudDialogflowCxV3beta1EventHandler[]; form?: GoogleCloudDialogflowCxV3beta1Form; knowledgeConnectorSettings?: GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings; name?: string; transitionRouteGroups?: string[]; transitionRoutes?: GoogleCloudDialogflowCxV3beta1TransitionRoute[]; } interface GoogleCloudDialogflowCxV3beta1PageInfo { currentPage?: string; displayName?: string; formInfo?: GoogleCloudDialogflowCxV3beta1PageInfoFormInfo; } interface GoogleCloudDialogflowCxV3beta1PageInfoFormInfo { parameterInfo?: GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo[]; } interface GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo { displayName?: string; justCollected?: boolean; required?: boolean; state?: 'PARAMETER_STATE_UNSPECIFIED' | 'EMPTY' | 'INVALID' | 'FILLED'; value?: any; } interface GoogleCloudDialogflowCxV3beta1QueryInput { audio?: GoogleCloudDialogflowCxV3beta1AudioInput; dtmf?: GoogleCloudDialogflowCxV3beta1DtmfInput; event?: GoogleCloudDialogflowCxV3beta1EventInput; intent?: GoogleCloudDialogflowCxV3beta1IntentInput; languageCode?: string; text?: GoogleCloudDialogflowCxV3beta1TextInput; toolCallResult?: GoogleCloudDialogflowCxV3beta1ToolCallResult; } interface GoogleCloudDialogflowCxV3beta1ResponseMessage { channel?: string; conversationSuccess?: GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess; endInteraction?: any; knowledgeInfoCard?: any; liveAgentHandoff?: GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff; mixedAudio?: GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio; outputAudioText?: GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText; payload?: {[P in string]: any}; playAudio?: GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio; telephonyTransferCall?: GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall; text?: GoogleCloudDialogflowCxV3beta1ResponseMessageText; toolCall?: GoogleCloudDialogflowCxV3beta1ToolCall; } interface GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess { metadata?: {[P in string]: any}; } interface GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction {} interface GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard {} interface GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff { metadata?: {[P in string]: any}; } interface GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio { segments?: GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment[]; } interface GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment { allowPlaybackInterruption?: boolean; audio?: string; uri?: string; } interface GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText { allowPlaybackInterruption?: boolean; ssml?: string; text?: string; } interface GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio { allowPlaybackInterruption?: boolean; audioUri?: string; } interface GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall { phoneNumber?: string; } interface GoogleCloudDialogflowCxV3beta1ResponseMessageText { allowPlaybackInterruption?: boolean; text?: string[]; } interface GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata { errors?: GoogleCloudDialogflowCxV3beta1TestError[]; } interface GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse { continuousTestResult?: GoogleCloudDialogflowCxV3beta1ContinuousTestResult; } interface GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata {} interface GoogleCloudDialogflowCxV3beta1RunTestCaseResponse { result?: GoogleCloudDialogflowCxV3beta1TestCaseResult; } interface GoogleCloudDialogflowCxV3beta1SessionInfo { parameters?: {[P in string]: any}; session?: string; } interface GoogleCloudDialogflowCxV3beta1TestCase { creationTime?: string; displayName?: string; lastTestResult?: GoogleCloudDialogflowCxV3beta1TestCaseResult; name?: string; notes?: string; tags?: string[]; testCaseConversationTurns?: GoogleCloudDialogflowCxV3beta1ConversationTurn[]; testConfig?: GoogleCloudDialogflowCxV3beta1TestConfig; } interface GoogleCloudDialogflowCxV3beta1TestCaseError { status?: GoogleRpcStatus; testCase?: GoogleCloudDialogflowCxV3beta1TestCase; } interface GoogleCloudDialogflowCxV3beta1TestCaseResult { conversationTurns?: GoogleCloudDialogflowCxV3beta1ConversationTurn[]; environment?: string; name?: string; testResult?: 'TEST_RESULT_UNSPECIFIED' | 'PASSED' | 'FAILED'; testTime?: string; } interface GoogleCloudDialogflowCxV3beta1TestConfig { flow?: string; page?: string; trackingParameters?: string[]; } interface GoogleCloudDialogflowCxV3beta1TestError { status?: GoogleRpcStatus; testCase?: string; testTime?: string; } interface GoogleCloudDialogflowCxV3beta1TestRunDifference { description?: string; type?: | 'DIFF_TYPE_UNSPECIFIED' | 'INTENT' | 'PAGE' | 'PARAMETERS' | 'UTTERANCE' | 'FLOW'; } interface GoogleCloudDialogflowCxV3beta1TextInput { text?: string; } interface GoogleCloudDialogflowCxV3beta1ToolCall { action?: string; inputParameters?: {[P in string]: any}; tool?: string; } interface GoogleCloudDialogflowCxV3beta1ToolCallResult { action?: string; error?: GoogleCloudDialogflowCxV3beta1ToolCallResultError; outputParameters?: {[P in string]: any}; tool?: string; } interface GoogleCloudDialogflowCxV3beta1ToolCallResultError { message?: string; } interface GoogleCloudDialogflowCxV3beta1TransitionRoute { condition?: string; description?: string; intent?: string; name?: string; targetFlow?: string; targetPage?: string; triggerFulfillment?: GoogleCloudDialogflowCxV3beta1Fulfillment; } interface GoogleCloudDialogflowCxV3beta1TurnSignals { agentEscalated?: boolean; dtmfUsed?: boolean; failureReasons?: 'FAILURE_REASON_UNSPECIFIED' | 'FAILED_INTENT' | 'FAILED_WEBHOOK'[]; noMatch?: boolean; noUserInput?: boolean; reachedEndPage?: boolean; sentimentMagnitude?: number; sentimentScore?: number; userEscalated?: boolean; webhookStatuses?: string[]; } interface GoogleCloudDialogflowCxV3beta1Webhook { disabled?: boolean; displayName?: string; genericWebService?: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService; name?: string; serviceDirectory?: GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig; timeout?: string; } interface GoogleCloudDialogflowCxV3beta1WebhookGenericWebService { allowedCaCerts?: string[]; httpMethod?: | 'HTTP_METHOD_UNSPECIFIED' | 'POST' | 'GET' | 'HEAD' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS'; oauthConfig?: GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig; parameterMapping?: {[P in string]: string}; password?: string; requestBody?: string; requestHeaders?: {[P in string]: string}; secretVersionForUsernamePassword?: string; secretVersionsForRequestHeaders?: { [ P in string ]: GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue; }; serviceAccountAuthConfig?: GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig; serviceAgentAuth?: 'SERVICE_AGENT_AUTH_UNSPECIFIED' | 'NONE' | 'ID_TOKEN' | 'ACCESS_TOKEN'; uri?: string; username?: string; webhookType?: 'WEBHOOK_TYPE_UNSPECIFIED' | 'STANDARD' | 'FLEXIBLE'; } interface GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig { clientId?: string; clientSecret?: string; scopes?: string[]; secretVersionForClientSecret?: string; tokenEndpoint?: string; } interface GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue { secretVersion?: string; } interface GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig { serviceAccount?: string; } interface GoogleCloudDialogflowCxV3beta1WebhookRequest { detectIntentResponseId?: string; dtmfDigits?: string; fulfillmentInfo?: GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo; intentInfo?: GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo; languageCode?: string; languageInfo?: GoogleCloudDialogflowCxV3beta1LanguageInfo; messages?: GoogleCloudDialogflowCxV3beta1ResponseMessage[]; pageInfo?: GoogleCloudDialogflowCxV3beta1PageInfo; payload?: {[P in string]: any}; sentimentAnalysisResult?: GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult; sessionInfo?: GoogleCloudDialogflowCxV3beta1SessionInfo; text?: string; transcript?: string; triggerEvent?: string; triggerIntent?: string; } interface GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo { tag?: string; } interface GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo { confidence?: number; displayName?: string; lastMatchedIntent?: string; parameters?: { [ P in string ]: GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue; }; } interface GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue { originalValue?: string; resolvedValue?: any; } interface GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult { magnitude?: number; score?: number; } interface GoogleCloudDialogflowCxV3beta1WebhookResponse { fulfillmentResponse?: GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse; pageInfo?: GoogleCloudDialogflowCxV3beta1PageInfo; payload?: {[P in string]: any}; sessionInfo?: GoogleCloudDialogflowCxV3beta1SessionInfo; targetFlow?: string; targetPage?: string; } interface GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse { mergeBehavior?: 'MERGE_BEHAVIOR_UNSPECIFIED' | 'APPEND' | 'REPLACE'; messages?: GoogleCloudDialogflowCxV3beta1ResponseMessage[]; } interface GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig { genericWebService?: GoogleCloudDialogflowCxV3beta1WebhookGenericWebService; service?: string; } interface GoogleCloudDialogflowCxV3ContinuousTestResult { name?: string; result?: 'AGGREGATED_TEST_RESULT_UNSPECIFIED' | 'PASSED' | 'FAILED'; runTime?: string; testCaseResults?: string[]; } interface GoogleCloudDialogflowCxV3ConversationSignals { turnSignals?: GoogleCloudDialogflowCxV3TurnSignals; } interface GoogleCloudDialogflowCxV3ConversationTurn { userInput?: GoogleCloudDialogflowCxV3ConversationTurnUserInput; virtualAgentOutput?: GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput; } interface GoogleCloudDialogflowCxV3ConversationTurnUserInput { enableSentimentAnalysis?: boolean; injectedParameters?: {[P in string]: any}; input?: GoogleCloudDialogflowCxV3QueryInput; isWebhookEnabled?: boolean; } interface GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput { currentPage?: GoogleCloudDialogflowCxV3Page; diagnosticInfo?: {[P in string]: any}; differences?: GoogleCloudDialogflowCxV3TestRunDifference[]; sessionParameters?: {[P in string]: any}; status?: GoogleRpcStatus; textResponses?: GoogleCloudDialogflowCxV3ResponseMessageText[]; triggeredIntent?: GoogleCloudDialogflowCxV3Intent; } interface GoogleCloudDialogflowCxV3CreateVersionOperationMetadata { version?: string; } interface GoogleCloudDialogflowCxV3DataStoreConnection { dataStore?: string; dataStoreType?: | 'DATA_STORE_TYPE_UNSPECIFIED' | 'PUBLIC_WEB' | 'UNSTRUCTURED' | 'STRUCTURED'; documentProcessingMode?: 'DOCUMENT_PROCESSING_MODE_UNSPECIFIED' | 'DOCUMENTS' | 'CHUNKS'; } interface GoogleCloudDialogflowCxV3DeployFlowMetadata { testErrors?: GoogleCloudDialogflowCxV3TestError[]; } interface GoogleCloudDialogflowCxV3DeployFlowResponse { deployment?: string; environment?: GoogleCloudDialogflowCxV3Environment; } interface GoogleCloudDialogflowCxV3DtmfInput { digits?: string; finishDigit?: string; } interface GoogleCloudDialogflowCxV3Environment { description?: string; displayName?: string; name?: string; testCasesConfig?: GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig; updateTime?: string; versionConfigs?: GoogleCloudDialogflowCxV3EnvironmentVersionConfig[]; webhookConfig?: GoogleCloudDialogflowCxV3EnvironmentWebhookConfig; } interface GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig { enableContinuousRun?: boolean; enablePredeploymentRun?: boolean; testCases?: string[]; } interface GoogleCloudDialogflowCxV3EnvironmentVersionConfig { version?: string; } interface GoogleCloudDialogflowCxV3EnvironmentWebhookConfig { webhookOverrides?: GoogleCloudDialogflowCxV3Webhook[]; } interface GoogleCloudDialogflowCxV3EventHandler { event?: string; name?: string; targetFlow?: string; targetPage?: string; targetPlaybook?: string; triggerFulfillment?: GoogleCloudDialogflowCxV3Fulfillment; } interface GoogleCloudDialogflowCxV3EventInput { event?: string; } interface GoogleCloudDialogflowCxV3ExportAgentResponse { agentContent?: string; agentUri?: string; commitSha?: string; } interface GoogleCloudDialogflowCxV3ExportEntityTypesMetadata {} interface GoogleCloudDialogflowCxV3ExportEntityTypesResponse { entityTypesContent?: GoogleCloudDialogflowCxV3InlineDestination; entityTypesUri?: string; } interface GoogleCloudDialogflowCxV3ExportFlowResponse { flowContent?: string; flowUri?: string; } interface GoogleCloudDialogflowCxV3ExportIntentsMetadata {} interface GoogleCloudDialogflowCxV3ExportIntentsResponse { intentsContent?: GoogleCloudDialogflowCxV3InlineDestination; intentsUri?: string; } interface GoogleCloudDialogflowCxV3ExportTestCasesMetadata {} interface GoogleCloudDialogflowCxV3ExportTestCasesResponse { content?: string; gcsUri?: string; } interface GoogleCloudDialogflowCxV3Form { parameters?: GoogleCloudDialogflowCxV3FormParameter[]; } interface GoogleCloudDialogflowCxV3FormParameter { advancedSettings?: GoogleCloudDialogflowCxV3AdvancedSettings; defaultValue?: any; displayName?: string; entityType?: string; fillBehavior?: GoogleCloudDialogflowCxV3FormParameterFillBehavior; isList?: boolean; redact?: boolean; required?: boolean; } interface GoogleCloudDialogflowCxV3FormParameterFillBehavior { initialPromptFulfillment?: GoogleCloudDialogflowCxV3Fulfillment; repromptEventHandlers?: GoogleCloudDialogflowCxV3EventHandler[]; } interface GoogleCloudDialogflowCxV3Fulfillment { advancedSettings?: GoogleCloudDialogflowCxV3AdvancedSettings; conditionalCases?: GoogleCloudDialogflowCxV3FulfillmentConditionalCases[]; enableGenerativeFallback?: boolean; generators?: GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings[]; messages?: GoogleCloudDialogflowCxV3ResponseMessage[]; returnPartialResponses?: boolean; setParameterActions?: GoogleCloudDialogflowCxV3FulfillmentSetParameterAction[]; tag?: string; webhook?: string; } interface GoogleCloudDialogflowCxV3FulfillmentConditionalCases { cases?: GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase[]; } interface GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase { caseContent?: GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent[]; condition?: string; } interface GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent { additionalCases?: GoogleCloudDialogflowCxV3FulfillmentConditionalCases; message?: GoogleCloudDialogflowCxV3ResponseMessage; } interface GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings { generator?: string; inputParameters?: {[P in string]: string}; outputParameter?: string; } interface GoogleCloudDialogflowCxV3FulfillmentSetParameterAction { parameter?: string; value?: any; } interface GoogleCloudDialogflowCxV3GcsDestination { uri?: string; } interface GoogleCloudDialogflowCxV3ImportEntityTypesMetadata {} interface GoogleCloudDialogflowCxV3ImportEntityTypesResponse { conflictingResources?: GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources; entityTypes?: string[]; } interface GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources { entityDisplayNames?: string[]; entityTypeDisplayNames?: string[]; } interface GoogleCloudDialogflowCxV3ImportFlowResponse { flow?: string; } interface GoogleCloudDialogflowCxV3ImportIntentsMetadata {} interface GoogleCloudDialogflowCxV3ImportIntentsResponse { conflictingResources?: GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources; intents?: string[]; } interface GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources { entityDisplayNames?: string[]; intentDisplayNames?: string[]; } interface GoogleCloudDialogflowCxV3ImportTestCasesMetadata { errors?: GoogleCloudDialogflowCxV3TestCaseError[]; } interface GoogleCloudDialogflowCxV3ImportTestCasesResponse { names?: string[]; } interface GoogleCloudDialogflowCxV3InlineDestination { content?: string; } interface GoogleCloudDialogflowCxV3InputAudioConfig { audioEncoding?: | 'AUDIO_ENCODING_UNSPECIFIED' | 'AUDIO_ENCODING_LINEAR_16' | 'AUDIO_ENCODING_FLAC' | 'AUDIO_ENCODING_MULAW' | 'AUDIO_ENCODING_AMR' | 'AUDIO_ENCODING_AMR_WB' | 'AUDIO_ENCODING_OGG_OPUS' | 'AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE' | 'AUDIO_ENCODING_ALAW'; bargeInConfig?: GoogleCloudDialogflowCxV3BargeInConfig; enableWordInfo?: boolean; model?: string; modelVariant?: | 'SPEECH_MODEL_VARIANT_UNSPECIFIED' | 'USE_BEST_AVAILABLE' | 'USE_STANDARD' | 'USE_ENHANCED'; optOutConformerModelMigration?: boolean; phraseHints?: string[]; sampleRateHertz?: number; singleUtterance?: boolean; } interface GoogleCloudDialogflowCxV3Intent { description?: string; displayName?: string; dtmfPattern?: string; isFallback?: boolean; labels?: {[P in string]: string}; name?: string; parameters?: GoogleCloudDialogflowCxV3IntentParameter[]; priority?: number; trainingPhrases?: GoogleCloudDialogflowCxV3IntentTrainingPhrase[]; } interface GoogleCloudDialogflowCxV3IntentInput { intent?: string; } interface GoogleCloudDialogflowCxV3IntentParameter { entityType?: string; id?: string; isList?: boolean; redact?: boolean; } interface GoogleCloudDialogflowCxV3IntentTrainingPhrase { id?: string; parts?: GoogleCloudDialogflowCxV3IntentTrainingPhrasePart[]; repeatCount?: number; } interface GoogleCloudDialogflowCxV3IntentTrainingPhrasePart { parameterId?: string; text?: string; } interface GoogleCloudDialogflowCxV3KnowledgeConnectorSettings { dataStoreConnections?: GoogleCloudDialogflowCxV3DataStoreConnection[]; enabled?: boolean; targetFlow?: string; targetPage?: string; triggerFulfillment?: GoogleCloudDialogflowCxV3Fulfillment; } interface GoogleCloudDialogflowCxV3LanguageInfo { confidenceScore?: number; inputLanguageCode?: string; resolvedLanguageCode?: string; } interface GoogleCloudDialogflowCxV3Page { advancedSettings?: GoogleCloudDialogflowCxV3AdvancedSettings; description?: string; displayName?: string; entryFulfillment?: GoogleCloudDialogflowCxV3Fulfillment; eventHandlers?: GoogleCloudDialogflowCxV3EventHandler[]; form?: GoogleCloudDialogflowCxV3Form; knowledgeConnectorSettings?: GoogleCloudDialogflowCxV3KnowledgeConnectorSettings; name?: string; transitionRouteGroups?: string[]; transitionRoutes?: GoogleCloudDialogflowCxV3TransitionRoute[]; } interface GoogleCloudDialogflowCxV3PageInfo { currentPage?: string; displayName?: string; formInfo?: GoogleCloudDialogflowCxV3PageInfoFormInfo; } interface GoogleCloudDialogflowCxV3PageInfoFormInfo { parameterInfo?: GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo[]; } interface GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo { displayName?: string; justCollected?: boolean; required?: boolean; state?: 'PARAMETER_STATE_UNSPECIFIED' | 'EMPTY' | 'INVALID' | 'FILLED'; value?: any; } interface GoogleCloudDialogflowCxV3QueryInput { audio?: GoogleCloudDialogflowCxV3AudioInput; dtmf?: GoogleCloudDialogflowCxV3DtmfInput; event?: GoogleCloudDialogflowCxV3EventInput; intent?: GoogleCloudDialogflowCxV3IntentInput; languageCode?: string; text?: GoogleCloudDialogflowCxV3TextInput; toolCallResult?: GoogleCloudDialogflowCxV3ToolCallResult; } interface GoogleCloudDialogflowCxV3ResponseMessage { channel?: string; conversationSuccess?: GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess; endInteraction?: any; knowledgeInfoCard?: any; liveAgentHandoff?: GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff; mixedAudio?: GoogleCloudDialogflowCxV3ResponseMessageMixedAudio; outputAudioText?: GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText; payload?: {[P in string]: any}; playAudio?: GoogleCloudDialogflowCxV3ResponseMessagePlayAudio; responseType?: | 'RESPONSE_TYPE_UNSPECIFIED' | 'ENTRY_PROMPT' | 'PARAMETER_PROMPT' | 'HANDLER_PROMPT'; telephonyTransferCall?: GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall; text?: GoogleCloudDialogflowCxV3ResponseMessageText; toolCall?: GoogleCloudDialogflowCxV3ToolCall; } interface GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess { metadata?: {[P in string]: any}; } interface GoogleCloudDialogflowCxV3ResponseMessageEndInteraction {} interface GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard {} interface GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff { metadata?: {[P in string]: any}; } interface GoogleCloudDialogflowCxV3ResponseMessageMixedAudio { segments?: GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment[]; } interface GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment { allowPlaybackInterruption?: boolean; audio?: string; uri?: string; } interface GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText { allowPlaybackInterruption?: boolean; ssml?: string; text?: string; } interface GoogleCloudDialogflowCxV3ResponseMessagePlayAudio { allowPlaybackInterruption?: boolean; audioUri?: string; } interface GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall { phoneNumber?: string; } interface GoogleCloudDialogflowCxV3ResponseMessageText { allowPlaybackInterruption?: boolean; text?: string[]; } interface GoogleCloudDialogflowCxV3RunContinuousTestMetadata { errors?: GoogleCloudDialogflowCxV3TestError[]; } interface GoogleCloudDialogflowCxV3RunContinuousTestResponse { continuousTestResult?: GoogleCloudDialogflowCxV3ContinuousTestResult; } interface GoogleCloudDialogflowCxV3RunTestCaseMetadata {} interface GoogleCloudDialogflowCxV3RunTestCaseResponse { result?: GoogleCloudDialogflowCxV3TestCaseResult; } interface GoogleCloudDialogflowCxV3SessionInfo { parameters?: {[P in string]: any}; session?: string; } interface GoogleCloudDialogflowCxV3TestCase { creationTime?: string; displayName?: string; lastTestResult?: GoogleCloudDialogflowCxV3TestCaseResult; name?: string; notes?: string; tags?: string[]; testCaseConversationTurns?: GoogleCloudDialogflowCxV3ConversationTurn[]; testConfig?: GoogleCloudDialogflowCxV3TestConfig; } interface GoogleCloudDialogflowCxV3TestCaseError { status?: GoogleRpcStatus; testCase?: GoogleCloudDialogflowCxV3TestCase; } interface GoogleCloudDialogflowCxV3TestCaseResult { conversationTurns?: GoogleCloudDialogflowCxV3ConversationTurn[]; environment?: string; name?: string; testResult?: 'TEST_RESULT_UNSPECIFIED' | 'PASSED' | 'FAILED'; testTime?: string; } interface GoogleCloudDialogflowCxV3TestConfig { flow?: string; page?: string; trackingParameters?: string[]; } interface GoogleCloudDialogflowCxV3TestError { status?: GoogleRpcStatus; testCase?: string; testTime?: string; } interface GoogleCloudDialogflowCxV3TestRunDifference { description?: string; type?: | 'DIFF_TYPE_UNSPECIFIED' | 'INTENT' | 'PAGE' | 'PARAMETERS' | 'UTTERANCE' | 'FLOW'; } interface GoogleCloudDialogflowCxV3TextInput { text?: string; } interface GoogleCloudDialogflowCxV3ToolCall { action?: string; inputParameters?: {[P in string]: any}; tool?: string; } interface GoogleCloudDialogflowCxV3ToolCallResult { action?: string; error?: GoogleCloudDialogflowCxV3ToolCallResultError; outputParameters?: {[P in string]: any}; tool?: string; } interface GoogleCloudDialogflowCxV3ToolCallResultError { message?: string; } interface GoogleCloudDialogflowCxV3TransitionRoute { condition?: string; description?: string; intent?: string; name?: string; targetFlow?: string; targetPage?: string; triggerFulfillment?: GoogleCloudDialogflowCxV3Fulfillment; } interface GoogleCloudDialogflowCxV3TurnSignals { agentEscalated?: boolean; dtmfUsed?: boolean; failureReasons?: 'FAILURE_REASON_UNSPECIFIED' | 'FAILED_INTENT' | 'FAILED_WEBHOOK'[]; noMatch?: boolean; noUserInput?: boolean; reachedEndPage?: boolean; sentimentMagnitude?: number; sentimentScore?: number; userEscalated?: boolean; webhookStatuses?: string[]; } interface GoogleCloudDialogflowCxV3Webhook { disabled?: boolean; displayName?: string; genericWebService?: GoogleCloudDialogflowCxV3WebhookGenericWebService; name?: string; serviceDirectory?: GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig; timeout?: string; } interface GoogleCloudDialogflowCxV3WebhookGenericWebService { allowedCaCerts?: string[]; httpMethod?: | 'HTTP_METHOD_UNSPECIFIED' | 'POST' | 'GET' | 'HEAD' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS'; oauthConfig?: GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig; parameterMapping?: {[P in string]: string}; password?: string; requestBody?: string; requestHeaders?: {[P in string]: string}; secretVersionForUsernamePassword?: string; secretVersionsForRequestHeaders?: { [ P in string ]: GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue; }; serviceAccountAuthConfig?: GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig; serviceAgentAuth?: 'SERVICE_AGENT_AUTH_UNSPECIFIED' | 'NONE' | 'ID_TOKEN' | 'ACCESS_TOKEN'; uri?: string; username?: string; webhookType?: 'WEBHOOK_TYPE_UNSPECIFIED' | 'STANDARD' | 'FLEXIBLE'; } interface GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig { clientId?: string; clientSecret?: string; scopes?: string[]; secretVersionForClientSecret?: string; tokenEndpoint?: string; } interface GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue { secretVersion?: string; } interface GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig { serviceAccount?: string; } interface GoogleCloudDialogflowCxV3WebhookRequest { detectIntentResponseId?: string; dtmfDigits?: string; fulfillmentInfo?: GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo; intentInfo?: GoogleCloudDialogflowCxV3WebhookRequestIntentInfo; languageCode?: string; languageInfo?: GoogleCloudDialogflowCxV3LanguageInfo; messages?: GoogleCloudDialogflowCxV3ResponseMessage[]; pageInfo?: GoogleCloudDialogflowCxV3PageInfo; payload?: {[P in string]: any}; sentimentAnalysisResult?: GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult; sessionInfo?: GoogleCloudDialogflowCxV3SessionInfo; text?: string; transcript?: string; triggerEvent?: string; triggerIntent?: string; } interface GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo { tag?: string; } interface GoogleCloudDialogflowCxV3WebhookRequestIntentInfo { confidence?: number; displayName?: string; lastMatchedIntent?: string; parameters?: { [ P in string ]: GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue; }; } interface GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue { originalValue?: string; resolvedValue?: any; } interface GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult { magnitude?: number; score?: number; } interface GoogleCloudDialogflowCxV3WebhookResponse { fulfillmentResponse?: GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse; pageInfo?: GoogleCloudDialogflowCxV3PageInfo; payload?: {[P in string]: any}; sessionInfo?: GoogleCloudDialogflowCxV3SessionInfo; targetFlow?: string; targetPage?: string; } interface GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse { mergeBehavior?: 'MERGE_BEHAVIOR_UNSPECIFIED' | 'APPEND' | 'REPLACE'; messages?: GoogleCloudDialogflowCxV3ResponseMessage[]; } interface GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig { genericWebService?: GoogleCloudDialogflowCxV3WebhookGenericWebService; service?: string; } interface GoogleCloudDialogflowV2Agent { apiVersion?: | 'API_VERSION_UNSPECIFIED' | 'API_VERSION_V1' | 'API_VERSION_V2' | 'API_VERSION_V2_BETA_1'; avatarUri?: string; classificationThreshold?: number; defaultLanguageCode?: string; description?: string; displayName?: string; enableLogging?: boolean; matchMode?: 'MATCH_MODE_UNSPECIFIED' | 'MATCH_MODE_HYBRID' | 'MATCH_MODE_ML_ONLY'; parent?: string; supportedLanguageCodes?: string[]; tier?: | 'TIER_UNSPECIFIED' | 'TIER_STANDARD' | 'TIER_ENTERPRISE' | 'TIER_ENTERPRISE_PLUS'; timeZone?: string; } interface GoogleCloudDialogflowV2AgentAssistantFeedback { answerRelevance?: 'ANSWER_RELEVANCE_UNSPECIFIED' | 'IRRELEVANT' | 'RELEVANT'; documentCorrectness?: 'DOCUMENT_CORRECTNESS_UNSPECIFIED' | 'INCORRECT' | 'CORRECT'; documentEfficiency?: 'DOCUMENT_EFFICIENCY_UNSPECIFIED' | 'INEFFICIENT' | 'EFFICIENT'; knowledgeAssistFeedback?: GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback; knowledgeSearchFeedback?: GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback; summarizationFeedback?: GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback; } interface GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback { answerCopied?: boolean; clickedUris?: string[]; } interface GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback { answerCopied?: boolean; clickedUris?: string[]; } interface GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback { startTime?: string; submitTime?: string; summaryText?: string; textSections?: {[P in string]: string}; } interface GoogleCloudDialogflowV2AgentAssistantRecord { articleSuggestionAnswer?: GoogleCloudDialogflowV2ArticleAnswer; dialogflowAssistAnswer?: GoogleCloudDialogflowV2DialogflowAssistAnswer; faqAnswer?: GoogleCloudDialogflowV2FaqAnswer; generatorSuggestion?: GoogleCloudDialogflowV2GeneratorSuggestion; } interface GoogleCloudDialogflowV2AgentCoachingContext { instructions?: GoogleCloudDialogflowV2AgentCoachingInstruction[]; outputLanguageCode?: string; overarchingGuidance?: string; version?: string; } interface GoogleCloudDialogflowV2AgentCoachingInstruction { agentAction?: string; condition?: string; displayDetails?: string; displayName?: string; duplicateCheckResult?: GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult; systemAction?: string; triggeringEvent?: | 'TRIGGER_EVENT_UNSPECIFIED' | 'END_OF_UTTERANCE' | 'MANUAL_CALL' | 'CUSTOMER_MESSAGE' | 'AGENT_MESSAGE' | 'TOOL_CALL_COMPLETION'; } interface GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult { duplicateSuggestions?: GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion[]; } interface GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion { answerRecord?: string; similarityScore?: number; suggestionIndex?: number; } interface GoogleCloudDialogflowV2AgentCoachingSuggestion { agentActionSuggestions?: GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion[]; applicableInstructions?: GoogleCloudDialogflowV2AgentCoachingInstruction[]; sampleResponses?: GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse[]; } interface GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion { agentAction?: string; duplicateCheckResult?: GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult; sources?: GoogleCloudDialogflowV2AgentCoachingSuggestionSources; } interface GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult { duplicateSuggestions?: GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion[]; } interface GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion { answerRecord?: string; similarityScore?: number; sources?: GoogleCloudDialogflowV2AgentCoachingSuggestionSources; suggestionIndex?: number; } interface GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse { duplicateCheckResult?: GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult; responseText?: string; sources?: GoogleCloudDialogflowV2AgentCoachingSuggestionSources; } interface GoogleCloudDialogflowV2AgentCoachingSuggestionSources { instructionIndexes?: number[]; } interface GoogleCloudDialogflowV2AnalyzeContentRequest { assistQueryParams?: GoogleCloudDialogflowV2AssistQueryParameters; audioInput?: GoogleCloudDialogflowV2AudioInput; cxParameters?: {[P in string]: any}; eventInput?: GoogleCloudDialogflowV2EventInput; queryParams?: GoogleCloudDialogflowV2QueryParameters; replyAudioConfig?: GoogleCloudDialogflowV2OutputAudioConfig; requestId?: string; suggestionInput?: GoogleCloudDialogflowV2SuggestionInput; textInput?: GoogleCloudDialogflowV2TextInput; } interface GoogleCloudDialogflowV2AnalyzeContentResponse { automatedAgentReply?: GoogleCloudDialogflowV2AutomatedAgentReply; dtmfParameters?: GoogleCloudDialogflowV2DtmfParameters; endUserSuggestionResults?: GoogleCloudDialogflowV2SuggestionResult[]; humanAgentSuggestionResults?: GoogleCloudDialogflowV2SuggestionResult[]; message?: GoogleCloudDialogflowV2Message; replyAudio?: GoogleCloudDialogflowV2OutputAudio; replyText?: string; } interface GoogleCloudDialogflowV2AnnotatedMessagePart { entityType?: string; formattedValue?: any; text?: string; } interface GoogleCloudDialogflowV2AnswerFeedback { agentAssistantDetailFeedback?: GoogleCloudDialogflowV2AgentAssistantFeedback; clicked?: boolean; clickTime?: string; correctnessLevel?: | 'CORRECTNESS_LEVEL_UNSPECIFIED' | 'NOT_CORRECT' | 'PARTIALLY_CORRECT' | 'FULLY_CORRECT'; displayed?: boolean; displayTime?: string; } interface GoogleCloudDialogflowV2AnswerRecord { agentAssistantRecord?: GoogleCloudDialogflowV2AgentAssistantRecord; answerFeedback?: GoogleCloudDialogflowV2AnswerFeedback; name?: string; } interface GoogleCloudDialogflowV2ArticleAnswer { answerRecord?: string; confidence?: number; metadata?: {[P in string]: string}; snippets?: string[]; title?: string; uri?: string; } interface GoogleCloudDialogflowV2ArticleSuggestionModelMetadata { trainingModelType?: | 'MODEL_TYPE_UNSPECIFIED' | 'SMART_REPLY_DUAL_ENCODER_MODEL' | 'SMART_REPLY_BERT_MODEL'; } interface GoogleCloudDialogflowV2AssistQueryParameters { documentsMetadataFilters?: {[P in string]: string}; } interface GoogleCloudDialogflowV2AudioInput { audio?: string; config?: GoogleCloudDialogflowV2InputAudioConfig; } interface GoogleCloudDialogflowV2AutomatedAgentConfig { agent?: string; sessionTtl?: string; } interface GoogleCloudDialogflowV2AutomatedAgentReply { allowCancellation?: boolean; automatedAgentReplyType?: 'AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED' | 'PARTIAL' | 'FINAL'; cxCurrentPage?: string; detectIntentResponse?: GoogleCloudDialogflowV2DetectIntentResponse; } interface GoogleCloudDialogflowV2BatchCreateEntitiesRequest { entities?: GoogleCloudDialogflowV2EntityTypeEntity[]; languageCode?: string; } interface GoogleCloudDialogflowV2BatchDeleteEntitiesRequest { entityValues?: string[]; languageCode?: string; } interface GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest { entityTypeNames?: string[]; } interface GoogleCloudDialogflowV2BatchDeleteIntentsRequest { intents?: GoogleCloudDialogflowV2Intent[]; } interface GoogleCloudDialogflowV2BatchUpdateEntitiesRequest { entities?: GoogleCloudDialogflowV2EntityTypeEntity[]; languageCode?: string; updateMask?: string; } interface GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest { entityTypeBatchInline?: GoogleCloudDialogflowV2EntityTypeBatch; entityTypeBatchUri?: string; languageCode?: string; updateMask?: string; } interface GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse { entityTypes?: GoogleCloudDialogflowV2EntityType[]; } interface GoogleCloudDialogflowV2BatchUpdateIntentsRequest { intentBatchInline?: GoogleCloudDialogflowV2IntentBatch; intentBatchUri?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; languageCode?: string; updateMask?: string; } interface GoogleCloudDialogflowV2BatchUpdateIntentsResponse { intents?: GoogleCloudDialogflowV2Intent[]; } interface GoogleCloudDialogflowV2beta1AgentCoachingInstruction { agentAction?: string; condition?: string; displayDetails?: string; displayName?: string; duplicateCheckResult?: GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult; systemAction?: string; triggeringEvent?: | 'TRIGGER_EVENT_UNSPECIFIED' | 'END_OF_UTTERANCE' | 'MANUAL_CALL' | 'CUSTOMER_MESSAGE' | 'AGENT_MESSAGE' | 'TOOL_CALL_COMPLETION'; } interface GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult { duplicateSuggestions?: GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion[]; } interface GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion { answerRecord?: string; similarityScore?: number; suggestionIndex?: number; } interface GoogleCloudDialogflowV2beta1AgentCoachingSuggestion { agentActionSuggestions?: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion[]; applicableInstructions?: GoogleCloudDialogflowV2beta1AgentCoachingInstruction[]; sampleResponses?: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse[]; } interface GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion { agentAction?: string; duplicateCheckResult?: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult; sources?: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources; } interface GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult { duplicateSuggestions?: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion[]; } interface GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion { answerRecord?: string; similarityScore?: number; sources?: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources; suggestionIndex?: number; } interface GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse { duplicateCheckResult?: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult; responseText?: string; sources?: GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources; } interface GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources { instructionIndexes?: number[]; } interface GoogleCloudDialogflowV2beta1AnnotatedMessagePart { entityType?: string; formattedValue?: any; text?: string; } interface GoogleCloudDialogflowV2beta1ArticleAnswer { answerRecord?: string; metadata?: {[P in string]: string}; snippets?: string[]; title?: string; uri?: string; } interface GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse { entityTypes?: GoogleCloudDialogflowV2beta1EntityType[]; } interface GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse { intents?: GoogleCloudDialogflowV2beta1Intent[]; } interface GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata { conversationProfile?: string; createTime?: string; participantRole?: 'ROLE_UNSPECIFIED' | 'HUMAN_AGENT' | 'AUTOMATED_AGENT' | 'END_USER'; suggestionFeatureType?: | 'TYPE_UNSPECIFIED' | 'ARTICLE_SUGGESTION' | 'FAQ' | 'SMART_REPLY' | 'DIALOGFLOW_ASSIST' | 'CONVERSATION_SUMMARIZATION' | 'KNOWLEDGE_SEARCH' | 'KNOWLEDGE_ASSIST'; } interface GoogleCloudDialogflowV2beta1Context { lifespanCount?: number; name?: string; parameters?: {[P in string]: any}; } interface GoogleCloudDialogflowV2beta1ConversationEvent { conversation?: string; errorStatus?: GoogleRpcStatus; newMessagePayload?: GoogleCloudDialogflowV2beta1Message; newRecognitionResultPayload?: GoogleCloudDialogflowV2beta1StreamingRecognitionResult; type?: | 'TYPE_UNSPECIFIED' | 'CONVERSATION_STARTED' | 'CONVERSATION_FINISHED' | 'HUMAN_INTERVENTION_NEEDED' | 'NEW_MESSAGE' | 'NEW_RECOGNITION_RESULT' | 'UNRECOVERABLE_ERROR'; } interface GoogleCloudDialogflowV2beta1DialogflowAssistAnswer { answerRecord?: string; intentSuggestion?: GoogleCloudDialogflowV2beta1IntentSuggestion; queryResult?: GoogleCloudDialogflowV2beta1QueryResult; } interface GoogleCloudDialogflowV2beta1EncryptionSpec { kmsKey?: string; name?: string; } interface GoogleCloudDialogflowV2beta1EntityType { autoExpansionMode?: 'AUTO_EXPANSION_MODE_UNSPECIFIED' | 'AUTO_EXPANSION_MODE_DEFAULT'; displayName?: string; enableFuzzyExtraction?: boolean; entities?: GoogleCloudDialogflowV2beta1EntityTypeEntity[]; kind?: 'KIND_UNSPECIFIED' | 'KIND_MAP' | 'KIND_LIST' | 'KIND_REGEXP'; name?: string; } interface GoogleCloudDialogflowV2beta1EntityTypeEntity { synonyms?: string[]; value?: string; } interface GoogleCloudDialogflowV2beta1EventInput { languageCode?: string; name?: string; parameters?: {[P in string]: any}; } interface GoogleCloudDialogflowV2beta1ExportAgentResponse { agentContent?: string; agentUri?: string; } interface GoogleCloudDialogflowV2beta1ExportOperationMetadata { exportedGcsDestination?: GoogleCloudDialogflowV2beta1GcsDestination; } interface GoogleCloudDialogflowV2beta1FaqAnswer { answer?: string; answerRecord?: string; confidence?: number; metadata?: {[P in string]: string}; question?: string; source?: string; } interface GoogleCloudDialogflowV2beta1FreeFormSuggestion { response?: string; } interface GoogleCloudDialogflowV2beta1GcsDestination { uri?: string; } interface GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse { generatorSuggestionAnswers?: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer[]; latestMessage?: string; } interface GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer { answerRecord?: string; generatorSuggestion?: GoogleCloudDialogflowV2beta1GeneratorSuggestion; sourceGenerator?: string; } interface GoogleCloudDialogflowV2beta1GeneratorSuggestion { agentCoachingSuggestion?: GoogleCloudDialogflowV2beta1AgentCoachingSuggestion; freeFormSuggestion?: GoogleCloudDialogflowV2beta1FreeFormSuggestion; summarySuggestion?: GoogleCloudDialogflowV2beta1SummarySuggestion; toolCallInfo?: GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo[]; } interface GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo { toolCall?: GoogleCloudDialogflowV2beta1ToolCall; toolCallResult?: GoogleCloudDialogflowV2beta1ToolCallResult; } interface GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent { conversation?: string; participant?: string; suggestionResults?: GoogleCloudDialogflowV2beta1SuggestionResult[]; } interface GoogleCloudDialogflowV2beta1ImportDocumentsResponse { warnings?: GoogleRpcStatus[]; } interface GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo { contextReferenceRetrieved?: boolean; ingestedParametersDebugInfo?: GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo[]; projectNotAllowlisted?: boolean; } interface GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo { ingestionStatus?: | 'INGESTION_STATUS_UNSPECIFIED' | 'INGESTION_STATUS_SUCCEEDED' | 'INGESTION_STATUS_CONTEXT_NOT_AVAILABLE' | 'INGESTION_STATUS_PARSE_FAILED' | 'INGESTION_STATUS_INVALID_ENTRY' | 'INGESTION_STATUS_INVALID_FORMAT' | 'INGESTION_STATUS_LANGUAGE_MISMATCH'; parameter?: string; } interface GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata { request?: GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest; } interface GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest { encryptionSpec?: GoogleCloudDialogflowV2beta1EncryptionSpec; } interface GoogleCloudDialogflowV2beta1Intent { action?: string; defaultResponsePlatforms?: | 'PLATFORM_UNSPECIFIED' | 'FACEBOOK' | 'SLACK' | 'TELEGRAM' | 'KIK' | 'SKYPE' | 'LINE' | 'VIBER' | 'ACTIONS_ON_GOOGLE' | 'TELEPHONY' | 'GOOGLE_HANGOUTS'[]; displayName?: string; endInteraction?: boolean; events?: string[]; followupIntentInfo?: GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo[]; inputContextNames?: string[]; isFallback?: boolean; liveAgentHandoff?: boolean; messages?: GoogleCloudDialogflowV2beta1IntentMessage[]; mlDisabled?: boolean; mlEnabled?: boolean; name?: string; outputContexts?: GoogleCloudDialogflowV2beta1Context[]; parameters?: GoogleCloudDialogflowV2beta1IntentParameter[]; parentFollowupIntentName?: string; priority?: number; resetContexts?: boolean; rootFollowupIntentName?: string; trainingPhrases?: GoogleCloudDialogflowV2beta1IntentTrainingPhrase[]; webhookState?: | 'WEBHOOK_STATE_UNSPECIFIED' | 'WEBHOOK_STATE_ENABLED' | 'WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING'; } interface GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo { followupIntentName?: string; parentFollowupIntentName?: string; } interface GoogleCloudDialogflowV2beta1IntentMessage { basicCard?: GoogleCloudDialogflowV2beta1IntentMessageBasicCard; browseCarouselCard?: GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard; card?: GoogleCloudDialogflowV2beta1IntentMessageCard; carouselSelect?: GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect; image?: GoogleCloudDialogflowV2beta1IntentMessageImage; linkOutSuggestion?: GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion; listSelect?: GoogleCloudDialogflowV2beta1IntentMessageListSelect; mediaContent?: GoogleCloudDialogflowV2beta1IntentMessageMediaContent; payload?: {[P in string]: any}; platform?: | 'PLATFORM_UNSPECIFIED' | 'FACEBOOK' | 'SLACK' | 'TELEGRAM' | 'KIK' | 'SKYPE' | 'LINE' | 'VIBER' | 'ACTIONS_ON_GOOGLE' | 'TELEPHONY' | 'GOOGLE_HANGOUTS'; quickReplies?: GoogleCloudDialogflowV2beta1IntentMessageQuickReplies; rbmCarouselRichCard?: GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard; rbmStandaloneRichCard?: GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard; rbmText?: GoogleCloudDialogflowV2beta1IntentMessageRbmText; simpleResponses?: GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses; suggestions?: GoogleCloudDialogflowV2beta1IntentMessageSuggestions; tableCard?: GoogleCloudDialogflowV2beta1IntentMessageTableCard; telephonyPlayAudio?: GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio; telephonySynthesizeSpeech?: GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech; telephonyTransferCall?: GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall; text?: GoogleCloudDialogflowV2beta1IntentMessageText; } interface GoogleCloudDialogflowV2beta1IntentMessageBasicCard { buttons?: GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton[]; formattedText?: string; image?: GoogleCloudDialogflowV2beta1IntentMessageImage; subtitle?: string; title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton { openUriAction?: GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction; title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction { uri?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard { imageDisplayOptions?: | 'IMAGE_DISPLAY_OPTIONS_UNSPECIFIED' | 'GRAY' | 'WHITE' | 'CROPPED' | 'BLURRED_BACKGROUND'; items?: GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem[]; } interface GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem { description?: string; footer?: string; image?: GoogleCloudDialogflowV2beta1IntentMessageImage; openUriAction?: GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction; title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction { url?: string; urlTypeHint?: 'URL_TYPE_HINT_UNSPECIFIED' | 'AMP_ACTION' | 'AMP_CONTENT'; } interface GoogleCloudDialogflowV2beta1IntentMessageCard { buttons?: GoogleCloudDialogflowV2beta1IntentMessageCardButton[]; imageUri?: string; subtitle?: string; title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageCardButton { postback?: string; text?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect { items?: GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem[]; } interface GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem { description?: string; image?: GoogleCloudDialogflowV2beta1IntentMessageImage; info?: GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo; title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageColumnProperties { header?: string; horizontalAlignment?: 'HORIZONTAL_ALIGNMENT_UNSPECIFIED' | 'LEADING' | 'CENTER' | 'TRAILING'; } interface GoogleCloudDialogflowV2beta1IntentMessageImage { accessibilityText?: string; imageUri?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion { destinationName?: string; uri?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageListSelect { items?: GoogleCloudDialogflowV2beta1IntentMessageListSelectItem[]; subtitle?: string; title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageListSelectItem { description?: string; image?: GoogleCloudDialogflowV2beta1IntentMessageImage; info?: GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo; title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageMediaContent { mediaObjects?: GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject[]; mediaType?: 'RESPONSE_MEDIA_TYPE_UNSPECIFIED' | 'AUDIO'; } interface GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject { contentUrl?: string; description?: string; icon?: GoogleCloudDialogflowV2beta1IntentMessageImage; largeImage?: GoogleCloudDialogflowV2beta1IntentMessageImage; name?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageQuickReplies { quickReplies?: string[]; title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent { description?: string; media?: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia; suggestions?: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion[]; title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia { fileUri?: string; height?: 'HEIGHT_UNSPECIFIED' | 'SHORT' | 'MEDIUM' | 'TALL'; thumbnailUri?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard { cardContents?: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent[]; cardWidth?: 'CARD_WIDTH_UNSPECIFIED' | 'SMALL' | 'MEDIUM'; } interface GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard { cardContent?: GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent; cardOrientation?: 'CARD_ORIENTATION_UNSPECIFIED' | 'HORIZONTAL' | 'VERTICAL'; thumbnailImageAlignment?: 'THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED' | 'LEFT' | 'RIGHT'; } interface GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction { dial?: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial; openUrl?: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri; postbackData?: string; shareLocation?: any; text?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial { phoneNumber?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri { uri?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation {} interface GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply { postbackData?: string; text?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion { action?: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction; reply?: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply; } interface GoogleCloudDialogflowV2beta1IntentMessageRbmText { rbmSuggestion?: GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion[]; text?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo { key?: string; synonyms?: string[]; } interface GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse { displayText?: string; ssml?: string; textToSpeech?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses { simpleResponses?: GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse[]; } interface GoogleCloudDialogflowV2beta1IntentMessageSuggestion { title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageSuggestions { suggestions?: GoogleCloudDialogflowV2beta1IntentMessageSuggestion[]; } interface GoogleCloudDialogflowV2beta1IntentMessageTableCard { buttons?: GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton[]; columnProperties?: GoogleCloudDialogflowV2beta1IntentMessageColumnProperties[]; image?: GoogleCloudDialogflowV2beta1IntentMessageImage; rows?: GoogleCloudDialogflowV2beta1IntentMessageTableCardRow[]; subtitle?: string; title?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageTableCardCell { text?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageTableCardRow { cells?: GoogleCloudDialogflowV2beta1IntentMessageTableCardCell[]; dividerAfter?: boolean; } interface GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio { audioUri?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech { ssml?: string; text?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall { phoneNumber?: string; } interface GoogleCloudDialogflowV2beta1IntentMessageText { text?: string[]; } interface GoogleCloudDialogflowV2beta1IntentParameter { defaultValue?: string; displayName?: string; entityTypeDisplayName?: string; isList?: boolean; mandatory?: boolean; name?: string; prompts?: string[]; value?: string; } interface GoogleCloudDialogflowV2beta1IntentSuggestion { description?: string; displayName?: string; intentV2?: string; } interface GoogleCloudDialogflowV2beta1IntentTrainingPhrase { name?: string; parts?: GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart[]; timesAddedCount?: number; type?: 'TYPE_UNSPECIFIED' | 'EXAMPLE' | 'TEMPLATE'; } interface GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart { alias?: string; entityType?: string; text?: string; userDefined?: boolean; } interface GoogleCloudDialogflowV2beta1KnowledgeAnswers { answers?: GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer[]; } interface GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer { answer?: string; faqQuestion?: string; matchConfidence?: number; matchConfidenceLevel?: 'MATCH_CONFIDENCE_LEVEL_UNSPECIFIED' | 'LOW' | 'MEDIUM' | 'HIGH'; source?: string; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer { answerRecord?: string; knowledgeAssistDebugInfo?: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo; suggestedQuery?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery; suggestedQueryAnswer?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult { answerRecord?: string; suggestedQuery?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer { answerText?: string; eventSource?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource; faqSource?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource; generativeSource?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource; playbookSource?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource { event?: string; snippets?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource { question?: string; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource { snippets?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet[]; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet { metadata?: {[P in string]: any}; text?: string; title?: string; uri?: string; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery { queryText?: string; searchContexts?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext[]; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext { key?: string; value?: string; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo { cesDebugInfo?: {[P in string]: any}; datastoreResponseReason?: | 'DATASTORE_RESPONSE_REASON_UNSPECIFIED' | 'NONE' | 'SEARCH_OUT_OF_QUOTA' | 'SEARCH_EMPTY_RESULTS' | 'ANSWER_GENERATION_GEN_AI_DISABLED' | 'ANSWER_GENERATION_OUT_OF_QUOTA' | 'ANSWER_GENERATION_ERROR' | 'ANSWER_GENERATION_NOT_ENOUGH_INFO' | 'ANSWER_GENERATION_RAI_FAILED' | 'ANSWER_GENERATION_NOT_GROUNDED'; ingestedContextReferenceDebugInfo?: GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo; knowledgeAssistBehavior?: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior; queryCategorizationFailureReason?: | 'QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED' | 'QUERY_CATEGORIZATION_INVALID_CONFIG' | 'QUERY_CATEGORIZATION_RESULT_NOT_FOUND' | 'QUERY_CATEGORIZATION_FAILED'; queryGenerationDebugInfo?: GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo; queryGenerationFailureReason?: | 'QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED' | 'QUERY_GENERATION_OUT_OF_QUOTA' | 'QUERY_GENERATION_FAILED' | 'QUERY_GENERATION_NO_QUERY_GENERATED' | 'QUERY_GENERATION_RAI_FAILED' | 'NOT_IN_ALLOWLIST' | 'QUERY_GENERATION_QUERY_REDACTED' | 'QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED' | 'QUERY_GENERATION_EMPTY_CONVERSATION' | 'QUERY_GENERATION_EMPTY_LAST_MESSAGE' | 'QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET'; serviceLatency?: GoogleCloudDialogflowV2beta1ServiceLatency; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior { answerGenerationRewriterOn?: boolean; appendedSearchContextCount?: number; conversationTranscriptHasMixedLanguages?: boolean; disableSyncDelivery?: boolean; endUserMetadataIncluded?: boolean; invalidItemsQuerySuggestionSkipped?: boolean; multipleQueriesGenerated?: boolean; previousQueriesIncluded?: boolean; primaryQueryRedactedAndReplaced?: boolean; queryContainedSearchContext?: boolean; queryGenerationAgentLanguageMismatch?: boolean; queryGenerationEndUserLanguageMismatch?: boolean; returnQueryOnly?: boolean; thirdPartyConnectorAllowed?: boolean; useCustomSafetyFilterLevel?: boolean; usePubsubDelivery?: boolean; useTranslatedMessage?: boolean; } interface GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoQueryGenerationDebugInfo { candidatesTokenCount?: number; promptTokenCount?: number; totalTokenCount?: number; } interface GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata { doneTime?: string; exportOperationMetadata?: GoogleCloudDialogflowV2beta1ExportOperationMetadata; knowledgeBase?: string; state?: 'STATE_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'DONE'; } interface GoogleCloudDialogflowV2beta1Message { content?: string; createTime?: string; languageCode?: string; messageAnnotation?: GoogleCloudDialogflowV2beta1MessageAnnotation; name?: string; participant?: string; participantRole?: 'ROLE_UNSPECIFIED' | 'HUMAN_AGENT' | 'AUTOMATED_AGENT' | 'END_USER'; responseMessages?: GoogleCloudDialogflowV2beta1ResponseMessage[]; sendTime?: string; sentimentAnalysis?: GoogleCloudDialogflowV2beta1SentimentAnalysisResult; } interface GoogleCloudDialogflowV2beta1MessageAnnotation { containEntities?: boolean; parts?: GoogleCloudDialogflowV2beta1AnnotatedMessagePart[]; } interface GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest { payload?: {[P in string]: any}; source?: string; version?: string; } interface GoogleCloudDialogflowV2beta1QueryResult { action?: string; allRequiredParamsPresent?: boolean; cancelsSlotFilling?: boolean; diagnosticInfo?: {[P in string]: any}; fulfillmentMessages?: GoogleCloudDialogflowV2beta1IntentMessage[]; fulfillmentText?: string; intent?: GoogleCloudDialogflowV2beta1Intent; intentDetectionConfidence?: number; knowledgeAnswers?: GoogleCloudDialogflowV2beta1KnowledgeAnswers; languageCode?: string; outputContexts?: GoogleCloudDialogflowV2beta1Context[]; parameters?: {[P in string]: any}; queryText?: string; sentimentAnalysisResult?: GoogleCloudDialogflowV2beta1SentimentAnalysisResult; speechRecognitionConfidence?: number; webhookPayload?: {[P in string]: any}; webhookSource?: string; } interface GoogleCloudDialogflowV2beta1ResponseMessage { endInteraction?: any; liveAgentHandoff?: GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff; mixedAudio?: GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio; payload?: {[P in string]: any}; telephonyTransferCall?: GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall; text?: GoogleCloudDialogflowV2beta1ResponseMessageText; } interface GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction {} interface GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff { metadata?: {[P in string]: any}; } interface GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio { segments?: GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment[]; } interface GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment { allowPlaybackInterruption?: boolean; audio?: string; uri?: string; } interface GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall { phoneNumber?: string; sipUri?: string; } interface GoogleCloudDialogflowV2beta1ResponseMessageText { text?: string[]; } interface GoogleCloudDialogflowV2beta1Sentiment { magnitude?: number; score?: number; } interface GoogleCloudDialogflowV2beta1SentimentAnalysisResult { queryTextSentiment?: GoogleCloudDialogflowV2beta1Sentiment; } interface GoogleCloudDialogflowV2beta1ServiceLatency { internalServiceLatencies?: GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency[]; } interface GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency { completeTime?: string; latencyMs?: number; startTime?: string; step?: string; } interface GoogleCloudDialogflowV2beta1SessionEntityType { entities?: GoogleCloudDialogflowV2beta1EntityTypeEntity[]; entityOverrideMode?: | 'ENTITY_OVERRIDE_MODE_UNSPECIFIED' | 'ENTITY_OVERRIDE_MODE_OVERRIDE' | 'ENTITY_OVERRIDE_MODE_SUPPLEMENT'; name?: string; } interface GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata { conversationProfile?: string; createTime?: string; participantRole?: 'ROLE_UNSPECIFIED' | 'HUMAN_AGENT' | 'AUTOMATED_AGENT' | 'END_USER'; suggestionFeatureType?: | 'TYPE_UNSPECIFIED' | 'ARTICLE_SUGGESTION' | 'FAQ' | 'SMART_REPLY' | 'DIALOGFLOW_ASSIST' | 'CONVERSATION_SUMMARIZATION' | 'KNOWLEDGE_SEARCH' | 'KNOWLEDGE_ASSIST'; } interface GoogleCloudDialogflowV2beta1SmartReplyAnswer { answerRecord?: string; confidence?: number; reply?: string; } interface GoogleCloudDialogflowV2beta1SpeechWordInfo { confidence?: number; endOffset?: string; startOffset?: string; word?: string; } interface GoogleCloudDialogflowV2beta1StreamingRecognitionResult { confidence?: number; dtmfDigits?: GoogleCloudDialogflowV2beta1TelephonyDtmfEvents; isFinal?: boolean; languageCode?: string; messageType?: | 'MESSAGE_TYPE_UNSPECIFIED' | 'TRANSCRIPT' | 'END_OF_SINGLE_UTTERANCE' | 'DTMF_DIGITS' | 'PARTIAL_DTMF_DIGITS'; speechEndOffset?: string; speechWordInfo?: GoogleCloudDialogflowV2beta1SpeechWordInfo[]; stability?: number; transcript?: string; } interface GoogleCloudDialogflowV2beta1SuggestArticlesResponse { articleAnswers?: GoogleCloudDialogflowV2beta1ArticleAnswer[]; contextSize?: number; latestMessage?: string; } interface GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse { contextSize?: number; dialogflowAssistAnswers?: GoogleCloudDialogflowV2beta1DialogflowAssistAnswer[]; latestMessage?: string; } interface GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse { contextSize?: number; faqAnswers?: GoogleCloudDialogflowV2beta1FaqAnswer[]; latestMessage?: string; } interface GoogleCloudDialogflowV2beta1SuggestionResult { error?: GoogleRpcStatus; generateSuggestionsResponse?: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse; suggestArticlesResponse?: GoogleCloudDialogflowV2beta1SuggestArticlesResponse; suggestDialogflowAssistsResponse?: GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse; suggestEntityExtractionResponse?: GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse; suggestFaqAnswersResponse?: GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse; suggestKnowledgeAssistResponse?: GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse; suggestSmartRepliesResponse?: GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse; } interface GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse { additionalSuggestedQueryResults?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerAdditionalSuggestedQueryResult[]; contextSize?: number; knowledgeAssistAnswer?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer; latestMessage?: string; } interface GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse { contextSize?: number; latestMessage?: string; smartReplyAnswers?: GoogleCloudDialogflowV2beta1SmartReplyAnswer[]; } interface GoogleCloudDialogflowV2beta1SummarySuggestion { summarySections?: GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection[]; } interface GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection { section?: string; summary?: string; } interface GoogleCloudDialogflowV2beta1TelephonyDtmfEvents { dtmfEvents?: | 'TELEPHONY_DTMF_UNSPECIFIED' | 'DTMF_ONE' | 'DTMF_TWO' | 'DTMF_THREE' | 'DTMF_FOUR' | 'DTMF_FIVE' | 'DTMF_SIX' | 'DTMF_SEVEN' | 'DTMF_EIGHT' | 'DTMF_NINE' | 'DTMF_ZERO' | 'DTMF_A' | 'DTMF_B' | 'DTMF_C' | 'DTMF_D' | 'DTMF_STAR' | 'DTMF_POUND'[]; } interface GoogleCloudDialogflowV2beta1ToolCall { action?: string; answerRecord?: string; cesApp?: string; cesTool?: string; cesToolset?: string; createTime?: string; inputParameters?: {[P in string]: any}; state?: 'STATE_UNSPECIFIED' | 'TRIGGERED' | 'NEEDS_CONFIRMATION'; tool?: string; toolDisplayDetails?: string; toolDisplayName?: string; } interface GoogleCloudDialogflowV2beta1ToolCallResult { action?: string; answerRecord?: string; cesApp?: string; cesTool?: string; cesToolset?: string; content?: string; createTime?: string; error?: GoogleCloudDialogflowV2beta1ToolCallResultError; rawContent?: string; tool?: string; } interface GoogleCloudDialogflowV2beta1ToolCallResultError { message?: string; } interface GoogleCloudDialogflowV2beta1WebhookRequest { alternativeQueryResults?: GoogleCloudDialogflowV2beta1QueryResult[]; originalDetectIntentRequest?: GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest; queryResult?: GoogleCloudDialogflowV2beta1QueryResult; responseId?: string; session?: string; } interface GoogleCloudDialogflowV2beta1WebhookResponse { endInteraction?: boolean; followupEventInput?: GoogleCloudDialogflowV2beta1EventInput; fulfillmentMessages?: GoogleCloudDialogflowV2beta1IntentMessage[]; fulfillmentText?: string; liveAgentHandoff?: boolean; outputContexts?: GoogleCloudDialogflowV2beta1Context[]; payload?: {[P in string]: any}; sessionEntityTypes?: GoogleCloudDialogflowV2beta1SessionEntityType[]; source?: string; } interface GoogleCloudDialogflowV2CesAppSpec { cesApp?: string; confirmationRequirement?: 'CONFIRMATION_REQUIREMENT_UNSPECIFIED' | 'REQUIRED' | 'NOT_REQUIRED'; proactiveEnabled?: boolean; reactiveEnabled?: boolean; } interface GoogleCloudDialogflowV2CesToolSpec { cesTool?: string; confirmationRequirement?: 'CONFIRMATION_REQUIREMENT_UNSPECIFIED' | 'REQUIRED' | 'NOT_REQUIRED'; } interface GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata { conversationProfile?: string; createTime?: string; participantRole?: 'ROLE_UNSPECIFIED' | 'HUMAN_AGENT' | 'AUTOMATED_AGENT' | 'END_USER'; suggestionFeatureType?: | 'TYPE_UNSPECIFIED' | 'ARTICLE_SUGGESTION' | 'FAQ' | 'SMART_REPLY' | 'CONVERSATION_SUMMARIZATION' | 'KNOWLEDGE_SEARCH' | 'KNOWLEDGE_ASSIST'; } interface GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest { participantRole?: 'ROLE_UNSPECIFIED' | 'HUMAN_AGENT' | 'AUTOMATED_AGENT' | 'END_USER'; suggestionFeatureType?: | 'TYPE_UNSPECIFIED' | 'ARTICLE_SUGGESTION' | 'FAQ' | 'SMART_REPLY' | 'CONVERSATION_SUMMARIZATION' | 'KNOWLEDGE_SEARCH' | 'KNOWLEDGE_ASSIST'; } interface GoogleCloudDialogflowV2CompleteConversationRequest {} interface GoogleCloudDialogflowV2Connection { connectionId?: string; errorDetails?: GoogleCloudDialogflowV2ConnectionErrorDetails; state?: | 'STATE_UNSPECIFIED' | 'CONNECTED' | 'DISCONNECTED' | 'AUTHENTICATION_FAILED' | 'KEEPALIVE'; updateTime?: string; } interface GoogleCloudDialogflowV2ConnectionErrorDetails { certificateState?: | 'CERTIFICATE_STATE_UNSPECIFIED' | 'CERTIFICATE_VALID' | 'CERTIFICATE_INVALID' | 'CERTIFICATE_EXPIRED' | 'CERTIFICATE_HOSTNAME_NOT_FOUND' | 'CERTIFICATE_UNAUTHENTICATED' | 'CERTIFICATE_TRUST_STORE_NOT_FOUND' | 'CERTIFICATE_HOSTNAME_INVALID_FORMAT' | 'CERTIFICATE_QUOTA_EXCEEDED'; errorMessage?: string; } interface GoogleCloudDialogflowV2Context { lifespanCount?: number; name?: string; parameters?: {[P in string]: any}; } interface GoogleCloudDialogflowV2Conversation { conversationProfile?: string; conversationStage?: | 'CONVERSATION_STAGE_UNSPECIFIED' | 'VIRTUAL_AGENT_STAGE' | 'HUMAN_ASSIST_STAGE'; endTime?: string; ingestedContextReferences?: { [P in string]: GoogleCloudDialogflowV2ConversationContextReference; }; initialConversationProfile?: GoogleCloudDialogflowV2ConversationProfile; initialGeneratorContexts?: { [P in string]: GoogleCloudDialogflowV2ConversationGeneratorContext; }; lifecycleState?: 'LIFECYCLE_STATE_UNSPECIFIED' | 'IN_PROGRESS' | 'COMPLETED'; name?: string; phoneNumber?: GoogleCloudDialogflowV2ConversationPhoneNumber; startTime?: string; telephonyConnectionInfo?: GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo; } interface GoogleCloudDialogflowV2ConversationContext { messageEntries?: GoogleCloudDialogflowV2MessageEntry[]; } interface GoogleCloudDialogflowV2ConversationContextReference { contextContents?: GoogleCloudDialogflowV2ConversationContextReferenceContextContent[]; createTime?: string; languageCode?: string; updateMode?: 'UPDATE_MODE_UNSPECIFIED' | 'APPEND' | 'OVERWRITE'; } interface GoogleCloudDialogflowV2ConversationContextReferenceContextContent { answerRecord?: string; content?: string; contentFormat?: 'CONTENT_FORMAT_UNSPECIFIED' | 'JSON' | 'PLAIN_TEXT'; ingestionTime?: string; } interface GoogleCloudDialogflowV2ConversationDataset { conversationCount?: string; conversationInfo?: GoogleCloudDialogflowV2ConversationInfo; createTime?: string; description?: string; displayName?: string; inputConfig?: GoogleCloudDialogflowV2InputConfig; name?: string; satisfiesPzi?: boolean; satisfiesPzs?: boolean; } interface GoogleCloudDialogflowV2ConversationEvent { conversation?: string; errorStatus?: GoogleRpcStatus; newMessagePayload?: GoogleCloudDialogflowV2Message; newRecognitionResultPayload?: GoogleCloudDialogflowV2StreamingRecognitionResult; type?: | 'TYPE_UNSPECIFIED' | 'CONVERSATION_STARTED' | 'CONVERSATION_FINISHED' | 'HUMAN_INTERVENTION_NEEDED' | 'NEW_MESSAGE' | 'NEW_RECOGNITION_RESULT' | 'UNRECOVERABLE_ERROR'; } interface GoogleCloudDialogflowV2ConversationGeneratorContext { generatorType?: | 'GENERATOR_TYPE_UNSPECIFIED' | 'FREE_FORM' | 'AGENT_COACHING' | 'SUMMARIZATION' | 'TRANSLATION' | 'AGENT_FEEDBACK' | 'CUSTOMER_MESSAGE_GENERATION'; } interface GoogleCloudDialogflowV2ConversationInfo { languageCode?: string; } interface GoogleCloudDialogflowV2ConversationModel { articleSuggestionModelMetadata?: GoogleCloudDialogflowV2ArticleSuggestionModelMetadata; createTime?: string; datasets?: GoogleCloudDialogflowV2InputDataset[]; displayName?: string; languageCode?: string; name?: string; satisfiesPzi?: boolean; satisfiesPzs?: boolean; smartReplyModelMetadata?: GoogleCloudDialogflowV2SmartReplyModelMetadata; state?: | 'STATE_UNSPECIFIED' | 'CREATING' | 'UNDEPLOYED' | 'DEPLOYING' | 'DEPLOYED' | 'UNDEPLOYING' | 'DELETING' | 'FAILED' | 'PENDING'; } interface GoogleCloudDialogflowV2ConversationModelEvaluation { createTime?: string; displayName?: string; evaluationConfig?: GoogleCloudDialogflowV2EvaluationConfig; name?: string; rawHumanEvalTemplateCsv?: string; smartReplyMetrics?: GoogleCloudDialogflowV2SmartReplyMetrics; } interface GoogleCloudDialogflowV2ConversationPhoneNumber { countryCode?: number; phoneNumber?: string; } interface GoogleCloudDialogflowV2ConversationProfile { automatedAgentConfig?: GoogleCloudDialogflowV2AutomatedAgentConfig; createTime?: string; displayName?: string; humanAgentAssistantConfig?: GoogleCloudDialogflowV2HumanAgentAssistantConfig; humanAgentHandoffConfig?: GoogleCloudDialogflowV2HumanAgentHandoffConfig; languageCode?: string; loggingConfig?: GoogleCloudDialogflowV2LoggingConfig; name?: string; newMessageEventNotificationConfig?: GoogleCloudDialogflowV2NotificationConfig; newRecognitionResultNotificationConfig?: GoogleCloudDialogflowV2NotificationConfig; notificationConfig?: GoogleCloudDialogflowV2NotificationConfig; securitySettings?: string; sipConfig?: GoogleCloudDialogflowV2SipConfig; sttConfig?: GoogleCloudDialogflowV2SpeechToTextConfig; timeZone?: string; ttsConfig?: GoogleCloudDialogflowV2SynthesizeSpeechConfig; updateTime?: string; } interface GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo { dialedNumber?: string; extraMimeContents?: GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent[]; sdp?: string; sipHeaders?: GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader[]; } interface GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent { content?: string; mimeType?: string; } interface GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader { name?: string; value?: string; } interface GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata { conversationDataset?: string; } interface GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata { conversationModel?: string; conversationModelEvaluation?: string; createTime?: string; state?: | 'STATE_UNSPECIFIED' | 'INITIALIZING' | 'RUNNING' | 'CANCELLED' | 'SUCCEEDED' | 'FAILED'; } interface GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest { conversationModelEvaluation?: GoogleCloudDialogflowV2ConversationModelEvaluation; } interface GoogleCloudDialogflowV2CreateConversationModelOperationMetadata { conversationModel?: string; createTime?: string; doneTime?: string; state?: | 'STATE_UNSPECIFIED' | 'PENDING' | 'SUCCEEDED' | 'FAILED' | 'CANCELLED' | 'CANCELLING' | 'TRAINING'; } interface GoogleCloudDialogflowV2CustomPronunciationParams { phoneticEncoding?: | 'PHONETIC_ENCODING_UNSPECIFIED' | 'PHONETIC_ENCODING_IPA' | 'PHONETIC_ENCODING_X_SAMPA'; phrase?: string; pronunciation?: string; } interface GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata {} interface GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata { conversationModel?: string; createTime?: string; doneTime?: string; } interface GoogleCloudDialogflowV2DeployConversationModelOperationMetadata { conversationModel?: string; createTime?: string; doneTime?: string; } interface GoogleCloudDialogflowV2DeployConversationModelRequest {} interface GoogleCloudDialogflowV2DetectIntentRequest { inputAudio?: string; outputAudioConfig?: GoogleCloudDialogflowV2OutputAudioConfig; outputAudioConfigMask?: string; queryInput?: GoogleCloudDialogflowV2QueryInput; queryParams?: GoogleCloudDialogflowV2QueryParameters; } interface GoogleCloudDialogflowV2DetectIntentResponse { outputAudio?: string; outputAudioConfig?: GoogleCloudDialogflowV2OutputAudioConfig; queryResult?: GoogleCloudDialogflowV2QueryResult; responseId?: string; webhookStatus?: GoogleRpcStatus; } interface GoogleCloudDialogflowV2DialogflowAssistAnswer { answerRecord?: string; intentSuggestion?: GoogleCloudDialogflowV2IntentSuggestion; queryResult?: GoogleCloudDialogflowV2QueryResult; } interface GoogleCloudDialogflowV2Document { contentUri?: string; displayName?: string; enableAutoReload?: boolean; knowledgeTypes?: | 'KNOWLEDGE_TYPE_UNSPECIFIED' | 'FAQ' | 'EXTRACTIVE_QA' | 'ARTICLE_SUGGESTION' | 'AGENT_FACING_SMART_REPLY'[]; latestReloadStatus?: GoogleCloudDialogflowV2DocumentReloadStatus; metadata?: {[P in string]: string}; mimeType?: string; name?: string; rawContent?: string; state?: | 'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'UPDATING' | 'RELOADING' | 'DELETING'; } interface GoogleCloudDialogflowV2DocumentReloadStatus { status?: GoogleRpcStatus; time?: string; } interface GoogleCloudDialogflowV2DtmfParameters { acceptsDtmfInput?: boolean; } interface GoogleCloudDialogflowV2EncryptionSpec { kmsKey?: string; name?: string; } interface GoogleCloudDialogflowV2EntityType { autoExpansionMode?: 'AUTO_EXPANSION_MODE_UNSPECIFIED' | 'AUTO_EXPANSION_MODE_DEFAULT'; displayName?: string; enableFuzzyExtraction?: boolean; entities?: GoogleCloudDialogflowV2EntityTypeEntity[]; kind?: 'KIND_UNSPECIFIED' | 'KIND_MAP' | 'KIND_LIST' | 'KIND_REGEXP'; name?: string; } interface GoogleCloudDialogflowV2EntityTypeBatch { entityTypes?: GoogleCloudDialogflowV2EntityType[]; } interface GoogleCloudDialogflowV2EntityTypeEntity { synonyms?: string[]; value?: string; } interface GoogleCloudDialogflowV2Environment { agentVersion?: string; description?: string; fulfillment?: GoogleCloudDialogflowV2Fulfillment; name?: string; state?: 'STATE_UNSPECIFIED' | 'STOPPED' | 'LOADING' | 'RUNNING'; textToSpeechSettings?: GoogleCloudDialogflowV2TextToSpeechSettings; updateTime?: string; } interface GoogleCloudDialogflowV2EnvironmentHistory { entries?: GoogleCloudDialogflowV2EnvironmentHistoryEntry[]; nextPageToken?: string; parent?: string; } interface GoogleCloudDialogflowV2EnvironmentHistoryEntry { agentVersion?: string; createTime?: string; description?: string; } interface GoogleCloudDialogflowV2EvaluationConfig { datasets?: GoogleCloudDialogflowV2InputDataset[]; smartComposeConfig?: GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig; smartReplyConfig?: GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig; } interface GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig { allowlistDocument?: string; maxResultCount?: number; } interface GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig { allowlistDocument?: string; maxResultCount?: number; } interface GoogleCloudDialogflowV2EvaluationStatus { done?: boolean; pipelineStatus?: GoogleRpcStatus; } interface GoogleCloudDialogflowV2EventInput { languageCode?: string; name?: string; parameters?: {[P in string]: any}; } interface GoogleCloudDialogflowV2ExportAgentRequest { agentUri?: string; } interface GoogleCloudDialogflowV2ExportAgentResponse { agentContent?: string; agentUri?: string; } interface GoogleCloudDialogflowV2ExportDocumentRequest { exportFullContent?: boolean; gcsDestination?: GoogleCloudDialogflowV2GcsDestination; smartMessagingPartialUpdate?: boolean; } interface GoogleCloudDialogflowV2ExportOperationMetadata { exportedGcsDestination?: GoogleCloudDialogflowV2GcsDestination; } interface GoogleCloudDialogflowV2FaqAnswer { answer?: string; answerRecord?: string; confidence?: number; metadata?: {[P in string]: string}; question?: string; source?: string; } interface GoogleCloudDialogflowV2FewShotExample { conversationContext?: GoogleCloudDialogflowV2ConversationContext; extraInfo?: {[P in string]: string}; output?: GoogleCloudDialogflowV2GeneratorSuggestion; summarizationSectionList?: GoogleCloudDialogflowV2SummarizationSectionList; } interface GoogleCloudDialogflowV2FreeFormContext { text?: string; } interface GoogleCloudDialogflowV2FreeFormSuggestion { response?: string; } interface GoogleCloudDialogflowV2Fulfillment { displayName?: string; enabled?: boolean; features?: GoogleCloudDialogflowV2FulfillmentFeature[]; genericWebService?: GoogleCloudDialogflowV2FulfillmentGenericWebService; name?: string; } interface GoogleCloudDialogflowV2FulfillmentFeature { type?: 'TYPE_UNSPECIFIED' | 'SMALLTALK'; } interface GoogleCloudDialogflowV2FulfillmentGenericWebService { isCloudFunction?: boolean; password?: string; requestHeaders?: {[P in string]: string}; uri?: string; username?: string; } interface GoogleCloudDialogflowV2GcsDestination { uri?: string; } interface GoogleCloudDialogflowV2GcsSources { uris?: string[]; } interface GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest { contextReferences?: { [P in string]: GoogleCloudDialogflowV2ConversationContextReference; }; conversationContext?: GoogleCloudDialogflowV2ConversationContext; generator?: GoogleCloudDialogflowV2Generator; generatorName?: string; securitySettings?: string; triggerEvents?: | 'TRIGGER_EVENT_UNSPECIFIED' | 'END_OF_UTTERANCE' | 'MANUAL_CALL' | 'CUSTOMER_MESSAGE' | 'AGENT_MESSAGE'[]; } interface GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse { generatorSuggestion?: GoogleCloudDialogflowV2GeneratorSuggestion; } interface GoogleCloudDialogflowV2GenerateStatelessSummaryRequest { conversationProfile?: GoogleCloudDialogflowV2ConversationProfile; latestMessage?: string; maxContextSize?: number; statelessConversation?: GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation; } interface GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation { messages?: GoogleCloudDialogflowV2Message[]; } interface GoogleCloudDialogflowV2GenerateStatelessSummaryResponse { contextSize?: number; latestMessage?: string; summary?: GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary; } interface GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary { baselineModelVersion?: string; text?: string; textSections?: {[P in string]: string}; } interface GoogleCloudDialogflowV2GenerateSuggestionsRequest { latestMessage?: string; triggerEvents?: | 'TRIGGER_EVENT_UNSPECIFIED' | 'END_OF_UTTERANCE' | 'MANUAL_CALL' | 'CUSTOMER_MESSAGE' | 'AGENT_MESSAGE'[]; } interface GoogleCloudDialogflowV2GenerateSuggestionsResponse { generatorSuggestionAnswers?: GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer[]; latestMessage?: string; } interface GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer { answerRecord?: string; generatorSuggestion?: GoogleCloudDialogflowV2GeneratorSuggestion; sourceGenerator?: string; } interface GoogleCloudDialogflowV2Generator { agentCoachingContext?: GoogleCloudDialogflowV2AgentCoachingContext; cesAppSpecs?: GoogleCloudDialogflowV2CesAppSpec[]; cesToolSpecs?: GoogleCloudDialogflowV2CesToolSpec[]; createTime?: string; description?: string; freeFormContext?: GoogleCloudDialogflowV2FreeFormContext; inferenceParameter?: GoogleCloudDialogflowV2InferenceParameter; name?: string; publishedModel?: string; suggestionDedupingConfig?: GoogleCloudDialogflowV2SuggestionDedupingConfig; summarizationContext?: GoogleCloudDialogflowV2SummarizationContext; tools?: string[]; toolsetTools?: GoogleCloudDialogflowV2ToolsetTool[]; triggerEvent?: | 'TRIGGER_EVENT_UNSPECIFIED' | 'END_OF_UTTERANCE' | 'MANUAL_CALL' | 'CUSTOMER_MESSAGE' | 'AGENT_MESSAGE'; updateTime?: string; } interface GoogleCloudDialogflowV2GeneratorEvaluation { completeTime?: string; createTime?: string; displayName?: string; evaluationStatus?: GoogleCloudDialogflowV2EvaluationStatus; generatorEvaluationConfig?: GoogleCloudDialogflowV2GeneratorEvaluationConfig; initialGenerator?: GoogleCloudDialogflowV2Generator; name?: string; satisfiesPzi?: boolean; satisfiesPzs?: boolean; summarizationMetrics?: GoogleCloudDialogflowV2SummarizationEvaluationMetrics; } interface GoogleCloudDialogflowV2GeneratorEvaluationConfig { inputDataConfig?: GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig; outputGcsBucketPath?: string; summarizationConfig?: GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig; } interface GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig { endTime?: string; startTime?: string; } interface GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig { dataset?: string; } interface GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig { agentAssistInputDataConfig?: GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig; datasetInputDataConfig?: GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig; endTime?: string; inputDataSourceType?: | 'INPUT_DATA_SOURCE_TYPE_UNSPECIFIED' | 'AGENT_ASSIST_CONVERSATIONS' | 'INSIGHTS_CONVERSATIONS'; isSummaryGenerationAllowed?: boolean; sampleSize?: number; startTime?: string; summaryGenerationOption?: | 'SUMMARY_GENERATION_OPTION_UNSPECIFIED' | 'ALWAYS_GENERATE' | 'GENERATE_IF_MISSING' | 'DO_NOT_GENERATE'; } interface GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig { accuracyEvaluationVersion?: string; completenessEvaluationVersion?: string; enableAccuracyEvaluation?: boolean; enableCompletenessEvaluation?: boolean; evaluatorVersion?: string; } interface GoogleCloudDialogflowV2GeneratorSuggestion { agentCoachingSuggestion?: GoogleCloudDialogflowV2AgentCoachingSuggestion; freeFormSuggestion?: GoogleCloudDialogflowV2FreeFormSuggestion; summarySuggestion?: GoogleCloudDialogflowV2SummarySuggestion; toolCallInfo?: GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo[]; } interface GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo { toolCall?: GoogleCloudDialogflowV2ToolCall; toolCallResult?: GoogleCloudDialogflowV2ToolCallResult; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfig { endUserSuggestionConfig?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig; humanAgentSuggestionConfig?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig; messageAnalysisConfig?: GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig; notificationConfig?: GoogleCloudDialogflowV2NotificationConfig; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig { baselineModelVersion?: string; model?: string; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig { recentSentencesCount?: number; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig { enableEntityExtraction?: boolean; enableSentimentAnalysis?: boolean; enableSentimentAnalysisV3?: boolean; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig { disableHighLatencyFeaturesSyncDelivery?: boolean; enableAsyncToolCall?: boolean; featureConfigs?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig[]; generators?: string[]; groupSuggestionResponses?: boolean; skipEmptyEventBasedSuggestion?: boolean; useUnredactedConversationData?: boolean; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig { conversationModelConfig?: GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig; conversationProcessConfig?: GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig; disableAgentQueryLogging?: boolean; disableQuerySearchContext?: boolean; enableConversationAugmentedQuery?: boolean; enableEventBasedSuggestion?: boolean; enableQuerySuggestionOnly?: boolean; enableQuerySuggestionWhenNoAnswer?: boolean; enableResponseDebugInfo?: boolean; queryConfig?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig; raiSettings?: GoogleCloudDialogflowV2RaiSettings; suggestionFeature?: GoogleCloudDialogflowV2SuggestionFeature; suggestionTriggerEvent?: | 'TRIGGER_EVENT_UNSPECIFIED' | 'END_OF_UTTERANCE' | 'MANUAL_CALL' | 'CUSTOMER_MESSAGE' | 'AGENT_MESSAGE'; suggestionTriggerSettings?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig { confidenceThreshold?: number; contextFilterSettings?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings; contextSize?: number; dialogflowQuerySource?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource; documentQuerySource?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource; knowledgeBaseQuerySource?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource; maxResults?: number; sections?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings { dropHandoffMessages?: boolean; dropIvrMessages?: boolean; dropVirtualAgentMessages?: boolean; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource { agent?: string; humanAgentSideConfig?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig { agent?: string; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource { documents?: string[]; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource { knowledgeBases?: string[]; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections { sectionTypes?: | 'SECTION_TYPE_UNSPECIFIED' | 'SITUATION' | 'ACTION' | 'RESOLUTION' | 'REASON_FOR_CANCELLATION' | 'CUSTOMER_SATISFACTION' | 'ENTITIES'[]; } interface GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings { noSmalltalk?: boolean; onlyEndUser?: boolean; } interface GoogleCloudDialogflowV2HumanAgentAssistantEvent { conversation?: string; participant?: string; suggestionResults?: GoogleCloudDialogflowV2SuggestionResult[]; } interface GoogleCloudDialogflowV2HumanAgentHandoffConfig { livePersonConfig?: GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig; salesforceLiveAgentConfig?: GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig; } interface GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig { accountNumber?: string; } interface GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig { buttonId?: string; deploymentId?: string; endpointDomain?: string; organizationId?: string; } interface GoogleCloudDialogflowV2ImportAgentRequest { agentContent?: string; agentUri?: string; } interface GoogleCloudDialogflowV2ImportConversationDataOperationMetadata { conversationDataset?: string; createTime?: string; partialFailures?: GoogleRpcStatus[]; } interface GoogleCloudDialogflowV2ImportConversationDataOperationResponse { conversationDataset?: string; importCount?: number; } interface GoogleCloudDialogflowV2ImportConversationDataRequest { inputConfig?: GoogleCloudDialogflowV2InputConfig; } interface GoogleCloudDialogflowV2ImportDocumentsRequest { documentTemplate?: GoogleCloudDialogflowV2ImportDocumentTemplate; gcsSource?: GoogleCloudDialogflowV2GcsSources; importGcsCustomMetadata?: boolean; } interface GoogleCloudDialogflowV2ImportDocumentsResponse { warnings?: GoogleRpcStatus[]; } interface GoogleCloudDialogflowV2ImportDocumentTemplate { knowledgeTypes?: | 'KNOWLEDGE_TYPE_UNSPECIFIED' | 'FAQ' | 'EXTRACTIVE_QA' | 'ARTICLE_SUGGESTION' | 'AGENT_FACING_SMART_REPLY'[]; metadata?: {[P in string]: string}; mimeType?: string; } interface GoogleCloudDialogflowV2InferenceParameter { maxOutputTokens?: number; temperature?: number; topK?: number; topP?: number; } interface GoogleCloudDialogflowV2IngestContextReferencesRequest { contextReferences?: { [P in string]: GoogleCloudDialogflowV2ConversationContextReference; }; } interface GoogleCloudDialogflowV2IngestContextReferencesResponse { ingestedContextReferences?: { [P in string]: GoogleCloudDialogflowV2ConversationContextReference; }; } interface GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo { contextReferenceRetrieved?: boolean; ingestedParametersDebugInfo?: GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo[]; projectNotAllowlisted?: boolean; } interface GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo { ingestionStatus?: | 'INGESTION_STATUS_UNSPECIFIED' | 'INGESTION_STATUS_SUCCEEDED' | 'INGESTION_STATUS_CONTEXT_NOT_AVAILABLE' | 'INGESTION_STATUS_PARSE_FAILED' | 'INGESTION_STATUS_INVALID_ENTRY' | 'INGESTION_STATUS_INVALID_FORMAT' | 'INGESTION_STATUS_LANGUAGE_MISMATCH'; parameter?: string; } interface GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata { request?: GoogleCloudDialogflowV2InitializeEncryptionSpecRequest; } interface GoogleCloudDialogflowV2InitializeEncryptionSpecRequest { encryptionSpec?: GoogleCloudDialogflowV2EncryptionSpec; } interface GoogleCloudDialogflowV2InputAudioConfig { audioEncoding?: | 'AUDIO_ENCODING_UNSPECIFIED' | 'AUDIO_ENCODING_LINEAR_16' | 'AUDIO_ENCODING_FLAC' | 'AUDIO_ENCODING_MULAW' | 'AUDIO_ENCODING_AMR' | 'AUDIO_ENCODING_AMR_WB' | 'AUDIO_ENCODING_OGG_OPUS' | 'AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE' | 'AUDIO_ENCODING_ALAW'; disableNoSpeechRecognizedEvent?: boolean; enableAutomaticPunctuation?: boolean; enableWordInfo?: boolean; languageCode?: string; model?: string; modelVariant?: | 'SPEECH_MODEL_VARIANT_UNSPECIFIED' | 'USE_BEST_AVAILABLE' | 'USE_STANDARD' | 'USE_ENHANCED'; optOutConformerModelMigration?: boolean; phraseHints?: string[]; phraseSets?: string[]; sampleRateHertz?: number; singleUtterance?: boolean; speechContexts?: GoogleCloudDialogflowV2SpeechContext[]; } interface GoogleCloudDialogflowV2InputConfig { gcsSource?: GoogleCloudDialogflowV2GcsSources; } interface GoogleCloudDialogflowV2InputDataset { dataset?: string; } interface GoogleCloudDialogflowV2Intent { action?: string; defaultResponsePlatforms?: | 'PLATFORM_UNSPECIFIED' | 'FACEBOOK' | 'SLACK' | 'TELEGRAM' | 'KIK' | 'SKYPE' | 'LINE' | 'VIBER' | 'ACTIONS_ON_GOOGLE' | 'GOOGLE_HANGOUTS'[]; displayName?: string; endInteraction?: boolean; events?: string[]; followupIntentInfo?: GoogleCloudDialogflowV2IntentFollowupIntentInfo[]; inputContextNames?: string[]; isFallback?: boolean; liveAgentHandoff?: boolean; messages?: GoogleCloudDialogflowV2IntentMessage[]; mlDisabled?: boolean; name?: string; outputContexts?: GoogleCloudDialogflowV2Context[]; parameters?: GoogleCloudDialogflowV2IntentParameter[]; parentFollowupIntentName?: string; priority?: number; resetContexts?: boolean; rootFollowupIntentName?: string; trainingPhrases?: GoogleCloudDialogflowV2IntentTrainingPhrase[]; webhookState?: | 'WEBHOOK_STATE_UNSPECIFIED' | 'WEBHOOK_STATE_ENABLED' | 'WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING'; } interface GoogleCloudDialogflowV2IntentBatch { intents?: GoogleCloudDialogflowV2Intent[]; } interface GoogleCloudDialogflowV2IntentFollowupIntentInfo { followupIntentName?: string; parentFollowupIntentName?: string; } interface GoogleCloudDialogflowV2IntentMessage { basicCard?: GoogleCloudDialogflowV2IntentMessageBasicCard; browseCarouselCard?: GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard; card?: GoogleCloudDialogflowV2IntentMessageCard; carouselSelect?: GoogleCloudDialogflowV2IntentMessageCarouselSelect; image?: GoogleCloudDialogflowV2IntentMessageImage; linkOutSuggestion?: GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion; listSelect?: GoogleCloudDialogflowV2IntentMessageListSelect; mediaContent?: GoogleCloudDialogflowV2IntentMessageMediaContent; payload?: {[P in string]: any}; platform?: | 'PLATFORM_UNSPECIFIED' | 'FACEBOOK' | 'SLACK' | 'TELEGRAM' | 'KIK' | 'SKYPE' | 'LINE' | 'VIBER' | 'ACTIONS_ON_GOOGLE' | 'GOOGLE_HANGOUTS'; quickReplies?: GoogleCloudDialogflowV2IntentMessageQuickReplies; simpleResponses?: GoogleCloudDialogflowV2IntentMessageSimpleResponses; suggestions?: GoogleCloudDialogflowV2IntentMessageSuggestions; tableCard?: GoogleCloudDialogflowV2IntentMessageTableCard; text?: GoogleCloudDialogflowV2IntentMessageText; } interface GoogleCloudDialogflowV2IntentMessageBasicCard { buttons?: GoogleCloudDialogflowV2IntentMessageBasicCardButton[]; formattedText?: string; image?: GoogleCloudDialogflowV2IntentMessageImage; subtitle?: string; title?: string; } interface GoogleCloudDialogflowV2IntentMessageBasicCardButton { openUriAction?: GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction; title?: string; } interface GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction { uri?: string; } interface GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard { imageDisplayOptions?: | 'IMAGE_DISPLAY_OPTIONS_UNSPECIFIED' | 'GRAY' | 'WHITE' | 'CROPPED' | 'BLURRED_BACKGROUND'; items?: GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem[]; } interface GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem { description?: string; footer?: string; image?: GoogleCloudDialogflowV2IntentMessageImage; openUriAction?: GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction; title?: string; } interface GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction { url?: string; urlTypeHint?: 'URL_TYPE_HINT_UNSPECIFIED' | 'AMP_ACTION' | 'AMP_CONTENT'; } interface GoogleCloudDialogflowV2IntentMessageCard { buttons?: GoogleCloudDialogflowV2IntentMessageCardButton[]; imageUri?: string; subtitle?: string; title?: string; } interface GoogleCloudDialogflowV2IntentMessageCardButton { postback?: string; text?: string; } interface GoogleCloudDialogflowV2IntentMessageCarouselSelect { items?: GoogleCloudDialogflowV2IntentMessageCarouselSelectItem[]; } interface GoogleCloudDialogflowV2IntentMessageCarouselSelectItem { description?: string; image?: GoogleCloudDialogflowV2IntentMessageImage; info?: GoogleCloudDialogflowV2IntentMessageSelectItemInfo; title?: string; } interface GoogleCloudDialogflowV2IntentMessageColumnProperties { header?: string; horizontalAlignment?: 'HORIZONTAL_ALIGNMENT_UNSPECIFIED' | 'LEADING' | 'CENTER' | 'TRAILING'; } interface GoogleCloudDialogflowV2IntentMessageImage { accessibilityText?: string; imageUri?: string; } interface GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion { destinationName?: string; uri?: string; } interface GoogleCloudDialogflowV2IntentMessageListSelect { items?: GoogleCloudDialogflowV2IntentMessageListSelectItem[]; subtitle?: string; title?: string; } interface GoogleCloudDialogflowV2IntentMessageListSelectItem { description?: string; image?: GoogleCloudDialogflowV2IntentMessageImage; info?: GoogleCloudDialogflowV2IntentMessageSelectItemInfo; title?: string; } interface GoogleCloudDialogflowV2IntentMessageMediaContent { mediaObjects?: GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject[]; mediaType?: 'RESPONSE_MEDIA_TYPE_UNSPECIFIED' | 'AUDIO'; } interface GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject { contentUrl?: string; description?: string; icon?: GoogleCloudDialogflowV2IntentMessageImage; largeImage?: GoogleCloudDialogflowV2IntentMessageImage; name?: string; } interface GoogleCloudDialogflowV2IntentMessageQuickReplies { quickReplies?: string[]; title?: string; } interface GoogleCloudDialogflowV2IntentMessageSelectItemInfo { key?: string; synonyms?: string[]; } interface GoogleCloudDialogflowV2IntentMessageSimpleResponse { displayText?: string; ssml?: string; textToSpeech?: string; } interface GoogleCloudDialogflowV2IntentMessageSimpleResponses { simpleResponses?: GoogleCloudDialogflowV2IntentMessageSimpleResponse[]; } interface GoogleCloudDialogflowV2IntentMessageSuggestion { title?: string; } interface GoogleCloudDialogflowV2IntentMessageSuggestions { suggestions?: GoogleCloudDialogflowV2IntentMessageSuggestion[]; } interface GoogleCloudDialogflowV2IntentMessageTableCard { buttons?: GoogleCloudDialogflowV2IntentMessageBasicCardButton[]; columnProperties?: GoogleCloudDialogflowV2IntentMessageColumnProperties[]; image?: GoogleCloudDialogflowV2IntentMessageImage; rows?: GoogleCloudDialogflowV2IntentMessageTableCardRow[]; subtitle?: string; title?: string; } interface GoogleCloudDialogflowV2IntentMessageTableCardCell { text?: string; } interface GoogleCloudDialogflowV2IntentMessageTableCardRow { cells?: GoogleCloudDialogflowV2IntentMessageTableCardCell[]; dividerAfter?: boolean; } interface GoogleCloudDialogflowV2IntentMessageText { text?: string[]; } interface GoogleCloudDialogflowV2IntentParameter { defaultValue?: string; displayName?: string; entityTypeDisplayName?: string; isList?: boolean; mandatory?: boolean; name?: string; prompts?: string[]; value?: string; } interface GoogleCloudDialogflowV2IntentSuggestion { description?: string; displayName?: string; intentV2?: string; } interface GoogleCloudDialogflowV2IntentTrainingPhrase { name?: string; parts?: GoogleCloudDialogflowV2IntentTrainingPhrasePart[]; timesAddedCount?: number; type?: 'TYPE_UNSPECIFIED' | 'EXAMPLE' | 'TEMPLATE'; } interface GoogleCloudDialogflowV2IntentTrainingPhrasePart { alias?: string; entityType?: string; text?: string; userDefined?: boolean; } interface GoogleCloudDialogflowV2KnowledgeAssistAnswer { answerRecord?: string; knowledgeAssistDebugInfo?: GoogleCloudDialogflowV2KnowledgeAssistDebugInfo; suggestedQuery?: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery; suggestedQueryAnswer?: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer; } interface GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult { answerRecord?: string; suggestedQuery?: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery; } interface GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer { answerText?: string; eventSource?: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource; faqSource?: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource; generativeSource?: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource; playbookSource?: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource; } interface GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource { event?: string; snippets?: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource; } interface GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource { question?: string; } interface GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource { snippets?: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet[]; } interface GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet { metadata?: {[P in string]: any}; text?: string; title?: string; uri?: string; } interface GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery { queryText?: string; searchContexts?: GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext[]; } interface GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext { key?: string; value?: string; } interface GoogleCloudDialogflowV2KnowledgeAssistDebugInfo { cesDebugInfo?: {[P in string]: any}; datastoreResponseReason?: | 'DATASTORE_RESPONSE_REASON_UNSPECIFIED' | 'NONE' | 'SEARCH_OUT_OF_QUOTA' | 'SEARCH_EMPTY_RESULTS' | 'ANSWER_GENERATION_GEN_AI_DISABLED' | 'ANSWER_GENERATION_OUT_OF_QUOTA' | 'ANSWER_GENERATION_ERROR' | 'ANSWER_GENERATION_NOT_ENOUGH_INFO' | 'ANSWER_GENERATION_RAI_FAILED' | 'ANSWER_GENERATION_NOT_GROUNDED'; ingestedContextReferenceDebugInfo?: GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo; knowledgeAssistBehavior?: GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior; queryCategorizationFailureReason?: | 'QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED' | 'QUERY_CATEGORIZATION_INVALID_CONFIG' | 'QUERY_CATEGORIZATION_RESULT_NOT_FOUND' | 'QUERY_CATEGORIZATION_FAILED'; queryGenerationDebugInfo?: GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo; queryGenerationFailureReason?: | 'QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED' | 'QUERY_GENERATION_OUT_OF_QUOTA' | 'QUERY_GENERATION_FAILED' | 'QUERY_GENERATION_NO_QUERY_GENERATED' | 'QUERY_GENERATION_RAI_FAILED' | 'NOT_IN_ALLOWLIST' | 'QUERY_GENERATION_QUERY_REDACTED' | 'QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED' | 'QUERY_GENERATION_EMPTY_CONVERSATION' | 'QUERY_GENERATION_EMPTY_LAST_MESSAGE' | 'QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET'; serviceLatency?: GoogleCloudDialogflowV2ServiceLatency; } interface GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior { answerGenerationRewriterOn?: boolean; appendedSearchContextCount?: number; conversationTranscriptHasMixedLanguages?: boolean; disableSyncDelivery?: boolean; endUserMetadataIncluded?: boolean; invalidItemsQuerySuggestionSkipped?: boolean; multipleQueriesGenerated?: boolean; previousQueriesIncluded?: boolean; primaryQueryRedactedAndReplaced?: boolean; queryContainedSearchContext?: boolean; queryGenerationAgentLanguageMismatch?: boolean; queryGenerationEndUserLanguageMismatch?: boolean; returnQueryOnly?: boolean; thirdPartyConnectorAllowed?: boolean; useCustomSafetyFilterLevel?: boolean; usePubsubDelivery?: boolean; useTranslatedMessage?: boolean; } interface GoogleCloudDialogflowV2KnowledgeAssistDebugInfoQueryGenerationDebugInfo { candidatesTokenCount?: number; promptTokenCount?: number; totalTokenCount?: number; } interface GoogleCloudDialogflowV2KnowledgeBase { displayName?: string; languageCode?: string; name?: string; } interface GoogleCloudDialogflowV2KnowledgeOperationMetadata { doneTime?: string; exportOperationMetadata?: GoogleCloudDialogflowV2ExportOperationMetadata; knowledgeBase?: string; state?: 'STATE_UNSPECIFIED' | 'PENDING' | 'RUNNING' | 'DONE'; } interface GoogleCloudDialogflowV2ListAnswerRecordsResponse { answerRecords?: GoogleCloudDialogflowV2AnswerRecord[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListContextsResponse { contexts?: GoogleCloudDialogflowV2Context[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListConversationDatasetsResponse { conversationDatasets?: GoogleCloudDialogflowV2ConversationDataset[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse { conversationModelEvaluations?: GoogleCloudDialogflowV2ConversationModelEvaluation[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListConversationModelsResponse { conversationModels?: GoogleCloudDialogflowV2ConversationModel[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListConversationProfilesResponse { conversationProfiles?: GoogleCloudDialogflowV2ConversationProfile[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListConversationsResponse { conversations?: GoogleCloudDialogflowV2Conversation[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListDocumentsResponse { documents?: GoogleCloudDialogflowV2Document[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListEntityTypesResponse { entityTypes?: GoogleCloudDialogflowV2EntityType[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListEnvironmentsResponse { environments?: GoogleCloudDialogflowV2Environment[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse { generatorEvaluations?: GoogleCloudDialogflowV2GeneratorEvaluation[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListGeneratorsResponse { generators?: GoogleCloudDialogflowV2Generator[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListIntentsResponse { intents?: GoogleCloudDialogflowV2Intent[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListKnowledgeBasesResponse { knowledgeBases?: GoogleCloudDialogflowV2KnowledgeBase[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListMessagesResponse { messages?: GoogleCloudDialogflowV2Message[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2ListParticipantsResponse { nextPageToken?: string; participants?: GoogleCloudDialogflowV2Participant[]; } interface GoogleCloudDialogflowV2ListSessionEntityTypesResponse { nextPageToken?: string; sessionEntityTypes?: GoogleCloudDialogflowV2SessionEntityType[]; } interface GoogleCloudDialogflowV2ListSipTrunksResponse { nextPageToken?: string; sipTrunks?: GoogleCloudDialogflowV2SipTrunk[]; } interface GoogleCloudDialogflowV2ListToolsResponse { nextPageToken?: string; tools?: GoogleCloudDialogflowV2Tool[]; } interface GoogleCloudDialogflowV2ListVersionsResponse { nextPageToken?: string; versions?: GoogleCloudDialogflowV2Version[]; } interface GoogleCloudDialogflowV2LoggingConfig { enableStackdriverLogging?: boolean; } interface GoogleCloudDialogflowV2Message { content?: string; createTime?: string; languageCode?: string; messageAnnotation?: GoogleCloudDialogflowV2MessageAnnotation; name?: string; participant?: string; participantRole?: 'ROLE_UNSPECIFIED' | 'HUMAN_AGENT' | 'AUTOMATED_AGENT' | 'END_USER'; sendTime?: string; sentimentAnalysis?: GoogleCloudDialogflowV2SentimentAnalysisResult; } interface GoogleCloudDialogflowV2MessageAnnotation { containEntities?: boolean; parts?: GoogleCloudDialogflowV2AnnotatedMessagePart[]; } interface GoogleCloudDialogflowV2MessageEntry { createTime?: string; languageCode?: string; role?: 'ROLE_UNSPECIFIED' | 'HUMAN_AGENT' | 'AUTOMATED_AGENT' | 'END_USER'; text?: string; } interface GoogleCloudDialogflowV2NotificationConfig { messageFormat?: 'MESSAGE_FORMAT_UNSPECIFIED' | 'PROTO' | 'JSON'; topic?: string; } interface GoogleCloudDialogflowV2OriginalDetectIntentRequest { payload?: {[P in string]: any}; source?: string; version?: string; } interface GoogleCloudDialogflowV2OutputAudio { audio?: string; config?: GoogleCloudDialogflowV2OutputAudioConfig; } interface GoogleCloudDialogflowV2OutputAudioConfig { audioEncoding?: | 'OUTPUT_AUDIO_ENCODING_UNSPECIFIED' | 'OUTPUT_AUDIO_ENCODING_LINEAR_16' | 'OUTPUT_AUDIO_ENCODING_MP3' | 'OUTPUT_AUDIO_ENCODING_MP3_64_KBPS' | 'OUTPUT_AUDIO_ENCODING_OGG_OPUS' | 'OUTPUT_AUDIO_ENCODING_MULAW' | 'OUTPUT_AUDIO_ENCODING_ALAW'; sampleRateHertz?: number; synthesizeSpeechConfig?: GoogleCloudDialogflowV2SynthesizeSpeechConfig; } interface GoogleCloudDialogflowV2Participant { agentDesktopSource?: | 'AGENT_DESKTOP_SOURCE_UNSPECIFIED' | 'LIVE_PERSON' | 'GENESYS_CLOUD' | 'TWILIO' | 'SALESFORCE' | 'OTHER'; documentsMetadataFilters?: {[P in string]: string}; name?: string; obfuscatedExternalUserId?: string; role?: 'ROLE_UNSPECIFIED' | 'HUMAN_AGENT' | 'AUTOMATED_AGENT' | 'END_USER'; sipRecordingMediaLabel?: string; } interface GoogleCloudDialogflowV2QueryInput { audioConfig?: GoogleCloudDialogflowV2InputAudioConfig; event?: GoogleCloudDialogflowV2EventInput; text?: GoogleCloudDialogflowV2TextInput; } interface GoogleCloudDialogflowV2QueryParameters { contexts?: GoogleCloudDialogflowV2Context[]; geoLocation?: GoogleTypeLatLng; payload?: {[P in string]: any}; platform?: string; resetContexts?: boolean; sentimentAnalysisRequestConfig?: GoogleCloudDialogflowV2SentimentAnalysisRequestConfig; sessionEntityTypes?: GoogleCloudDialogflowV2SessionEntityType[]; timeZone?: string; webhookHeaders?: {[P in string]: string}; } interface GoogleCloudDialogflowV2QueryResult { action?: string; allRequiredParamsPresent?: boolean; cancelsSlotFilling?: boolean; diagnosticInfo?: {[P in string]: any}; fulfillmentMessages?: GoogleCloudDialogflowV2IntentMessage[]; fulfillmentText?: string; intent?: GoogleCloudDialogflowV2Intent; intentDetectionConfidence?: number; languageCode?: string; outputContexts?: GoogleCloudDialogflowV2Context[]; parameters?: {[P in string]: any}; queryText?: string; sentimentAnalysisResult?: GoogleCloudDialogflowV2SentimentAnalysisResult; speechRecognitionConfidence?: number; webhookPayload?: {[P in string]: any}; webhookSource?: string; } interface GoogleCloudDialogflowV2RaiSettings { raiCategoryConfigs?: GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig[]; } interface GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig { category?: | 'RAI_CATEGORY_UNSPECIFIED' | 'DANGEROUS_CONTENT' | 'SEXUALLY_EXPLICIT' | 'HARASSMENT' | 'HATE_SPEECH'; sensitivityLevel?: | 'SENSITIVITY_LEVEL_UNSPECIFIED' | 'BLOCK_MOST' | 'BLOCK_SOME' | 'BLOCK_FEW' | 'BLOCK_NONE'; } interface GoogleCloudDialogflowV2ReloadDocumentRequest { contentUri?: string; importGcsCustomMetadata?: boolean; smartMessagingPartialUpdate?: boolean; } interface GoogleCloudDialogflowV2RestoreAgentRequest { agentContent?: string; agentUri?: string; } interface GoogleCloudDialogflowV2SearchAgentsResponse { agents?: GoogleCloudDialogflowV2Agent[]; nextPageToken?: string; } interface GoogleCloudDialogflowV2SearchKnowledgeAnswer { answer?: string; answerRecord?: string; answerSources?: GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource[]; answerType?: | 'ANSWER_TYPE_UNSPECIFIED' | 'FAQ' | 'GENERATIVE' | 'INTENT' | 'PLAYBOOK' | 'EVENT'; } interface GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource { metadata?: {[P in string]: any}; snippet?: string; title?: string; uri?: string; } interface GoogleCloudDialogflowV2SearchKnowledgeDebugInfo { datastoreResponseReason?: | 'DATASTORE_RESPONSE_REASON_UNSPECIFIED' | 'NONE' | 'SEARCH_OUT_OF_QUOTA' | 'SEARCH_EMPTY_RESULTS' | 'ANSWER_GENERATION_GEN_AI_DISABLED' | 'ANSWER_GENERATION_OUT_OF_QUOTA' | 'ANSWER_GENERATION_ERROR' | 'ANSWER_GENERATION_NOT_ENOUGH_INFO' | 'ANSWER_GENERATION_RAI_FAILED' | 'ANSWER_GENERATION_NOT_GROUNDED'; ingestedContextReferenceDebugInfo?: GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo; searchKnowledgeBehavior?: GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior; serviceLatency?: GoogleCloudDialogflowV2ServiceLatency; } interface GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior { answerGenerationRewriterOn?: boolean; endUserMetadataIncluded?: boolean; thirdPartyConnectorAllowed?: boolean; } interface GoogleCloudDialogflowV2SearchKnowledgeRequest { conversation?: string; conversationProfile?: string; endUserMetadata?: {[P in string]: any}; exactSearch?: boolean; latestMessage?: string; parent?: string; query?: GoogleCloudDialogflowV2TextInput; querySource?: 'QUERY_SOURCE_UNSPECIFIED' | 'AGENT_QUERY' | 'SUGGESTED_QUERY'; searchConfig?: GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig; sessionId?: string; } interface GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig { boostSpecs?: GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs[]; filterSpecs?: GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs[]; } interface GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs { dataStores?: string[]; spec?: GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec[]; } interface GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec { conditionBoostSpecs?: GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec[]; } interface GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec { boost?: number; boostControlSpec?: GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec; condition?: string; } interface GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec { attributeType?: 'ATTRIBUTE_TYPE_UNSPECIFIED' | 'NUMERICAL' | 'FRESHNESS'; controlPoints?: GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint[]; fieldName?: string; interpolationType?: 'INTERPOLATION_TYPE_UNSPECIFIED' | 'LINEAR'; } interface GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint { attributeValue?: string; boostAmount?: number; } interface GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs { dataStores?: string[]; filter?: string; } interface GoogleCloudDialogflowV2SearchKnowledgeResponse { answers?: GoogleCloudDialogflowV2SearchKnowledgeAnswer[]; rewrittenQuery?: string; searchKnowledgeDebugInfo?: GoogleCloudDialogflowV2SearchKnowledgeDebugInfo; } interface GoogleCloudDialogflowV2Sentiment { magnitude?: number; score?: number; } interface GoogleCloudDialogflowV2SentimentAnalysisRequestConfig { analyzeQueryTextSentiment?: boolean; } interface GoogleCloudDialogflowV2SentimentAnalysisResult { queryTextSentiment?: GoogleCloudDialogflowV2Sentiment; } interface GoogleCloudDialogflowV2ServiceLatency { internalServiceLatencies?: GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency[]; } interface GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency { completeTime?: string; latencyMs?: number; startTime?: string; step?: string; } interface GoogleCloudDialogflowV2SessionEntityType { entities?: GoogleCloudDialogflowV2EntityTypeEntity[]; entityOverrideMode?: | 'ENTITY_OVERRIDE_MODE_UNSPECIFIED' | 'ENTITY_OVERRIDE_MODE_OVERRIDE' | 'ENTITY_OVERRIDE_MODE_SUPPLEMENT'; name?: string; } interface GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata { conversationProfile?: string; createTime?: string; participantRole?: 'ROLE_UNSPECIFIED' | 'HUMAN_AGENT' | 'AUTOMATED_AGENT' | 'END_USER'; suggestionFeatureType?: | 'TYPE_UNSPECIFIED' | 'ARTICLE_SUGGESTION' | 'FAQ' | 'SMART_REPLY' | 'CONVERSATION_SUMMARIZATION' | 'KNOWLEDGE_SEARCH' | 'KNOWLEDGE_ASSIST'; } interface GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest { participantRole?: 'ROLE_UNSPECIFIED' | 'HUMAN_AGENT' | 'AUTOMATED_AGENT' | 'END_USER'; suggestionFeatureConfig?: GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig; } interface GoogleCloudDialogflowV2SipConfig { allowVirtualAgentInteraction?: boolean; copyInboundCallLegHeaders?: string[]; createConversationOnTheFly?: boolean; ignoreReinviteMediaDirection?: boolean; inactiveStart?: boolean; keepConversationRunning?: boolean; maxAudioRecordingDuration?: string; } interface GoogleCloudDialogflowV2SipTrunk { connections?: GoogleCloudDialogflowV2Connection[]; displayName?: string; expectedHostname?: string[]; name?: string; } interface GoogleCloudDialogflowV2SmartReplyAnswer { answerRecord?: string; confidence?: number; reply?: string; } interface GoogleCloudDialogflowV2SmartReplyMetrics { allowlistCoverage?: number; conversationCount?: string; topNMetrics?: GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics[]; } interface GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics { n?: number; recall?: number; } interface GoogleCloudDialogflowV2SmartReplyModelMetadata { trainingModelType?: | 'MODEL_TYPE_UNSPECIFIED' | 'SMART_REPLY_DUAL_ENCODER_MODEL' | 'SMART_REPLY_BERT_MODEL'; } interface GoogleCloudDialogflowV2SpeechContext { boost?: number; phrases?: string[]; } interface GoogleCloudDialogflowV2SpeechToTextConfig { audioEncoding?: | 'AUDIO_ENCODING_UNSPECIFIED' | 'AUDIO_ENCODING_LINEAR_16' | 'AUDIO_ENCODING_FLAC' | 'AUDIO_ENCODING_MULAW' | 'AUDIO_ENCODING_AMR' | 'AUDIO_ENCODING_AMR_WB' | 'AUDIO_ENCODING_OGG_OPUS' | 'AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE' | 'AUDIO_ENCODING_ALAW'; enableWordInfo?: boolean; languageCode?: string; model?: string; phraseSets?: string[]; sampleRateHertz?: number; speechModelVariant?: | 'SPEECH_MODEL_VARIANT_UNSPECIFIED' | 'USE_BEST_AVAILABLE' | 'USE_STANDARD' | 'USE_ENHANCED'; useTimeoutBasedEndpointing?: boolean; } interface GoogleCloudDialogflowV2SpeechWordInfo { confidence?: number; endOffset?: string; startOffset?: string; word?: string; } interface GoogleCloudDialogflowV2StreamingRecognitionResult { confidence?: number; isFinal?: boolean; languageCode?: string; messageType?: 'MESSAGE_TYPE_UNSPECIFIED' | 'TRANSCRIPT' | 'END_OF_SINGLE_UTTERANCE'; speechEndOffset?: string; speechWordInfo?: GoogleCloudDialogflowV2SpeechWordInfo[]; transcript?: string; } interface GoogleCloudDialogflowV2SuggestArticlesRequest { assistQueryParams?: GoogleCloudDialogflowV2AssistQueryParameters; contextSize?: number; latestMessage?: string; } interface GoogleCloudDialogflowV2SuggestArticlesResponse { articleAnswers?: GoogleCloudDialogflowV2ArticleAnswer[]; contextSize?: number; latestMessage?: string; } interface GoogleCloudDialogflowV2SuggestConversationSummaryRequest { assistQueryParams?: GoogleCloudDialogflowV2AssistQueryParameters; contextSize?: number; latestMessage?: string; } interface GoogleCloudDialogflowV2SuggestConversationSummaryResponse { contextSize?: number; latestMessage?: string; summary?: GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary; } interface GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary { answerRecord?: string; baselineModelVersion?: string; sortedTextSections?: GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection[]; text?: string; textSections?: {[P in string]: string}; } interface GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection { section?: string; summary?: string; } interface GoogleCloudDialogflowV2SuggestFaqAnswersRequest { assistQueryParams?: GoogleCloudDialogflowV2AssistQueryParameters; contextSize?: number; latestMessage?: string; } interface GoogleCloudDialogflowV2SuggestFaqAnswersResponse { contextSize?: number; faqAnswers?: GoogleCloudDialogflowV2FaqAnswer[]; latestMessage?: string; } interface GoogleCloudDialogflowV2SuggestionDedupingConfig { enableDeduping?: boolean; similarityThreshold?: number; } interface GoogleCloudDialogflowV2SuggestionFeature { type?: | 'TYPE_UNSPECIFIED' | 'ARTICLE_SUGGESTION' | 'FAQ' | 'SMART_REPLY' | 'CONVERSATION_SUMMARIZATION' | 'KNOWLEDGE_SEARCH' | 'KNOWLEDGE_ASSIST'; } interface GoogleCloudDialogflowV2SuggestionInput { action?: 'ACTION_UNSPECIFIED' | 'CANCEL' | 'REVISE' | 'CONFIRM'; answerRecord?: string; parameters?: {[P in string]: any}; sendTime?: string; } interface GoogleCloudDialogflowV2SuggestionResult { error?: GoogleRpcStatus; generateSuggestionsResponse?: GoogleCloudDialogflowV2GenerateSuggestionsResponse; suggestArticlesResponse?: GoogleCloudDialogflowV2SuggestArticlesResponse; suggestFaqAnswersResponse?: GoogleCloudDialogflowV2SuggestFaqAnswersResponse; suggestKnowledgeAssistResponse?: GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse; suggestSmartRepliesResponse?: GoogleCloudDialogflowV2SuggestSmartRepliesResponse; } interface GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest { contextSize?: number; latestMessage?: string; previousSuggestedQuery?: string; } interface GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse { additionalSuggestedQueryResults?: GoogleCloudDialogflowV2KnowledgeAssistAnswerAdditionalSuggestedQueryResult[]; contextSize?: number; knowledgeAssistAnswer?: GoogleCloudDialogflowV2KnowledgeAssistAnswer; latestMessage?: string; } interface GoogleCloudDialogflowV2SuggestSmartRepliesRequest { contextSize?: number; currentTextInput?: GoogleCloudDialogflowV2TextInput; latestMessage?: string; } interface GoogleCloudDialogflowV2SuggestSmartRepliesResponse { contextSize?: number; latestMessage?: string; smartReplyAnswers?: GoogleCloudDialogflowV2SmartReplyAnswer[]; } interface GoogleCloudDialogflowV2SummarizationContext { fewShotExamples?: GoogleCloudDialogflowV2FewShotExample[]; outputLanguageCode?: string; summarizationSections?: GoogleCloudDialogflowV2SummarizationSection[]; version?: string; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetrics { conversationDetails?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail[]; overallMetrics?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric[]; overallSectionTokens?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken[]; summarizationEvaluationMergedResultsUri?: string; summarizationEvaluationResults?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult[]; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition { accuracyReasoning?: string; isAccurate?: boolean; point?: string; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition { adherenceReasoning?: string; isAdherent?: boolean; point?: string; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric { isAddressed?: boolean; question?: string; reasoning?: string; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric { isAddressed?: boolean; question?: string; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail { messageEntries?: GoogleCloudDialogflowV2MessageEntry[]; metricDetails?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail[]; sectionTokens?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken[]; summarySections?: GoogleCloudDialogflowV2SummarySuggestionSummarySection[]; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail { metric?: string; score?: number; sectionDetails?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail[]; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail { evaluationResults?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult[]; score?: number; section?: string; sectionSummary?: string; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition { accuracyDecomposition?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition; adherenceDecomposition?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult { accuracyDecomposition?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition; adherenceRubric?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric; completenessRubric?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric { metric?: string; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken { section?: string; tokenCount?: string; } interface GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult { decompositions?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition[]; evaluationResults?: GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult[]; metric?: string; score?: number; section?: string; sectionSummary?: string; sessionId?: string; } interface GoogleCloudDialogflowV2SummarizationSection { definition?: string; key?: string; type?: | 'TYPE_UNSPECIFIED' | 'SITUATION' | 'ACTION' | 'RESOLUTION' | 'REASON_FOR_CANCELLATION' | 'CUSTOMER_SATISFACTION' | 'ENTITIES' | 'CUSTOMER_DEFINED' | 'SITUATION_CONCISE' | 'ACTION_CONCISE'; } interface GoogleCloudDialogflowV2SummarizationSectionList { summarizationSections?: GoogleCloudDialogflowV2SummarizationSection[]; } interface GoogleCloudDialogflowV2SummarySuggestion { summarySections?: GoogleCloudDialogflowV2SummarySuggestionSummarySection[]; } interface GoogleCloudDialogflowV2SummarySuggestionSummarySection { section?: string; summary?: string; } interface GoogleCloudDialogflowV2SynthesizeSpeechConfig { effectsProfileId?: string[]; pitch?: number; pronunciations?: GoogleCloudDialogflowV2CustomPronunciationParams[]; speakingRate?: number; voice?: GoogleCloudDialogflowV2VoiceSelectionParams; volumeGainDb?: number; } interface GoogleCloudDialogflowV2TextInput { languageCode?: string; text?: string; } interface GoogleCloudDialogflowV2TextToSpeechSettings { enableTextToSpeech?: boolean; outputAudioEncoding?: | 'OUTPUT_AUDIO_ENCODING_UNSPECIFIED' | 'OUTPUT_AUDIO_ENCODING_LINEAR_16' | 'OUTPUT_AUDIO_ENCODING_MP3' | 'OUTPUT_AUDIO_ENCODING_MP3_64_KBPS' | 'OUTPUT_AUDIO_ENCODING_OGG_OPUS' | 'OUTPUT_AUDIO_ENCODING_MULAW' | 'OUTPUT_AUDIO_ENCODING_ALAW'; sampleRateHertz?: number; synthesizeSpeechConfigs?: { [P in string]: GoogleCloudDialogflowV2SynthesizeSpeechConfig; }; } interface GoogleCloudDialogflowV2Tool { actionConfirmationRequirement?: { [P in string]: 'CONFIRMATION_REQUIREMENT_UNSPECIFIED' | 'REQUIRED' | 'NOT_REQUIRED'; }; connectorSpec?: GoogleCloudDialogflowV2ToolConnectorTool; createTime?: string; description?: string; displayName?: string; extensionSpec?: GoogleCloudDialogflowV2ToolExtensionTool; functionSpec?: GoogleCloudDialogflowV2ToolFunctionTool; name?: string; openApiSpec?: GoogleCloudDialogflowV2ToolOpenApiTool; satisfiesPzi?: boolean; satisfiesPzs?: boolean; toolKey?: string; updateTime?: string; } interface GoogleCloudDialogflowV2ToolAuthentication { apiKeyConfig?: GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig; bearerTokenConfig?: GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig; oauthConfig?: GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig; serviceAgentAuthConfig?: GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig; } interface GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig { apiKey?: string; keyName?: string; requestLocation?: 'REQUEST_LOCATION_UNSPECIFIED' | 'HEADER' | 'QUERY_STRING'; secretVersionForApiKey?: string; } interface GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig { secretVersionForToken?: string; token?: string; } interface GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig { clientId?: string; clientSecret?: string; oauthGrantType?: 'OAUTH_GRANT_TYPE_UNSPECIFIED' | 'CLIENT_CREDENTIAL'; scopes?: string[]; secretVersionForClientSecret?: string; tokenEndpoint?: string; } interface GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig { serviceAgentAuth?: 'SERVICE_AGENT_AUTH_UNSPECIFIED' | 'ID_TOKEN' | 'ACCESS_TOKEN'; } interface GoogleCloudDialogflowV2ToolCall { action?: string; answerRecord?: string; cesApp?: string; cesTool?: string; cesToolset?: string; createTime?: string; inputParameters?: {[P in string]: any}; state?: 'STATE_UNSPECIFIED' | 'TRIGGERED' | 'NEEDS_CONFIRMATION'; tool?: string; toolDisplayDetails?: string; toolDisplayName?: string; } interface GoogleCloudDialogflowV2ToolCallResult { action?: string; answerRecord?: string; cesApp?: string; cesTool?: string; cesToolset?: string; content?: string; createTime?: string; error?: GoogleCloudDialogflowV2ToolCallResultError; rawContent?: string; tool?: string; } interface GoogleCloudDialogflowV2ToolCallResultError { message?: string; } interface GoogleCloudDialogflowV2ToolConnectorTool { actions?: GoogleCloudDialogflowV2ToolConnectorToolAction[]; name?: string; } interface GoogleCloudDialogflowV2ToolConnectorToolAction { connectionActionId?: string; entityOperation?: GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation; inputFields?: string[]; outputFields?: string[]; } interface GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation { entityId?: string; operation?: | 'OPERATION_TYPE_UNSPECIFIED' | 'LIST' | 'GET' | 'CREATE' | 'UPDATE' | 'DELETE'; } interface GoogleCloudDialogflowV2ToolExtensionTool { name?: string; } interface GoogleCloudDialogflowV2ToolFunctionTool { inputSchema?: {[P in string]: any}; methodType?: 'METHOD_TYPE_UNSPECIFIED' | 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; outputSchema?: {[P in string]: any}; } interface GoogleCloudDialogflowV2ToolOpenApiTool { authentication?: GoogleCloudDialogflowV2ToolAuthentication; serviceDirectoryConfig?: GoogleCloudDialogflowV2ToolServiceDirectoryConfig; textSchema?: string; tlsConfig?: GoogleCloudDialogflowV2ToolTLSConfig; } interface GoogleCloudDialogflowV2ToolServiceDirectoryConfig { service?: string; } interface GoogleCloudDialogflowV2ToolsetTool { confirmationRequirement?: 'CONFIRMATION_REQUIREMENT_UNSPECIFIED' | 'REQUIRED' | 'NOT_REQUIRED'; operationId?: string; toolset?: string; } interface GoogleCloudDialogflowV2ToolTLSConfig { caCerts?: GoogleCloudDialogflowV2ToolTLSConfigCACert[]; } interface GoogleCloudDialogflowV2ToolTLSConfigCACert { cert?: string; displayName?: string; } interface GoogleCloudDialogflowV2TrainAgentRequest {} interface GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata { conversationModel?: string; createTime?: string; doneTime?: string; } interface GoogleCloudDialogflowV2UndeployConversationModelRequest {} interface GoogleCloudDialogflowV2ValidationError { entries?: string[]; errorMessage?: string; severity?: 'SEVERITY_UNSPECIFIED' | 'INFO' | 'WARNING' | 'ERROR' | 'CRITICAL'; } interface GoogleCloudDialogflowV2ValidationResult { validationErrors?: GoogleCloudDialogflowV2ValidationError[]; } interface GoogleCloudDialogflowV2Version { createTime?: string; description?: string; name?: string; status?: 'VERSION_STATUS_UNSPECIFIED' | 'IN_PROGRESS' | 'READY' | 'FAILED'; versionNumber?: number; } interface GoogleCloudDialogflowV2VoiceSelectionParams { name?: string; ssmlGender?: | 'SSML_VOICE_GENDER_UNSPECIFIED' | 'SSML_VOICE_GENDER_MALE' | 'SSML_VOICE_GENDER_FEMALE' | 'SSML_VOICE_GENDER_NEUTRAL'; } interface GoogleCloudDialogflowV2WebhookRequest { originalDetectIntentRequest?: GoogleCloudDialogflowV2OriginalDetectIntentRequest; queryResult?: GoogleCloudDialogflowV2QueryResult; responseId?: string; session?: string; } interface GoogleCloudDialogflowV2WebhookResponse { followupEventInput?: GoogleCloudDialogflowV2EventInput; fulfillmentMessages?: GoogleCloudDialogflowV2IntentMessage[]; fulfillmentText?: string; outputContexts?: GoogleCloudDialogflowV2Context[]; payload?: {[P in string]: any}; sessionEntityTypes?: GoogleCloudDialogflowV2SessionEntityType[]; source?: string; } interface GoogleCloudDialogflowV3alpha1ConversationSignals { turnSignals?: GoogleCloudDialogflowV3alpha1TurnSignals; } interface GoogleCloudDialogflowV3alpha1TurnSignals { agentEscalated?: boolean; dtmfUsed?: boolean; failureReasons?: 'FAILURE_REASON_UNSPECIFIED' | 'FAILED_INTENT' | 'FAILED_WEBHOOK'[]; noMatch?: boolean; noUserInput?: boolean; reachedEndPage?: boolean; sentimentMagnitude?: number; sentimentScore?: number; triggeredAbandonmentEvent?: boolean; userEscalated?: boolean; webhookStatuses?: string[]; } interface GoogleCloudLocationListLocationsResponse { locations?: GoogleCloudLocationLocation[]; nextPageToken?: string; } interface GoogleCloudLocationLocation { displayName?: string; labels?: {[P in string]: string}; locationId?: string; metadata?: {[P in string]: any}; name?: string; } interface GoogleLongrunningListOperationsResponse { nextPageToken?: string; operations?: GoogleLongrunningOperation[]; unreachable?: string[]; } interface GoogleLongrunningOperation { done?: boolean; error?: GoogleRpcStatus; metadata?: {[P in string]: any}; name?: string; response?: {[P in string]: any}; } interface GoogleProtobufEmpty {} interface GoogleRpcStatus { code?: number; details?: {[P in string]: any}[]; message?: string; } interface GoogleTypeLatLng { latitude?: number; longitude?: number; } interface EntitiesResource { batchCreate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchCreateEntitiesRequest; }): Request; batchCreate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchCreateEntitiesRequest, ): Request; batchDelete(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest; }): Request; batchDelete( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest, ): Request; batchUpdate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest; }): Request; batchUpdate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest, ): Request; } interface EntityTypesResource { batchDelete(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest; }): Request; batchDelete( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest, ): Request; batchUpdate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest; }): Request; batchUpdate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest, ): Request; create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2EntityType; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2EntityType, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2EntityType; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2EntityType, ): Request; entities: EntitiesResource; } interface IntentsResource { list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface ContextsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Context; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Context, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Context; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Context, ): Request; } interface EntityTypesResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SessionEntityType; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SessionEntityType, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SessionEntityType; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SessionEntityType, ): Request; } interface SessionsResource { deleteContexts(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; detectIntent(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; session: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2DetectIntentRequest; }): Request; detectIntent( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; session: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2DetectIntentRequest, ): Request; contexts: ContextsResource; entityTypes: EntityTypesResource; } interface UsersResource { sessions: SessionsResource; } interface EnvironmentsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; environmentId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Environment; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; environmentId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Environment, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; getHistory(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; allowLoadToDraftAndDiscardChanges?: boolean; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Environment; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; allowLoadToDraftAndDiscardChanges?: boolean; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Environment, ): Request; intents: IntentsResource; users: UsersResource; } interface IntentsResource { batchDelete(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchDeleteIntentsRequest; }): Request; batchDelete( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchDeleteIntentsRequest, ): Request; batchUpdate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchUpdateIntentsRequest; }): Request; batchUpdate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchUpdateIntentsRequest, ): Request; create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Intent; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Intent, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Intent; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Intent, ): Request; } interface DocumentsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Document; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Document, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Document; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Document, ): Request; reload(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ReloadDocumentRequest; }): Request; reload( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ReloadDocumentRequest, ): Request; } interface KnowledgeBasesResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2KnowledgeBase; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2KnowledgeBase, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; force?: boolean; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2KnowledgeBase; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2KnowledgeBase, ): Request; documents: DocumentsResource; } interface ContextsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Context; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Context, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Context; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Context, ): Request; } interface EntityTypesResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SessionEntityType; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SessionEntityType, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SessionEntityType; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SessionEntityType, ): Request; } interface SessionsResource { deleteContexts(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; detectIntent(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; session: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2DetectIntentRequest; }): Request; detectIntent( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; session: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2DetectIntentRequest, ): Request; contexts: ContextsResource; entityTypes: EntityTypesResource; } interface VersionsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Version; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Version, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Version; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Version, ): Request; } interface AgentResource { export(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ExportAgentRequest; }): Request; export( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ExportAgentRequest, ): Request; getFulfillment(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; getValidationResult(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; import(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ImportAgentRequest; }): Request; import( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ImportAgentRequest, ): Request; restore(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2RestoreAgentRequest; }): Request; restore( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2RestoreAgentRequest, ): Request; search(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; train(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2TrainAgentRequest; }): Request; train( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2TrainAgentRequest, ): Request; updateFulfillment(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Fulfillment; }): Request; updateFulfillment( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Fulfillment, ): Request; entityTypes: EntityTypesResource; environments: EnvironmentsResource; intents: IntentsResource; knowledgeBases: KnowledgeBasesResource; sessions: SessionsResource; versions: VersionsResource; } interface AnswerRecordsResource { list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2AnswerRecord; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2AnswerRecord, ): Request; } interface ConversationDatasetsResource { get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; importConversationData(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ImportConversationDataRequest; }): Request; importConversationData( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ImportConversationDataRequest, ): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface EvaluationsResource { get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface ConversationModelsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ConversationModel; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ConversationModel, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; deploy(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2DeployConversationModelRequest; }): Request; deploy( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2DeployConversationModelRequest, ): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; undeploy(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2UndeployConversationModelRequest; }): Request; undeploy( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2UndeployConversationModelRequest, ): Request; evaluations: EvaluationsResource; } interface ConversationProfilesResource { clearSuggestionFeatureConfig(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationProfile: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest; }): Request; clearSuggestionFeatureConfig( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationProfile: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest, ): Request; create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ConversationProfile; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ConversationProfile, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ConversationProfile; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ConversationProfile, ): Request; setSuggestionFeatureConfig(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationProfile: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest; }): Request; setSuggestionFeatureConfig( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationProfile: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest, ): Request; } interface MessagesResource { list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface SuggestionsResource { suggestArticles(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SuggestArticlesRequest; }): Request; suggestArticles( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SuggestArticlesRequest, ): Request; suggestFaqAnswers(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SuggestFaqAnswersRequest; }): Request; suggestFaqAnswers( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SuggestFaqAnswersRequest, ): Request; suggestKnowledgeAssist(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest; }): Request; suggestKnowledgeAssist( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest, ): Request; suggestSmartReplies(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SuggestSmartRepliesRequest; }): Request; suggestSmartReplies( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SuggestSmartRepliesRequest, ): Request; } interface ParticipantsResource { analyzeContent(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; participant: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2AnalyzeContentRequest; }): Request; analyzeContent( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; participant: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2AnalyzeContentRequest, ): Request; create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Participant; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Participant, ): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Participant; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Participant, ): Request; suggestions: SuggestionsResource; } interface SuggestionsResource { generate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2GenerateSuggestionsRequest; }): Request; generate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2GenerateSuggestionsRequest, ): Request; searchKnowledge(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SearchKnowledgeRequest; }): Request; searchKnowledge( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SearchKnowledgeRequest, ): Request; suggestConversationSummary(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SuggestConversationSummaryRequest; }): Request; suggestConversationSummary( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SuggestConversationSummaryRequest, ): Request; } interface ConversationsResource { complete(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2CompleteConversationRequest; }): Request; complete( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2CompleteConversationRequest, ): Request; create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Conversation; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Conversation, ): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; messages: MessagesResource; participants: ParticipantsResource; suggestions: SuggestionsResource; } interface GeneratorsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; generatorId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Generator; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; generatorId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Generator, ): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface DocumentsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Document; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Document, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; export(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ExportDocumentRequest; }): Request; export( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ExportDocumentRequest, ): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; import(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ImportDocumentsRequest; }): Request; import( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ImportDocumentsRequest, ): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Document; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Document, ): Request; reload(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ReloadDocumentRequest; }): Request; reload( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ReloadDocumentRequest, ): Request; } interface KnowledgeBasesResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2KnowledgeBase; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2KnowledgeBase, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; force?: boolean; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2KnowledgeBase; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2KnowledgeBase, ): Request; documents: DocumentsResource; } interface EntitiesResource { batchCreate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchCreateEntitiesRequest; }): Request; batchCreate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchCreateEntitiesRequest, ): Request; batchDelete(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest; }): Request; batchDelete( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchDeleteEntitiesRequest, ): Request; batchUpdate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest; }): Request; batchUpdate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchUpdateEntitiesRequest, ): Request; } interface EntityTypesResource { batchDelete(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest; }): Request; batchDelete( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest, ): Request; batchUpdate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest; }): Request; batchUpdate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest, ): Request; create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2EntityType; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2EntityType, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2EntityType; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2EntityType, ): Request; entities: EntitiesResource; } interface IntentsResource { list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface ContextsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Context; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Context, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Context; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Context, ): Request; } interface EntityTypesResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SessionEntityType; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SessionEntityType, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SessionEntityType; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SessionEntityType, ): Request; } interface SessionsResource { deleteContexts(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; detectIntent(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; session: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2DetectIntentRequest; }): Request; detectIntent( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; session: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2DetectIntentRequest, ): Request; contexts: ContextsResource; entityTypes: EntityTypesResource; } interface UsersResource { sessions: SessionsResource; } interface EnvironmentsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; environmentId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Environment; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; environmentId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Environment, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; getHistory(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; allowLoadToDraftAndDiscardChanges?: boolean; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Environment; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; allowLoadToDraftAndDiscardChanges?: boolean; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Environment, ): Request; intents: IntentsResource; users: UsersResource; } interface IntentsResource { batchDelete(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchDeleteIntentsRequest; }): Request; batchDelete( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchDeleteIntentsRequest, ): Request; batchUpdate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2BatchUpdateIntentsRequest; }): Request; batchUpdate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2BatchUpdateIntentsRequest, ): Request; create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Intent; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Intent, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Intent; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; intentView?: 'INTENT_VIEW_UNSPECIFIED' | 'INTENT_VIEW_FULL'; /** 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; languageCode?: string; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Intent, ): Request; } interface ContextsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Context; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Context, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Context; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Context, ): Request; } interface EntityTypesResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SessionEntityType; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SessionEntityType, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SessionEntityType; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SessionEntityType, ): Request; } interface SessionsResource { deleteContexts(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; detectIntent(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; session: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2DetectIntentRequest; }): Request; detectIntent( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; session: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2DetectIntentRequest, ): Request; contexts: ContextsResource; entityTypes: EntityTypesResource; } interface VersionsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Version; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Version, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Version; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Version, ): Request; } interface AgentResource { export(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ExportAgentRequest; }): Request; export( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ExportAgentRequest, ): Request; getFulfillment(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; getValidationResult(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; languageCode?: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; import(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ImportAgentRequest; }): Request; import( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ImportAgentRequest, ): Request; restore(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2RestoreAgentRequest; }): Request; restore( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2RestoreAgentRequest, ): Request; search(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; train(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2TrainAgentRequest; }): Request; train( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2TrainAgentRequest, ): Request; updateFulfillment(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Fulfillment; }): Request; updateFulfillment( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Fulfillment, ): Request; entityTypes: EntityTypesResource; environments: EnvironmentsResource; intents: IntentsResource; sessions: SessionsResource; versions: VersionsResource; } interface AnswerRecordsResource { list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2AnswerRecord; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2AnswerRecord, ): Request; } interface ConversationDatasetsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ConversationDataset; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ConversationDataset, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; importConversationData(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ImportConversationDataRequest; }): Request; importConversationData( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ImportConversationDataRequest, ): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface EvaluationsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest, ): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface ConversationModelsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ConversationModel; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ConversationModel, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; deploy(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2DeployConversationModelRequest; }): Request; deploy( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2DeployConversationModelRequest, ): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; undeploy(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2UndeployConversationModelRequest; }): Request; undeploy( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2UndeployConversationModelRequest, ): Request; evaluations: EvaluationsResource; } interface ConversationProfilesResource { clearSuggestionFeatureConfig(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationProfile: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest; }): Request; clearSuggestionFeatureConfig( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationProfile: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest, ): Request; create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ConversationProfile; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ConversationProfile, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ConversationProfile; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ConversationProfile, ): Request; setSuggestionFeatureConfig(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationProfile: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest; }): Request; setSuggestionFeatureConfig( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationProfile: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest, ): Request; } interface MessagesResource { list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface SuggestionsResource { suggestArticles(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SuggestArticlesRequest; }): Request; suggestArticles( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SuggestArticlesRequest, ): Request; suggestFaqAnswers(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SuggestFaqAnswersRequest; }): Request; suggestFaqAnswers( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SuggestFaqAnswersRequest, ): Request; suggestKnowledgeAssist(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest; }): Request; suggestKnowledgeAssist( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest, ): Request; suggestSmartReplies(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SuggestSmartRepliesRequest; }): Request; suggestSmartReplies( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SuggestSmartRepliesRequest, ): Request; } interface ParticipantsResource { analyzeContent(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; participant: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2AnalyzeContentRequest; }): Request; analyzeContent( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; participant: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2AnalyzeContentRequest, ): Request; create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Participant; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Participant, ): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Participant; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Participant, ): Request; suggestions: SuggestionsResource; } interface SuggestionsResource { generate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2GenerateSuggestionsRequest; }): Request; generate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2GenerateSuggestionsRequest, ): Request; searchKnowledge(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SearchKnowledgeRequest; }): Request; searchKnowledge( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SearchKnowledgeRequest, ): Request; suggestConversationSummary(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SuggestConversationSummaryRequest; }): Request; suggestConversationSummary( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SuggestConversationSummaryRequest, ): Request; } interface ConversationsResource { complete(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2CompleteConversationRequest; }): Request; complete( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2CompleteConversationRequest, ): Request; create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Conversation; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversationId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Conversation, ): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; ingestContextReferences(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2IngestContextReferencesRequest; }): Request; ingestContextReferences( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; conversation: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2IngestContextReferencesRequest, ): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; messages: MessagesResource; participants: ParticipantsResource; suggestions: SuggestionsResource; } interface EncryptionSpecResource { initialize(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2InitializeEncryptionSpecRequest; }): Request; initialize( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, ): Request; } interface EvaluationsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2GeneratorEvaluation; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2GeneratorEvaluation, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface GeneratorsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; generatorId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Generator; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; generatorId?: 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Generator, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Generator; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Generator, ): Request; evaluations: EvaluationsResource; } interface DocumentsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Document; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Document, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; export(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ExportDocumentRequest; }): Request; export( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ExportDocumentRequest, ): Request; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; import(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ImportDocumentsRequest; }): Request; import( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ImportDocumentsRequest, ): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Document; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Document, ): Request; reload(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2ReloadDocumentRequest; }): Request; reload( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2ReloadDocumentRequest, ): Request; } interface KnowledgeBasesResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2KnowledgeBase; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2KnowledgeBase, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; force?: boolean; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2KnowledgeBase; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2KnowledgeBase, ): Request; documents: DocumentsResource; } interface OperationsResource { cancel(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; pageSize?: number; pageToken?: 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; returnPartialSuccess?: boolean; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface SipTrunksResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SipTrunk; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SipTrunk, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SipTrunk; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SipTrunk, ): Request; } interface StatelessSuggestionResource { generate(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest; }): Request; generate( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest, ): Request; } interface SuggestionsResource { generateStatelessSummary(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2GenerateStatelessSummaryRequest; }): Request; generateStatelessSummary( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2GenerateStatelessSummaryRequest, ): Request; searchKnowledge(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SearchKnowledgeRequest; }): Request; searchKnowledge( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SearchKnowledgeRequest, ): Request; } interface ToolsResource { create(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; toolId?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Tool; }): Request; create( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; toolId?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Tool, ): Request; delete(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; pageSize?: number; pageToken?: string; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; patch(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Tool; }): Request; patch( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Tool, ): Request; } interface LocationsResource { deleteAgent(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; getAgent(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; getEncryptionSpec(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; extraLocationTypes?: string | string[]; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; pageSize?: number; pageToken?: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; setAgent(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Agent; }): Request; setAgent( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Agent, ): Request; agent: AgentResource; answerRecords: AnswerRecordsResource; conversationDatasets: ConversationDatasetsResource; conversationModels: ConversationModelsResource; conversationProfiles: ConversationProfilesResource; conversations: ConversationsResource; encryptionSpec: EncryptionSpecResource; generators: GeneratorsResource; knowledgeBases: KnowledgeBasesResource; operations: OperationsResource; sipTrunks: SipTrunksResource; statelessSuggestion: StatelessSuggestionResource; suggestions: SuggestionsResource; tools: ToolsResource; } interface OperationsResource { cancel(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; get(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; name: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; list(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** JSONP */ callback?: string; /** Selector specifying which fields to include in a partial response. */ fields?: string; filter?: 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; name: string; /** OAuth 2.0 token for the current user. */ oauth_token?: string; pageSize?: number; pageToken?: 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; returnPartialSuccess?: boolean; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; } interface SuggestionsResource { generateStatelessSummary(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2GenerateStatelessSummaryRequest; }): Request; generateStatelessSummary( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2GenerateStatelessSummaryRequest, ): Request; searchKnowledge(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2SearchKnowledgeRequest; }): Request; searchKnowledge( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2SearchKnowledgeRequest, ): Request; } interface ProjectsResource { deleteAgent(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request<{}>; getAgent(request?: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }): Request; setAgent(request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** Request body */ resource: GoogleCloudDialogflowV2Agent; }): Request; setAgent( request: { /** V1 error format. */ '$.xgafv'?: '1' | '2'; /** OAuth access token. */ access_token?: string; /** Data format for response. */ alt?: 'json' | 'media' | 'proto'; /** 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; parent: 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; updateMask?: string; /** Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; /** Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; }, body: GoogleCloudDialogflowV2Agent, ): Request; agent: AgentResource; answerRecords: AnswerRecordsResource; conversationDatasets: ConversationDatasetsResource; conversationModels: ConversationModelsResource; conversationProfiles: ConversationProfilesResource; conversations: ConversationsResource; generators: GeneratorsResource; knowledgeBases: KnowledgeBasesResource; locations: LocationsResource; operations: OperationsResource; suggestions: SuggestionsResource; } const projects: ProjectsResource; } }