/opt/canhelp/node_modules/googleapis/build/src/apis/dialogflow
Edit: /opt/canhelp/node_modules/googleapis/build/src/apis/dialogflow/v2.d.ts (1271791B)
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
import { Readable } from 'stream';
export declare namespace dialogflow_v2 {
export interface Options extends GlobalOptions {
version: 'v2';
}
interface StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth;
/**
* V1 error format.
*/
'$.xgafv'?: string;
/**
* OAuth access token.
*/
access_token?: string;
/**
* Data format for response.
*/
alt?: string;
/**
* JSONP
*/
callback?: string;
/**
* Selector specifying which fields to include in a partial response.
*/
fields?: string;
/**
* API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
*/
key?: string;
/**
* OAuth 2.0 token for the current user.
*/
oauth_token?: string;
/**
* Returns response with indentations and line breaks.
*/
prettyPrint?: boolean;
/**
* Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
*/
quotaUser?: string;
/**
* Legacy upload protocol for media (e.g. "media", "multipart").
*/
uploadType?: string;
/**
* Upload protocol for media (e.g. "raw", "multipart").
*/
upload_protocol?: string;
}
/**
* Dialogflow API
*
* Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).
*
* @example
* ```js
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
* ```
*/
export class Dialogflow {
context: APIRequestContext;
projects: Resource$Projects;
constructor(options: GlobalOptions, google?: GoogleConfigurable);
}
export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettings {
audioExportGcsDestination?: Schema$GoogleCloudDialogflowCxV3GcsDestination;
dtmfSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings;
loggingSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings;
speechSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings;
}
export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings {
enabled?: boolean | null;
endpointingTimeoutDuration?: string | null;
finishDigit?: string | null;
interdigitTimeoutDuration?: string | null;
maxDigits?: number | null;
}
export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings {
enableConsentBasedRedaction?: boolean | null;
enableInteractionLogging?: boolean | null;
enableStackdriverLogging?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings {
endpointerSensitivity?: number | null;
models?: {
[key: string]: string;
} | null;
noSpeechTimeout?: string | null;
useTimeoutBasedEndpointing?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3AudioInput {
audio?: string | null;
config?: Schema$GoogleCloudDialogflowCxV3InputAudioConfig;
}
export interface Schema$GoogleCloudDialogflowCxV3BargeInConfig {
noBargeInDuration?: string | null;
totalDuration?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata {
errors?: Schema$GoogleCloudDialogflowCxV3TestError[];
}
export interface Schema$GoogleCloudDialogflowCxV3BatchRunTestCasesResponse {
results?: Schema$GoogleCloudDialogflowCxV3TestCaseResult[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings {
audioExportGcsDestination?: Schema$GoogleCloudDialogflowCxV3beta1GcsDestination;
dtmfSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings;
loggingSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings;
speechSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings {
enabled?: boolean | null;
endpointingTimeoutDuration?: string | null;
finishDigit?: string | null;
interdigitTimeoutDuration?: string | null;
maxDigits?: number | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings {
enableConsentBasedRedaction?: boolean | null;
enableInteractionLogging?: boolean | null;
enableStackdriverLogging?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings {
endpointerSensitivity?: number | null;
models?: {
[key: string]: string;
} | null;
noSpeechTimeout?: string | null;
useTimeoutBasedEndpointing?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1AudioInput {
audio?: string | null;
config?: Schema$GoogleCloudDialogflowCxV3beta1InputAudioConfig;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1BargeInConfig {
noBargeInDuration?: string | null;
totalDuration?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata {
errors?: Schema$GoogleCloudDialogflowCxV3beta1TestError[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse {
results?: Schema$GoogleCloudDialogflowCxV3beta1TestCaseResult[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ContinuousTestResult {
name?: string | null;
result?: string | null;
runTime?: string | null;
testCaseResults?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationSignals {
turnSignals?: Schema$GoogleCloudDialogflowCxV3beta1TurnSignals;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationTurn {
userInput?: Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput;
virtualAgentOutput?: Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput {
enableSentimentAnalysis?: boolean | null;
injectedParameters?: {
[key: string]: any;
} | null;
input?: Schema$GoogleCloudDialogflowCxV3beta1QueryInput;
isWebhookEnabled?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput {
currentPage?: Schema$GoogleCloudDialogflowCxV3beta1Page;
diagnosticInfo?: {
[key: string]: any;
} | null;
differences?: Schema$GoogleCloudDialogflowCxV3beta1TestRunDifference[];
sessionParameters?: {
[key: string]: any;
} | null;
status?: Schema$GoogleRpcStatus;
textResponses?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageText[];
triggeredIntent?: Schema$GoogleCloudDialogflowCxV3beta1Intent;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata {
version?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnection {
dataStore?: string | null;
dataStoreType?: string | null;
documentProcessingMode?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1DeployFlowMetadata {
testErrors?: Schema$GoogleCloudDialogflowCxV3beta1TestError[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1DeployFlowResponse {
deployment?: string | null;
environment?: Schema$GoogleCloudDialogflowCxV3beta1Environment;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1DtmfInput {
digits?: string | null;
finishDigit?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1Environment {
description?: string | null;
displayName?: string | null;
name?: string | null;
testCasesConfig?: Schema$GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig;
updateTime?: string | null;
versionConfigs?: Schema$GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig[];
webhookConfig?: Schema$GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig {
enableContinuousRun?: boolean | null;
enablePredeploymentRun?: boolean | null;
testCases?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig {
version?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig {
webhookOverrides?: Schema$GoogleCloudDialogflowCxV3beta1Webhook[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1EventHandler {
event?: string | null;
name?: string | null;
targetFlow?: string | null;
targetPage?: string | null;
targetPlaybook?: string | null;
triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1EventInput {
event?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ExportAgentResponse {
agentContent?: string | null;
agentUri?: string | null;
commitSha?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse {
entityTypesContent?: Schema$GoogleCloudDialogflowCxV3beta1InlineDestination;
entityTypesUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ExportFlowResponse {
flowContent?: string | null;
flowUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ExportIntentsResponse {
intentsContent?: Schema$GoogleCloudDialogflowCxV3beta1InlineDestination;
intentsUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse {
content?: string | null;
gcsUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1Form {
parameters?: Schema$GoogleCloudDialogflowCxV3beta1FormParameter[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1FormParameter {
advancedSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings;
defaultValue?: any | null;
displayName?: string | null;
entityType?: string | null;
fillBehavior?: Schema$GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior;
isList?: boolean | null;
redact?: boolean | null;
required?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior {
initialPromptFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment;
repromptEventHandlers?: Schema$GoogleCloudDialogflowCxV3beta1EventHandler[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1Fulfillment {
advancedSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings;
conditionalCases?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases[];
enableGenerativeFallback?: boolean | null;
generators?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings[];
messages?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage[];
returnPartialResponses?: boolean | null;
setParameterActions?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction[];
tag?: string | null;
webhook?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases {
cases?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase {
caseContent?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent[];
condition?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent {
additionalCases?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases;
message?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings {
generator?: string | null;
inputParameters?: {
[key: string]: string;
} | null;
outputParameter?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction {
parameter?: string | null;
value?: any | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1GcsDestination {
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse {
conflictingResources?: Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources;
entityTypes?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources {
entityDisplayNames?: string[] | null;
entityTypeDisplayNames?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ImportFlowResponse {
flow?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsResponse {
conflictingResources?: Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources;
intents?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources {
entityDisplayNames?: string[] | null;
intentDisplayNames?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata {
errors?: Schema$GoogleCloudDialogflowCxV3beta1TestCaseError[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse {
names?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1InlineDestination {
content?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1InputAudioConfig {
audioEncoding?: string | null;
bargeInConfig?: Schema$GoogleCloudDialogflowCxV3beta1BargeInConfig;
enableWordInfo?: boolean | null;
model?: string | null;
modelVariant?: string | null;
optOutConformerModelMigration?: boolean | null;
phraseHints?: string[] | null;
sampleRateHertz?: number | null;
singleUtterance?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1Intent {
description?: string | null;
displayName?: string | null;
isFallback?: boolean | null;
labels?: {
[key: string]: string;
} | null;
name?: string | null;
parameters?: Schema$GoogleCloudDialogflowCxV3beta1IntentParameter[];
priority?: number | null;
trainingPhrases?: Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1IntentInput {
intent?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1IntentParameter {
entityType?: string | null;
id?: string | null;
isList?: boolean | null;
redact?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase {
id?: string | null;
parts?: Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart[];
repeatCount?: number | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart {
parameterId?: string | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings {
dataStoreConnections?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnection[];
enabled?: boolean | null;
targetFlow?: string | null;
targetPage?: string | null;
triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1LanguageInfo {
confidenceScore?: number | null;
inputLanguageCode?: string | null;
resolvedLanguageCode?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1Page {
advancedSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings;
description?: string | null;
displayName?: string | null;
entryFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment;
eventHandlers?: Schema$GoogleCloudDialogflowCxV3beta1EventHandler[];
form?: Schema$GoogleCloudDialogflowCxV3beta1Form;
knowledgeConnectorSettings?: Schema$GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings;
name?: string | null;
transitionRouteGroups?: string[] | null;
transitionRoutes?: Schema$GoogleCloudDialogflowCxV3beta1TransitionRoute[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1PageInfo {
currentPage?: string | null;
displayName?: string | null;
formInfo?: Schema$GoogleCloudDialogflowCxV3beta1PageInfoFormInfo;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1PageInfoFormInfo {
parameterInfo?: Schema$GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo {
displayName?: string | null;
justCollected?: boolean | null;
required?: boolean | null;
state?: string | null;
value?: any | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1QueryInput {
audio?: Schema$GoogleCloudDialogflowCxV3beta1AudioInput;
dtmf?: Schema$GoogleCloudDialogflowCxV3beta1DtmfInput;
event?: Schema$GoogleCloudDialogflowCxV3beta1EventInput;
intent?: Schema$GoogleCloudDialogflowCxV3beta1IntentInput;
languageCode?: string | null;
text?: Schema$GoogleCloudDialogflowCxV3beta1TextInput;
toolCallResult?: Schema$GoogleCloudDialogflowCxV3beta1ToolCallResult;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage {
channel?: string | null;
conversationSuccess?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess;
endInteraction?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction;
knowledgeInfoCard?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard;
liveAgentHandoff?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff;
mixedAudio?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio;
outputAudioText?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText;
payload?: {
[key: string]: any;
} | null;
playAudio?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio;
telephonyTransferCall?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall;
text?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageText;
toolCall?: Schema$GoogleCloudDialogflowCxV3beta1ToolCall;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess {
metadata?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction {
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard {
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff {
metadata?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio {
segments?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment {
allowPlaybackInterruption?: boolean | null;
audio?: string | null;
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText {
allowPlaybackInterruption?: boolean | null;
ssml?: string | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio {
allowPlaybackInterruption?: boolean | null;
audioUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall {
phoneNumber?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageText {
allowPlaybackInterruption?: boolean | null;
text?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata {
errors?: Schema$GoogleCloudDialogflowCxV3beta1TestError[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse {
continuousTestResult?: Schema$GoogleCloudDialogflowCxV3beta1ContinuousTestResult;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3beta1RunTestCaseResponse {
result?: Schema$GoogleCloudDialogflowCxV3beta1TestCaseResult;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1SessionInfo {
parameters?: {
[key: string]: any;
} | null;
session?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1TestCase {
creationTime?: string | null;
displayName?: string | null;
lastTestResult?: Schema$GoogleCloudDialogflowCxV3beta1TestCaseResult;
name?: string | null;
notes?: string | null;
tags?: string[] | null;
testCaseConversationTurns?: Schema$GoogleCloudDialogflowCxV3beta1ConversationTurn[];
testConfig?: Schema$GoogleCloudDialogflowCxV3beta1TestConfig;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1TestCaseError {
status?: Schema$GoogleRpcStatus;
testCase?: Schema$GoogleCloudDialogflowCxV3beta1TestCase;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1TestCaseResult {
conversationTurns?: Schema$GoogleCloudDialogflowCxV3beta1ConversationTurn[];
environment?: string | null;
name?: string | null;
testResult?: string | null;
testTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1TestConfig {
flow?: string | null;
page?: string | null;
trackingParameters?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1TestError {
status?: Schema$GoogleRpcStatus;
testCase?: string | null;
testTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1TestRunDifference {
description?: string | null;
type?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1TextInput {
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ToolCall {
action?: string | null;
inputParameters?: {
[key: string]: any;
} | null;
tool?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ToolCallResult {
action?: string | null;
error?: Schema$GoogleCloudDialogflowCxV3beta1ToolCallResultError;
outputParameters?: {
[key: string]: any;
} | null;
tool?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1ToolCallResultError {
message?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1TransitionRoute {
condition?: string | null;
description?: string | null;
intent?: string | null;
name?: string | null;
targetFlow?: string | null;
targetPage?: string | null;
triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1TurnSignals {
agentEscalated?: boolean | null;
dtmfUsed?: boolean | null;
failureReasons?: string[] | null;
noMatch?: boolean | null;
noUserInput?: boolean | null;
reachedEndPage?: boolean | null;
sentimentMagnitude?: number | null;
sentimentScore?: number | null;
userEscalated?: boolean | null;
webhookStatuses?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1Webhook {
disabled?: boolean | null;
displayName?: string | null;
genericWebService?: Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebService;
name?: string | null;
serviceDirectory?: Schema$GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig;
timeout?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebService {
allowedCaCerts?: string[] | null;
httpMethod?: string | null;
oauthConfig?: Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig;
parameterMapping?: {
[key: string]: string;
} | null;
password?: string | null;
requestBody?: string | null;
requestHeaders?: {
[key: string]: string;
} | null;
secretVersionForUsernamePassword?: string | null;
secretVersionsForRequestHeaders?: {
[key: string]: Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue;
} | null;
serviceAccountAuthConfig?: Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig;
serviceAgentAuth?: string | null;
uri?: string | null;
username?: string | null;
webhookType?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig {
clientId?: string | null;
clientSecret?: string | null;
scopes?: string[] | null;
secretVersionForClientSecret?: string | null;
tokenEndpoint?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue {
secretVersion?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig {
serviceAccount?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookRequest {
detectIntentResponseId?: string | null;
dtmfDigits?: string | null;
fulfillmentInfo?: Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo;
intentInfo?: Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo;
languageCode?: string | null;
languageInfo?: Schema$GoogleCloudDialogflowCxV3beta1LanguageInfo;
messages?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage[];
pageInfo?: Schema$GoogleCloudDialogflowCxV3beta1PageInfo;
payload?: {
[key: string]: any;
} | null;
sentimentAnalysisResult?: Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult;
sessionInfo?: Schema$GoogleCloudDialogflowCxV3beta1SessionInfo;
text?: string | null;
transcript?: string | null;
triggerEvent?: string | null;
triggerIntent?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo {
tag?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo {
confidence?: number | null;
displayName?: string | null;
lastMatchedIntent?: string | null;
parameters?: {
[key: string]: Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue;
} | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue {
originalValue?: string | null;
resolvedValue?: any | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult {
magnitude?: number | null;
score?: number | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookResponse {
fulfillmentResponse?: Schema$GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse;
pageInfo?: Schema$GoogleCloudDialogflowCxV3beta1PageInfo;
payload?: {
[key: string]: any;
} | null;
sessionInfo?: Schema$GoogleCloudDialogflowCxV3beta1SessionInfo;
targetFlow?: string | null;
targetPage?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse {
mergeBehavior?: string | null;
messages?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage[];
}
export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig {
genericWebService?: Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebService;
service?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ContinuousTestResult {
name?: string | null;
result?: string | null;
runTime?: string | null;
testCaseResults?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ConversationSignals {
turnSignals?: Schema$GoogleCloudDialogflowCxV3TurnSignals;
}
export interface Schema$GoogleCloudDialogflowCxV3ConversationTurn {
userInput?: Schema$GoogleCloudDialogflowCxV3ConversationTurnUserInput;
virtualAgentOutput?: Schema$GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput;
}
export interface Schema$GoogleCloudDialogflowCxV3ConversationTurnUserInput {
enableSentimentAnalysis?: boolean | null;
injectedParameters?: {
[key: string]: any;
} | null;
input?: Schema$GoogleCloudDialogflowCxV3QueryInput;
isWebhookEnabled?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput {
currentPage?: Schema$GoogleCloudDialogflowCxV3Page;
diagnosticInfo?: {
[key: string]: any;
} | null;
differences?: Schema$GoogleCloudDialogflowCxV3TestRunDifference[];
sessionParameters?: {
[key: string]: any;
} | null;
status?: Schema$GoogleRpcStatus;
textResponses?: Schema$GoogleCloudDialogflowCxV3ResponseMessageText[];
triggeredIntent?: Schema$GoogleCloudDialogflowCxV3Intent;
}
export interface Schema$GoogleCloudDialogflowCxV3CreateVersionOperationMetadata {
version?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnection {
dataStore?: string | null;
dataStoreType?: string | null;
documentProcessingMode?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3DeployFlowMetadata {
testErrors?: Schema$GoogleCloudDialogflowCxV3TestError[];
}
export interface Schema$GoogleCloudDialogflowCxV3DeployFlowResponse {
deployment?: string | null;
environment?: Schema$GoogleCloudDialogflowCxV3Environment;
}
export interface Schema$GoogleCloudDialogflowCxV3DtmfInput {
digits?: string | null;
finishDigit?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3Environment {
description?: string | null;
displayName?: string | null;
name?: string | null;
testCasesConfig?: Schema$GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig;
updateTime?: string | null;
versionConfigs?: Schema$GoogleCloudDialogflowCxV3EnvironmentVersionConfig[];
webhookConfig?: Schema$GoogleCloudDialogflowCxV3EnvironmentWebhookConfig;
}
export interface Schema$GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig {
enableContinuousRun?: boolean | null;
enablePredeploymentRun?: boolean | null;
testCases?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3EnvironmentVersionConfig {
version?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3EnvironmentWebhookConfig {
webhookOverrides?: Schema$GoogleCloudDialogflowCxV3Webhook[];
}
export interface Schema$GoogleCloudDialogflowCxV3EventHandler {
event?: string | null;
name?: string | null;
targetFlow?: string | null;
targetPage?: string | null;
targetPlaybook?: string | null;
triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3Fulfillment;
}
export interface Schema$GoogleCloudDialogflowCxV3EventInput {
event?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ExportAgentResponse {
agentContent?: string | null;
agentUri?: string | null;
commitSha?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ExportEntityTypesMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3ExportEntityTypesResponse {
entityTypesContent?: Schema$GoogleCloudDialogflowCxV3InlineDestination;
entityTypesUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ExportFlowResponse {
flowContent?: string | null;
flowUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ExportIntentsMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3ExportIntentsResponse {
intentsContent?: Schema$GoogleCloudDialogflowCxV3InlineDestination;
intentsUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ExportTestCasesMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3ExportTestCasesResponse {
content?: string | null;
gcsUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3Form {
parameters?: Schema$GoogleCloudDialogflowCxV3FormParameter[];
}
export interface Schema$GoogleCloudDialogflowCxV3FormParameter {
advancedSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettings;
defaultValue?: any | null;
displayName?: string | null;
entityType?: string | null;
fillBehavior?: Schema$GoogleCloudDialogflowCxV3FormParameterFillBehavior;
isList?: boolean | null;
redact?: boolean | null;
required?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3FormParameterFillBehavior {
initialPromptFulfillment?: Schema$GoogleCloudDialogflowCxV3Fulfillment;
repromptEventHandlers?: Schema$GoogleCloudDialogflowCxV3EventHandler[];
}
export interface Schema$GoogleCloudDialogflowCxV3Fulfillment {
advancedSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettings;
conditionalCases?: Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCases[];
enableGenerativeFallback?: boolean | null;
generators?: Schema$GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings[];
messages?: Schema$GoogleCloudDialogflowCxV3ResponseMessage[];
returnPartialResponses?: boolean | null;
setParameterActions?: Schema$GoogleCloudDialogflowCxV3FulfillmentSetParameterAction[];
tag?: string | null;
webhook?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCases {
cases?: Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase[];
}
export interface Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase {
caseContent?: Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent[];
condition?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent {
additionalCases?: Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCases;
message?: Schema$GoogleCloudDialogflowCxV3ResponseMessage;
}
export interface Schema$GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings {
generator?: string | null;
inputParameters?: {
[key: string]: string;
} | null;
outputParameter?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3FulfillmentSetParameterAction {
parameter?: string | null;
value?: any | null;
}
export interface Schema$GoogleCloudDialogflowCxV3GcsDestination {
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ImportEntityTypesMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3ImportEntityTypesResponse {
conflictingResources?: Schema$GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources;
entityTypes?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources {
entityDisplayNames?: string[] | null;
entityTypeDisplayNames?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ImportFlowResponse {
flow?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ImportIntentsMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3ImportIntentsResponse {
conflictingResources?: Schema$GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources;
intents?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources {
entityDisplayNames?: string[] | null;
intentDisplayNames?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ImportTestCasesMetadata {
errors?: Schema$GoogleCloudDialogflowCxV3TestCaseError[];
}
export interface Schema$GoogleCloudDialogflowCxV3ImportTestCasesResponse {
names?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3InlineDestination {
content?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3InputAudioConfig {
audioEncoding?: string | null;
bargeInConfig?: Schema$GoogleCloudDialogflowCxV3BargeInConfig;
enableWordInfo?: boolean | null;
model?: string | null;
modelVariant?: string | null;
optOutConformerModelMigration?: boolean | null;
phraseHints?: string[] | null;
sampleRateHertz?: number | null;
singleUtterance?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3Intent {
description?: string | null;
displayName?: string | null;
isFallback?: boolean | null;
labels?: {
[key: string]: string;
} | null;
name?: string | null;
parameters?: Schema$GoogleCloudDialogflowCxV3IntentParameter[];
priority?: number | null;
trainingPhrases?: Schema$GoogleCloudDialogflowCxV3IntentTrainingPhrase[];
}
export interface Schema$GoogleCloudDialogflowCxV3IntentInput {
intent?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3IntentParameter {
entityType?: string | null;
id?: string | null;
isList?: boolean | null;
redact?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowCxV3IntentTrainingPhrase {
id?: string | null;
parts?: Schema$GoogleCloudDialogflowCxV3IntentTrainingPhrasePart[];
repeatCount?: number | null;
}
export interface Schema$GoogleCloudDialogflowCxV3IntentTrainingPhrasePart {
parameterId?: string | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3KnowledgeConnectorSettings {
dataStoreConnections?: Schema$GoogleCloudDialogflowCxV3DataStoreConnection[];
enabled?: boolean | null;
targetFlow?: string | null;
targetPage?: string | null;
triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3Fulfillment;
}
export interface Schema$GoogleCloudDialogflowCxV3LanguageInfo {
confidenceScore?: number | null;
inputLanguageCode?: string | null;
resolvedLanguageCode?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3Page {
advancedSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettings;
description?: string | null;
displayName?: string | null;
entryFulfillment?: Schema$GoogleCloudDialogflowCxV3Fulfillment;
eventHandlers?: Schema$GoogleCloudDialogflowCxV3EventHandler[];
form?: Schema$GoogleCloudDialogflowCxV3Form;
knowledgeConnectorSettings?: Schema$GoogleCloudDialogflowCxV3KnowledgeConnectorSettings;
name?: string | null;
transitionRouteGroups?: string[] | null;
transitionRoutes?: Schema$GoogleCloudDialogflowCxV3TransitionRoute[];
}
export interface Schema$GoogleCloudDialogflowCxV3PageInfo {
currentPage?: string | null;
displayName?: string | null;
formInfo?: Schema$GoogleCloudDialogflowCxV3PageInfoFormInfo;
}
export interface Schema$GoogleCloudDialogflowCxV3PageInfoFormInfo {
parameterInfo?: Schema$GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo[];
}
export interface Schema$GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo {
displayName?: string | null;
justCollected?: boolean | null;
required?: boolean | null;
state?: string | null;
value?: any | null;
}
export interface Schema$GoogleCloudDialogflowCxV3QueryInput {
audio?: Schema$GoogleCloudDialogflowCxV3AudioInput;
dtmf?: Schema$GoogleCloudDialogflowCxV3DtmfInput;
event?: Schema$GoogleCloudDialogflowCxV3EventInput;
intent?: Schema$GoogleCloudDialogflowCxV3IntentInput;
languageCode?: string | null;
text?: Schema$GoogleCloudDialogflowCxV3TextInput;
toolCallResult?: Schema$GoogleCloudDialogflowCxV3ToolCallResult;
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessage {
channel?: string | null;
conversationSuccess?: Schema$GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess;
endInteraction?: Schema$GoogleCloudDialogflowCxV3ResponseMessageEndInteraction;
knowledgeInfoCard?: Schema$GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard;
liveAgentHandoff?: Schema$GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff;
mixedAudio?: Schema$GoogleCloudDialogflowCxV3ResponseMessageMixedAudio;
outputAudioText?: Schema$GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText;
payload?: {
[key: string]: any;
} | null;
playAudio?: Schema$GoogleCloudDialogflowCxV3ResponseMessagePlayAudio;
responseType?: string | null;
telephonyTransferCall?: Schema$GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall;
text?: Schema$GoogleCloudDialogflowCxV3ResponseMessageText;
toolCall?: Schema$GoogleCloudDialogflowCxV3ToolCall;
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess {
metadata?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageEndInteraction {
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard {
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff {
metadata?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageMixedAudio {
segments?: Schema$GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment[];
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment {
allowPlaybackInterruption?: boolean | null;
audio?: string | null;
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText {
allowPlaybackInterruption?: boolean | null;
ssml?: string | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessagePlayAudio {
allowPlaybackInterruption?: boolean | null;
audioUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall {
phoneNumber?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageText {
allowPlaybackInterruption?: boolean | null;
text?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3RunContinuousTestMetadata {
errors?: Schema$GoogleCloudDialogflowCxV3TestError[];
}
export interface Schema$GoogleCloudDialogflowCxV3RunContinuousTestResponse {
continuousTestResult?: Schema$GoogleCloudDialogflowCxV3ContinuousTestResult;
}
export interface Schema$GoogleCloudDialogflowCxV3RunTestCaseMetadata {
}
export interface Schema$GoogleCloudDialogflowCxV3RunTestCaseResponse {
result?: Schema$GoogleCloudDialogflowCxV3TestCaseResult;
}
export interface Schema$GoogleCloudDialogflowCxV3SessionInfo {
parameters?: {
[key: string]: any;
} | null;
session?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3TestCase {
creationTime?: string | null;
displayName?: string | null;
lastTestResult?: Schema$GoogleCloudDialogflowCxV3TestCaseResult;
name?: string | null;
notes?: string | null;
tags?: string[] | null;
testCaseConversationTurns?: Schema$GoogleCloudDialogflowCxV3ConversationTurn[];
testConfig?: Schema$GoogleCloudDialogflowCxV3TestConfig;
}
export interface Schema$GoogleCloudDialogflowCxV3TestCaseError {
status?: Schema$GoogleRpcStatus;
testCase?: Schema$GoogleCloudDialogflowCxV3TestCase;
}
export interface Schema$GoogleCloudDialogflowCxV3TestCaseResult {
conversationTurns?: Schema$GoogleCloudDialogflowCxV3ConversationTurn[];
environment?: string | null;
name?: string | null;
testResult?: string | null;
testTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3TestConfig {
flow?: string | null;
page?: string | null;
trackingParameters?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3TestError {
status?: Schema$GoogleRpcStatus;
testCase?: string | null;
testTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3TestRunDifference {
description?: string | null;
type?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3TextInput {
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ToolCall {
action?: string | null;
inputParameters?: {
[key: string]: any;
} | null;
tool?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ToolCallResult {
action?: string | null;
error?: Schema$GoogleCloudDialogflowCxV3ToolCallResultError;
outputParameters?: {
[key: string]: any;
} | null;
tool?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3ToolCallResultError {
message?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3TransitionRoute {
condition?: string | null;
description?: string | null;
intent?: string | null;
name?: string | null;
targetFlow?: string | null;
targetPage?: string | null;
triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3Fulfillment;
}
export interface Schema$GoogleCloudDialogflowCxV3TurnSignals {
agentEscalated?: boolean | null;
dtmfUsed?: boolean | null;
failureReasons?: string[] | null;
noMatch?: boolean | null;
noUserInput?: boolean | null;
reachedEndPage?: boolean | null;
sentimentMagnitude?: number | null;
sentimentScore?: number | null;
userEscalated?: boolean | null;
webhookStatuses?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowCxV3Webhook {
disabled?: boolean | null;
displayName?: string | null;
genericWebService?: Schema$GoogleCloudDialogflowCxV3WebhookGenericWebService;
name?: string | null;
serviceDirectory?: Schema$GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig;
timeout?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookGenericWebService {
allowedCaCerts?: string[] | null;
httpMethod?: string | null;
oauthConfig?: Schema$GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig;
parameterMapping?: {
[key: string]: string;
} | null;
password?: string | null;
requestBody?: string | null;
requestHeaders?: {
[key: string]: string;
} | null;
secretVersionForUsernamePassword?: string | null;
secretVersionsForRequestHeaders?: {
[key: string]: Schema$GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue;
} | null;
serviceAccountAuthConfig?: Schema$GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig;
serviceAgentAuth?: string | null;
uri?: string | null;
username?: string | null;
webhookType?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig {
clientId?: string | null;
clientSecret?: string | null;
scopes?: string[] | null;
secretVersionForClientSecret?: string | null;
tokenEndpoint?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue {
secretVersion?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig {
serviceAccount?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookRequest {
detectIntentResponseId?: string | null;
dtmfDigits?: string | null;
fulfillmentInfo?: Schema$GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo;
intentInfo?: Schema$GoogleCloudDialogflowCxV3WebhookRequestIntentInfo;
languageCode?: string | null;
languageInfo?: Schema$GoogleCloudDialogflowCxV3LanguageInfo;
messages?: Schema$GoogleCloudDialogflowCxV3ResponseMessage[];
pageInfo?: Schema$GoogleCloudDialogflowCxV3PageInfo;
payload?: {
[key: string]: any;
} | null;
sentimentAnalysisResult?: Schema$GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult;
sessionInfo?: Schema$GoogleCloudDialogflowCxV3SessionInfo;
text?: string | null;
transcript?: string | null;
triggerEvent?: string | null;
triggerIntent?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo {
tag?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookRequestIntentInfo {
confidence?: number | null;
displayName?: string | null;
lastMatchedIntent?: string | null;
parameters?: {
[key: string]: Schema$GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue;
} | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue {
originalValue?: string | null;
resolvedValue?: any | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult {
magnitude?: number | null;
score?: number | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookResponse {
fulfillmentResponse?: Schema$GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse;
pageInfo?: Schema$GoogleCloudDialogflowCxV3PageInfo;
payload?: {
[key: string]: any;
} | null;
sessionInfo?: Schema$GoogleCloudDialogflowCxV3SessionInfo;
targetFlow?: string | null;
targetPage?: string | null;
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse {
mergeBehavior?: string | null;
messages?: Schema$GoogleCloudDialogflowCxV3ResponseMessage[];
}
export interface Schema$GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig {
genericWebService?: Schema$GoogleCloudDialogflowCxV3WebhookGenericWebService;
service?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2Agent {
apiVersion?: string | null;
avatarUri?: string | null;
classificationThreshold?: number | null;
defaultLanguageCode?: string | null;
description?: string | null;
displayName?: string | null;
enableLogging?: boolean | null;
matchMode?: string | null;
parent?: string | null;
supportedLanguageCodes?: string[] | null;
tier?: string | null;
timeZone?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2AgentAssistantFeedback {
answerRelevance?: string | null;
documentCorrectness?: string | null;
documentEfficiency?: string | null;
knowledgeAssistFeedback?: Schema$GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback;
knowledgeSearchFeedback?: Schema$GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback;
summarizationFeedback?: Schema$GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback;
}
export interface Schema$GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback {
answerCopied?: boolean | null;
clickedUris?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback {
answerCopied?: boolean | null;
clickedUris?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback {
startTime?: string | null;
submitTime?: string | null;
summaryText?: string | null;
textSections?: {
[key: string]: string;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2AgentAssistantRecord {
articleSuggestionAnswer?: Schema$GoogleCloudDialogflowV2ArticleAnswer;
dialogflowAssistAnswer?: Schema$GoogleCloudDialogflowV2DialogflowAssistAnswer;
faqAnswer?: Schema$GoogleCloudDialogflowV2FaqAnswer;
generatorSuggestion?: Schema$GoogleCloudDialogflowV2GeneratorSuggestion;
}
export interface Schema$GoogleCloudDialogflowV2AgentCoachingContext {
instructions?: Schema$GoogleCloudDialogflowV2AgentCoachingInstruction[];
outputLanguageCode?: string | null;
overarchingGuidance?: string | null;
version?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2AgentCoachingInstruction {
agentAction?: string | null;
condition?: string | null;
displayDetails?: string | null;
displayName?: string | null;
duplicateCheckResult?: Schema$GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult;
systemAction?: string | null;
triggeringEvent?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult {
duplicateSuggestions?: Schema$GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion[];
}
export interface Schema$GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion {
answerRecord?: string | null;
similarityScore?: number | null;
suggestionIndex?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2AgentCoachingSuggestion {
agentActionSuggestions?: Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion[];
applicableInstructions?: Schema$GoogleCloudDialogflowV2AgentCoachingInstruction[];
sampleResponses?: Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse[];
}
export interface Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion {
agentAction?: string | null;
duplicateCheckResult?: Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult;
sources?: Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionSources;
}
export interface Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult {
duplicateSuggestions?: Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion[];
}
export interface Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion {
answerRecord?: string | null;
similarityScore?: number | null;
sources?: Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionSources;
suggestionIndex?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse {
duplicateCheckResult?: Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult;
responseText?: string | null;
sources?: Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionSources;
}
export interface Schema$GoogleCloudDialogflowV2AgentCoachingSuggestionSources {
instructionIndexes?: number[] | null;
}
export interface Schema$GoogleCloudDialogflowV2AnalyzeContentRequest {
assistQueryParams?: Schema$GoogleCloudDialogflowV2AssistQueryParameters;
audioInput?: Schema$GoogleCloudDialogflowV2AudioInput;
cxParameters?: {
[key: string]: any;
} | null;
eventInput?: Schema$GoogleCloudDialogflowV2EventInput;
queryParams?: Schema$GoogleCloudDialogflowV2QueryParameters;
replyAudioConfig?: Schema$GoogleCloudDialogflowV2OutputAudioConfig;
requestId?: string | null;
suggestionInput?: Schema$GoogleCloudDialogflowV2SuggestionInput;
textInput?: Schema$GoogleCloudDialogflowV2TextInput;
}
export interface Schema$GoogleCloudDialogflowV2AnalyzeContentResponse {
automatedAgentReply?: Schema$GoogleCloudDialogflowV2AutomatedAgentReply;
dtmfParameters?: Schema$GoogleCloudDialogflowV2DtmfParameters;
endUserSuggestionResults?: Schema$GoogleCloudDialogflowV2SuggestionResult[];
humanAgentSuggestionResults?: Schema$GoogleCloudDialogflowV2SuggestionResult[];
message?: Schema$GoogleCloudDialogflowV2Message;
replyAudio?: Schema$GoogleCloudDialogflowV2OutputAudio;
replyText?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2AnnotatedMessagePart {
entityType?: string | null;
formattedValue?: any | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2AnswerFeedback {
agentAssistantDetailFeedback?: Schema$GoogleCloudDialogflowV2AgentAssistantFeedback;
clicked?: boolean | null;
clickTime?: string | null;
correctnessLevel?: string | null;
displayed?: boolean | null;
displayTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2AnswerRecord {
agentAssistantRecord?: Schema$GoogleCloudDialogflowV2AgentAssistantRecord;
answerFeedback?: Schema$GoogleCloudDialogflowV2AnswerFeedback;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ArticleAnswer {
answerRecord?: string | null;
confidence?: number | null;
metadata?: {
[key: string]: string;
} | null;
snippets?: string[] | null;
title?: string | null;
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ArticleSuggestionModelMetadata {
trainingModelType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2AssistQueryParameters {
documentsMetadataFilters?: {
[key: string]: string;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2AudioInput {
audio?: string | null;
config?: Schema$GoogleCloudDialogflowV2InputAudioConfig;
}
export interface Schema$GoogleCloudDialogflowV2AutomatedAgentConfig {
agent?: string | null;
sessionTtl?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2AutomatedAgentReply {
allowCancellation?: boolean | null;
automatedAgentReplyType?: string | null;
cxCurrentPage?: string | null;
detectIntentResponse?: Schema$GoogleCloudDialogflowV2DetectIntentResponse;
}
export interface Schema$GoogleCloudDialogflowV2BatchCreateEntitiesRequest {
entities?: Schema$GoogleCloudDialogflowV2EntityTypeEntity[];
languageCode?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2BatchDeleteEntitiesRequest {
entityValues?: string[] | null;
languageCode?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest {
entityTypeNames?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2BatchDeleteIntentsRequest {
intents?: Schema$GoogleCloudDialogflowV2Intent[];
}
export interface Schema$GoogleCloudDialogflowV2BatchUpdateEntitiesRequest {
entities?: Schema$GoogleCloudDialogflowV2EntityTypeEntity[];
languageCode?: string | null;
updateMask?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest {
entityTypeBatchInline?: Schema$GoogleCloudDialogflowV2EntityTypeBatch;
entityTypeBatchUri?: string | null;
languageCode?: string | null;
updateMask?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse {
entityTypes?: Schema$GoogleCloudDialogflowV2EntityType[];
}
export interface Schema$GoogleCloudDialogflowV2BatchUpdateIntentsRequest {
intentBatchInline?: Schema$GoogleCloudDialogflowV2IntentBatch;
intentBatchUri?: string | null;
intentView?: string | null;
languageCode?: string | null;
updateMask?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2BatchUpdateIntentsResponse {
intents?: Schema$GoogleCloudDialogflowV2Intent[];
}
export interface Schema$GoogleCloudDialogflowV2beta1AgentCoachingInstruction {
agentAction?: string | null;
condition?: string | null;
displayDetails?: string | null;
displayName?: string | null;
duplicateCheckResult?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult;
systemAction?: string | null;
triggeringEvent?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult {
duplicateSuggestions?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion[];
}
export interface Schema$GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion {
answerRecord?: string | null;
similarityScore?: number | null;
suggestionIndex?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestion {
agentActionSuggestions?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion[];
applicableInstructions?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingInstruction[];
sampleResponses?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse[];
}
export interface Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion {
agentAction?: string | null;
duplicateCheckResult?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult;
sources?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources;
}
export interface Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult {
duplicateSuggestions?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion[];
}
export interface Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion {
answerRecord?: string | null;
similarityScore?: number | null;
sources?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources;
suggestionIndex?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse {
duplicateCheckResult?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult;
responseText?: string | null;
sources?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources;
}
export interface Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources {
instructionIndexes?: number[] | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1AnnotatedMessagePart {
entityType?: string | null;
formattedValue?: any | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ArticleAnswer {
answerRecord?: string | null;
metadata?: {
[key: string]: string;
} | null;
snippets?: string[] | null;
title?: string | null;
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse {
entityTypes?: Schema$GoogleCloudDialogflowV2beta1EntityType[];
}
export interface Schema$GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse {
intents?: Schema$GoogleCloudDialogflowV2beta1Intent[];
}
export interface Schema$GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata {
conversationProfile?: string | null;
createTime?: string | null;
participantRole?: string | null;
suggestionFeatureType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1Context {
lifespanCount?: number | null;
name?: string | null;
parameters?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ConversationEvent {
conversation?: string | null;
errorStatus?: Schema$GoogleRpcStatus;
newMessagePayload?: Schema$GoogleCloudDialogflowV2beta1Message;
newRecognitionResultPayload?: Schema$GoogleCloudDialogflowV2beta1StreamingRecognitionResult;
type?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1DialogflowAssistAnswer {
answerRecord?: string | null;
intentSuggestion?: Schema$GoogleCloudDialogflowV2beta1IntentSuggestion;
queryResult?: Schema$GoogleCloudDialogflowV2beta1QueryResult;
}
export interface Schema$GoogleCloudDialogflowV2beta1EncryptionSpec {
kmsKey?: string | null;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1EntityType {
autoExpansionMode?: string | null;
displayName?: string | null;
enableFuzzyExtraction?: boolean | null;
entities?: Schema$GoogleCloudDialogflowV2beta1EntityTypeEntity[];
kind?: string | null;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1EntityTypeEntity {
synonyms?: string[] | null;
value?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1EventInput {
languageCode?: string | null;
name?: string | null;
parameters?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ExportAgentResponse {
agentContent?: string | null;
agentUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ExportOperationMetadata {
exportedGcsDestination?: Schema$GoogleCloudDialogflowV2beta1GcsDestination;
}
export interface Schema$GoogleCloudDialogflowV2beta1FaqAnswer {
answer?: string | null;
answerRecord?: string | null;
confidence?: number | null;
metadata?: {
[key: string]: string;
} | null;
question?: string | null;
source?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1FreeFormSuggestion {
response?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1GcsDestination {
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse {
generatorSuggestionAnswers?: Schema$GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer[];
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer {
answerRecord?: string | null;
generatorSuggestion?: Schema$GoogleCloudDialogflowV2beta1GeneratorSuggestion;
sourceGenerator?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1GeneratorSuggestion {
agentCoachingSuggestion?: Schema$GoogleCloudDialogflowV2beta1AgentCoachingSuggestion;
freeFormSuggestion?: Schema$GoogleCloudDialogflowV2beta1FreeFormSuggestion;
summarySuggestion?: Schema$GoogleCloudDialogflowV2beta1SummarySuggestion;
toolCallInfo?: Schema$GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo[];
}
export interface Schema$GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo {
toolCall?: Schema$GoogleCloudDialogflowV2beta1ToolCall;
toolCallResult?: Schema$GoogleCloudDialogflowV2beta1ToolCallResult;
}
export interface Schema$GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent {
conversation?: string | null;
participant?: string | null;
suggestionResults?: Schema$GoogleCloudDialogflowV2beta1SuggestionResult[];
}
export interface Schema$GoogleCloudDialogflowV2beta1ImportDocumentsResponse {
warnings?: Schema$GoogleRpcStatus[];
}
export interface Schema$GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo {
contextReferenceRetrieved?: boolean | null;
ingestedParametersDebugInfo?: Schema$GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo[];
projectNotAllowlisted?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfoIngestedParameterDebugInfo {
ingestionStatus?: string | null;
parameter?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata {
request?: Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest;
}
export interface Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest {
encryptionSpec?: Schema$GoogleCloudDialogflowV2beta1EncryptionSpec;
}
export interface Schema$GoogleCloudDialogflowV2beta1Intent {
action?: string | null;
defaultResponsePlatforms?: string[] | null;
displayName?: string | null;
endInteraction?: boolean | null;
events?: string[] | null;
followupIntentInfo?: Schema$GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo[];
inputContextNames?: string[] | null;
isFallback?: boolean | null;
liveAgentHandoff?: boolean | null;
messages?: Schema$GoogleCloudDialogflowV2beta1IntentMessage[];
mlDisabled?: boolean | null;
mlEnabled?: boolean | null;
name?: string | null;
outputContexts?: Schema$GoogleCloudDialogflowV2beta1Context[];
parameters?: Schema$GoogleCloudDialogflowV2beta1IntentParameter[];
parentFollowupIntentName?: string | null;
priority?: number | null;
resetContexts?: boolean | null;
rootFollowupIntentName?: string | null;
trainingPhrases?: Schema$GoogleCloudDialogflowV2beta1IntentTrainingPhrase[];
webhookState?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo {
followupIntentName?: string | null;
parentFollowupIntentName?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessage {
basicCard?: Schema$GoogleCloudDialogflowV2beta1IntentMessageBasicCard;
browseCarouselCard?: Schema$GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard;
card?: Schema$GoogleCloudDialogflowV2beta1IntentMessageCard;
carouselSelect?: Schema$GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect;
image?: Schema$GoogleCloudDialogflowV2beta1IntentMessageImage;
linkOutSuggestion?: Schema$GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion;
listSelect?: Schema$GoogleCloudDialogflowV2beta1IntentMessageListSelect;
mediaContent?: Schema$GoogleCloudDialogflowV2beta1IntentMessageMediaContent;
payload?: {
[key: string]: any;
} | null;
platform?: string | null;
quickReplies?: Schema$GoogleCloudDialogflowV2beta1IntentMessageQuickReplies;
rbmCarouselRichCard?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard;
rbmStandaloneRichCard?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard;
rbmText?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmText;
simpleResponses?: Schema$GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses;
suggestions?: Schema$GoogleCloudDialogflowV2beta1IntentMessageSuggestions;
tableCard?: Schema$GoogleCloudDialogflowV2beta1IntentMessageTableCard;
telephonyPlayAudio?: Schema$GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio;
telephonySynthesizeSpeech?: Schema$GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech;
telephonyTransferCall?: Schema$GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall;
text?: Schema$GoogleCloudDialogflowV2beta1IntentMessageText;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageBasicCard {
buttons?: Schema$GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton[];
formattedText?: string | null;
image?: Schema$GoogleCloudDialogflowV2beta1IntentMessageImage;
subtitle?: string | null;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton {
openUriAction?: Schema$GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction {
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard {
imageDisplayOptions?: string | null;
items?: Schema$GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem[];
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem {
description?: string | null;
footer?: string | null;
image?: Schema$GoogleCloudDialogflowV2beta1IntentMessageImage;
openUriAction?: Schema$GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction {
url?: string | null;
urlTypeHint?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageCard {
buttons?: Schema$GoogleCloudDialogflowV2beta1IntentMessageCardButton[];
imageUri?: string | null;
subtitle?: string | null;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageCardButton {
postback?: string | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect {
items?: Schema$GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem[];
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem {
description?: string | null;
image?: Schema$GoogleCloudDialogflowV2beta1IntentMessageImage;
info?: Schema$GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageColumnProperties {
header?: string | null;
horizontalAlignment?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageImage {
accessibilityText?: string | null;
imageUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion {
destinationName?: string | null;
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageListSelect {
items?: Schema$GoogleCloudDialogflowV2beta1IntentMessageListSelectItem[];
subtitle?: string | null;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageListSelectItem {
description?: string | null;
image?: Schema$GoogleCloudDialogflowV2beta1IntentMessageImage;
info?: Schema$GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageMediaContent {
mediaObjects?: Schema$GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject[];
mediaType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject {
contentUrl?: string | null;
description?: string | null;
icon?: Schema$GoogleCloudDialogflowV2beta1IntentMessageImage;
largeImage?: Schema$GoogleCloudDialogflowV2beta1IntentMessageImage;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageQuickReplies {
quickReplies?: string[] | null;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent {
description?: string | null;
media?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia;
suggestions?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion[];
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia {
fileUri?: string | null;
height?: string | null;
thumbnailUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard {
cardContents?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent[];
cardWidth?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard {
cardContent?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent;
cardOrientation?: string | null;
thumbnailImageAlignment?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction {
dial?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial;
openUrl?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri;
postbackData?: string | null;
shareLocation?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial {
phoneNumber?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri {
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation {
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply {
postbackData?: string | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion {
action?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction;
reply?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmText {
rbmSuggestion?: Schema$GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion[];
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo {
key?: string | null;
synonyms?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse {
displayText?: string | null;
ssml?: string | null;
textToSpeech?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses {
simpleResponses?: Schema$GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse[];
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageSuggestion {
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageSuggestions {
suggestions?: Schema$GoogleCloudDialogflowV2beta1IntentMessageSuggestion[];
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageTableCard {
buttons?: Schema$GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton[];
columnProperties?: Schema$GoogleCloudDialogflowV2beta1IntentMessageColumnProperties[];
image?: Schema$GoogleCloudDialogflowV2beta1IntentMessageImage;
rows?: Schema$GoogleCloudDialogflowV2beta1IntentMessageTableCardRow[];
subtitle?: string | null;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageTableCardCell {
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageTableCardRow {
cells?: Schema$GoogleCloudDialogflowV2beta1IntentMessageTableCardCell[];
dividerAfter?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio {
audioUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech {
ssml?: string | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall {
phoneNumber?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentMessageText {
text?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentParameter {
defaultValue?: string | null;
displayName?: string | null;
entityTypeDisplayName?: string | null;
isList?: boolean | null;
mandatory?: boolean | null;
name?: string | null;
prompts?: string[] | null;
value?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentSuggestion {
description?: string | null;
displayName?: string | null;
intentV2?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentTrainingPhrase {
name?: string | null;
parts?: Schema$GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart[];
timesAddedCount?: number | null;
type?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart {
alias?: string | null;
entityType?: string | null;
text?: string | null;
userDefined?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAnswers {
answers?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer[];
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer {
answer?: string | null;
faqQuestion?: string | null;
matchConfidence?: number | null;
matchConfidenceLevel?: string | null;
source?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer {
answerRecord?: string | null;
knowledgeAssistDebugInfo?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo;
suggestedQuery?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery;
suggestedQueryAnswer?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer;
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer {
answerText?: string | null;
faqSource?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource;
generativeSource?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource;
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource {
question?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource {
snippets?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet[];
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet {
metadata?: {
[key: string]: any;
} | null;
text?: string | null;
title?: string | null;
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery {
queryText?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfo {
datastoreResponseReason?: string | null;
ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2beta1IngestedContextReferenceDebugInfo;
knowledgeAssistBehavior?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior;
queryCategorizationFailureReason?: string | null;
queryGenerationFailureReason?: string | null;
serviceLatency?: Schema$GoogleCloudDialogflowV2beta1ServiceLatency;
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior {
answerGenerationRewriterOn?: boolean | null;
appendedSearchContextCount?: number | null;
conversationTranscriptHasMixedLanguages?: boolean | null;
disableSyncDelivery?: boolean | null;
endUserMetadataIncluded?: boolean | null;
invalidItemsQuerySuggestionSkipped?: boolean | null;
multipleQueriesGenerated?: boolean | null;
previousQueriesIncluded?: boolean | null;
primaryQueryRedactedAndReplaced?: boolean | null;
queryContainedSearchContext?: boolean | null;
queryGenerationAgentLanguageMismatch?: boolean | null;
queryGenerationEndUserLanguageMismatch?: boolean | null;
returnQueryOnly?: boolean | null;
thirdPartyConnectorAllowed?: boolean | null;
useCustomSafetyFilterLevel?: boolean | null;
usePubsubDelivery?: boolean | null;
useTranslatedMessage?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata {
doneTime?: string | null;
exportOperationMetadata?: Schema$GoogleCloudDialogflowV2beta1ExportOperationMetadata;
knowledgeBase?: string | null;
state?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1Message {
content?: string | null;
createTime?: string | null;
languageCode?: string | null;
messageAnnotation?: Schema$GoogleCloudDialogflowV2beta1MessageAnnotation;
name?: string | null;
participant?: string | null;
participantRole?: string | null;
responseMessages?: Schema$GoogleCloudDialogflowV2beta1ResponseMessage[];
sendTime?: string | null;
sentimentAnalysis?: Schema$GoogleCloudDialogflowV2beta1SentimentAnalysisResult;
}
export interface Schema$GoogleCloudDialogflowV2beta1MessageAnnotation {
containEntities?: boolean | null;
parts?: Schema$GoogleCloudDialogflowV2beta1AnnotatedMessagePart[];
}
export interface Schema$GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest {
payload?: {
[key: string]: any;
} | null;
source?: string | null;
version?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1QueryResult {
action?: string | null;
allRequiredParamsPresent?: boolean | null;
cancelsSlotFilling?: boolean | null;
diagnosticInfo?: {
[key: string]: any;
} | null;
fulfillmentMessages?: Schema$GoogleCloudDialogflowV2beta1IntentMessage[];
fulfillmentText?: string | null;
intent?: Schema$GoogleCloudDialogflowV2beta1Intent;
intentDetectionConfidence?: number | null;
knowledgeAnswers?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAnswers;
languageCode?: string | null;
outputContexts?: Schema$GoogleCloudDialogflowV2beta1Context[];
parameters?: {
[key: string]: any;
} | null;
queryText?: string | null;
sentimentAnalysisResult?: Schema$GoogleCloudDialogflowV2beta1SentimentAnalysisResult;
speechRecognitionConfidence?: number | null;
webhookPayload?: {
[key: string]: any;
} | null;
webhookSource?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessage {
endInteraction?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction;
liveAgentHandoff?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff;
mixedAudio?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio;
payload?: {
[key: string]: any;
} | null;
telephonyTransferCall?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall;
text?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageText;
}
export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction {
}
export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff {
metadata?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio {
segments?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment[];
}
export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment {
allowPlaybackInterruption?: boolean | null;
audio?: string | null;
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall {
phoneNumber?: string | null;
sipUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageText {
text?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1Sentiment {
magnitude?: number | null;
score?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1SentimentAnalysisResult {
queryTextSentiment?: Schema$GoogleCloudDialogflowV2beta1Sentiment;
}
export interface Schema$GoogleCloudDialogflowV2beta1ServiceLatency {
internalServiceLatencies?: Schema$GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency[];
}
export interface Schema$GoogleCloudDialogflowV2beta1ServiceLatencyInternalServiceLatency {
completeTime?: string | null;
latencyMs?: number | null;
startTime?: string | null;
step?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1SessionEntityType {
entities?: Schema$GoogleCloudDialogflowV2beta1EntityTypeEntity[];
entityOverrideMode?: string | null;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata {
conversationProfile?: string | null;
createTime?: string | null;
participantRole?: string | null;
suggestionFeatureType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1SmartReplyAnswer {
answerRecord?: string | null;
confidence?: number | null;
reply?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1SpeechWordInfo {
confidence?: number | null;
endOffset?: string | null;
startOffset?: string | null;
word?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1StreamingRecognitionResult {
confidence?: number | null;
dtmfDigits?: Schema$GoogleCloudDialogflowV2beta1TelephonyDtmfEvents;
isFinal?: boolean | null;
languageCode?: string | null;
messageType?: string | null;
speechEndOffset?: string | null;
speechWordInfo?: Schema$GoogleCloudDialogflowV2beta1SpeechWordInfo[];
stability?: number | null;
transcript?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1SuggestArticlesResponse {
articleAnswers?: Schema$GoogleCloudDialogflowV2beta1ArticleAnswer[];
contextSize?: number | null;
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse {
contextSize?: number | null;
dialogflowAssistAnswers?: Schema$GoogleCloudDialogflowV2beta1DialogflowAssistAnswer[];
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse {
contextSize?: number | null;
faqAnswers?: Schema$GoogleCloudDialogflowV2beta1FaqAnswer[];
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1SuggestionResult {
error?: Schema$GoogleRpcStatus;
generateSuggestionsResponse?: Schema$GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse;
suggestArticlesResponse?: Schema$GoogleCloudDialogflowV2beta1SuggestArticlesResponse;
suggestDialogflowAssistsResponse?: Schema$GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse;
suggestEntityExtractionResponse?: Schema$GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse;
suggestFaqAnswersResponse?: Schema$GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse;
suggestKnowledgeAssistResponse?: Schema$GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse;
suggestSmartRepliesResponse?: Schema$GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse;
}
export interface Schema$GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse {
contextSize?: number | null;
knowledgeAssistAnswer?: Schema$GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer;
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse {
contextSize?: number | null;
latestMessage?: string | null;
smartReplyAnswers?: Schema$GoogleCloudDialogflowV2beta1SmartReplyAnswer[];
}
export interface Schema$GoogleCloudDialogflowV2beta1SummarySuggestion {
summarySections?: Schema$GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection[];
}
export interface Schema$GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection {
section?: string | null;
summary?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1TelephonyDtmfEvents {
dtmfEvents?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ToolCall {
action?: string | null;
answerRecord?: string | null;
createTime?: string | null;
inputParameters?: {
[key: string]: any;
} | null;
state?: string | null;
tool?: string | null;
toolDisplayDetails?: string | null;
toolDisplayName?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ToolCallResult {
action?: string | null;
answerRecord?: string | null;
content?: string | null;
createTime?: string | null;
error?: Schema$GoogleCloudDialogflowV2beta1ToolCallResultError;
rawContent?: string | null;
tool?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1ToolCallResultError {
message?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1WebhookRequest {
alternativeQueryResults?: Schema$GoogleCloudDialogflowV2beta1QueryResult[];
originalDetectIntentRequest?: Schema$GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest;
queryResult?: Schema$GoogleCloudDialogflowV2beta1QueryResult;
responseId?: string | null;
session?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2beta1WebhookResponse {
endInteraction?: boolean | null;
followupEventInput?: Schema$GoogleCloudDialogflowV2beta1EventInput;
fulfillmentMessages?: Schema$GoogleCloudDialogflowV2beta1IntentMessage[];
fulfillmentText?: string | null;
liveAgentHandoff?: boolean | null;
outputContexts?: Schema$GoogleCloudDialogflowV2beta1Context[];
payload?: {
[key: string]: any;
} | null;
sessionEntityTypes?: Schema$GoogleCloudDialogflowV2beta1SessionEntityType[];
source?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata {
conversationProfile?: string | null;
createTime?: string | null;
participantRole?: string | null;
suggestionFeatureType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest {
participantRole?: string | null;
suggestionFeatureType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2CompleteConversationRequest {
}
export interface Schema$GoogleCloudDialogflowV2Connection {
connectionId?: string | null;
errorDetails?: Schema$GoogleCloudDialogflowV2ConnectionErrorDetails;
state?: string | null;
updateTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ConnectionErrorDetails {
certificateState?: string | null;
errorMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2Context {
lifespanCount?: number | null;
name?: string | null;
parameters?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2Conversation {
conversationProfile?: string | null;
conversationStage?: string | null;
endTime?: string | null;
ingestedContextReferences?: {
[key: string]: Schema$GoogleCloudDialogflowV2ConversationContextReference;
} | null;
lifecycleState?: string | null;
name?: string | null;
phoneNumber?: Schema$GoogleCloudDialogflowV2ConversationPhoneNumber;
startTime?: string | null;
telephonyConnectionInfo?: Schema$GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo;
}
export interface Schema$GoogleCloudDialogflowV2ConversationContext {
messageEntries?: Schema$GoogleCloudDialogflowV2MessageEntry[];
}
export interface Schema$GoogleCloudDialogflowV2ConversationContextReference {
contextContents?: Schema$GoogleCloudDialogflowV2ConversationContextReferenceContextContent[];
createTime?: string | null;
languageCode?: string | null;
updateMode?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ConversationContextReferenceContextContent {
answerRecord?: string | null;
content?: string | null;
contentFormat?: string | null;
ingestionTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ConversationDataset {
conversationCount?: string | null;
conversationInfo?: Schema$GoogleCloudDialogflowV2ConversationInfo;
createTime?: string | null;
description?: string | null;
displayName?: string | null;
inputConfig?: Schema$GoogleCloudDialogflowV2InputConfig;
name?: string | null;
satisfiesPzi?: boolean | null;
satisfiesPzs?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2ConversationEvent {
conversation?: string | null;
errorStatus?: Schema$GoogleRpcStatus;
newMessagePayload?: Schema$GoogleCloudDialogflowV2Message;
newRecognitionResultPayload?: Schema$GoogleCloudDialogflowV2StreamingRecognitionResult;
type?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ConversationInfo {
languageCode?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ConversationModel {
articleSuggestionModelMetadata?: Schema$GoogleCloudDialogflowV2ArticleSuggestionModelMetadata;
createTime?: string | null;
datasets?: Schema$GoogleCloudDialogflowV2InputDataset[];
displayName?: string | null;
languageCode?: string | null;
name?: string | null;
satisfiesPzi?: boolean | null;
satisfiesPzs?: boolean | null;
smartReplyModelMetadata?: Schema$GoogleCloudDialogflowV2SmartReplyModelMetadata;
state?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ConversationModelEvaluation {
createTime?: string | null;
displayName?: string | null;
evaluationConfig?: Schema$GoogleCloudDialogflowV2EvaluationConfig;
name?: string | null;
rawHumanEvalTemplateCsv?: string | null;
smartReplyMetrics?: Schema$GoogleCloudDialogflowV2SmartReplyMetrics;
}
export interface Schema$GoogleCloudDialogflowV2ConversationPhoneNumber {
countryCode?: number | null;
phoneNumber?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ConversationProfile {
automatedAgentConfig?: Schema$GoogleCloudDialogflowV2AutomatedAgentConfig;
createTime?: string | null;
displayName?: string | null;
humanAgentAssistantConfig?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfig;
humanAgentHandoffConfig?: Schema$GoogleCloudDialogflowV2HumanAgentHandoffConfig;
languageCode?: string | null;
loggingConfig?: Schema$GoogleCloudDialogflowV2LoggingConfig;
name?: string | null;
newMessageEventNotificationConfig?: Schema$GoogleCloudDialogflowV2NotificationConfig;
newRecognitionResultNotificationConfig?: Schema$GoogleCloudDialogflowV2NotificationConfig;
notificationConfig?: Schema$GoogleCloudDialogflowV2NotificationConfig;
securitySettings?: string | null;
sttConfig?: Schema$GoogleCloudDialogflowV2SpeechToTextConfig;
timeZone?: string | null;
ttsConfig?: Schema$GoogleCloudDialogflowV2SynthesizeSpeechConfig;
updateTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo {
dialedNumber?: string | null;
extraMimeContents?: Schema$GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent[];
sdp?: string | null;
sipHeaders?: Schema$GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader[];
}
export interface Schema$GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent {
content?: string | null;
mimeType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader {
name?: string | null;
value?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata {
conversationDataset?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata {
conversationModel?: string | null;
conversationModelEvaluation?: string | null;
createTime?: string | null;
state?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2CreateConversationModelEvaluationRequest {
conversationModelEvaluation?: Schema$GoogleCloudDialogflowV2ConversationModelEvaluation;
}
export interface Schema$GoogleCloudDialogflowV2CreateConversationModelOperationMetadata {
conversationModel?: string | null;
createTime?: string | null;
doneTime?: string | null;
state?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2CustomPronunciationParams {
phoneticEncoding?: string | null;
phrase?: string | null;
pronunciation?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata {
}
export interface Schema$GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata {
conversationModel?: string | null;
createTime?: string | null;
doneTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2DeployConversationModelOperationMetadata {
conversationModel?: string | null;
createTime?: string | null;
doneTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2DeployConversationModelRequest {
}
export interface Schema$GoogleCloudDialogflowV2DetectIntentRequest {
inputAudio?: string | null;
outputAudioConfig?: Schema$GoogleCloudDialogflowV2OutputAudioConfig;
outputAudioConfigMask?: string | null;
queryInput?: Schema$GoogleCloudDialogflowV2QueryInput;
queryParams?: Schema$GoogleCloudDialogflowV2QueryParameters;
}
export interface Schema$GoogleCloudDialogflowV2DetectIntentResponse {
outputAudio?: string | null;
outputAudioConfig?: Schema$GoogleCloudDialogflowV2OutputAudioConfig;
queryResult?: Schema$GoogleCloudDialogflowV2QueryResult;
responseId?: string | null;
webhookStatus?: Schema$GoogleRpcStatus;
}
export interface Schema$GoogleCloudDialogflowV2DialogflowAssistAnswer {
answerRecord?: string | null;
intentSuggestion?: Schema$GoogleCloudDialogflowV2IntentSuggestion;
queryResult?: Schema$GoogleCloudDialogflowV2QueryResult;
}
export interface Schema$GoogleCloudDialogflowV2Document {
contentUri?: string | null;
displayName?: string | null;
enableAutoReload?: boolean | null;
knowledgeTypes?: string[] | null;
latestReloadStatus?: Schema$GoogleCloudDialogflowV2DocumentReloadStatus;
metadata?: {
[key: string]: string;
} | null;
mimeType?: string | null;
name?: string | null;
rawContent?: string | null;
state?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2DocumentReloadStatus {
status?: Schema$GoogleRpcStatus;
time?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2DtmfParameters {
acceptsDtmfInput?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2EncryptionSpec {
kmsKey?: string | null;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2EntityType {
autoExpansionMode?: string | null;
displayName?: string | null;
enableFuzzyExtraction?: boolean | null;
entities?: Schema$GoogleCloudDialogflowV2EntityTypeEntity[];
kind?: string | null;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2EntityTypeBatch {
entityTypes?: Schema$GoogleCloudDialogflowV2EntityType[];
}
export interface Schema$GoogleCloudDialogflowV2EntityTypeEntity {
synonyms?: string[] | null;
value?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2Environment {
agentVersion?: string | null;
description?: string | null;
fulfillment?: Schema$GoogleCloudDialogflowV2Fulfillment;
name?: string | null;
state?: string | null;
textToSpeechSettings?: Schema$GoogleCloudDialogflowV2TextToSpeechSettings;
updateTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2EnvironmentHistory {
entries?: Schema$GoogleCloudDialogflowV2EnvironmentHistoryEntry[];
nextPageToken?: string | null;
parent?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2EnvironmentHistoryEntry {
agentVersion?: string | null;
createTime?: string | null;
description?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2EvaluationConfig {
datasets?: Schema$GoogleCloudDialogflowV2InputDataset[];
smartComposeConfig?: Schema$GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig;
smartReplyConfig?: Schema$GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig;
}
export interface Schema$GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig {
allowlistDocument?: string | null;
maxResultCount?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig {
allowlistDocument?: string | null;
maxResultCount?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2EvaluationStatus {
done?: boolean | null;
pipelineStatus?: Schema$GoogleRpcStatus;
}
export interface Schema$GoogleCloudDialogflowV2EventInput {
languageCode?: string | null;
name?: string | null;
parameters?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2ExportAgentRequest {
agentUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ExportAgentResponse {
agentContent?: string | null;
agentUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ExportDocumentRequest {
exportFullContent?: boolean | null;
gcsDestination?: Schema$GoogleCloudDialogflowV2GcsDestination;
smartMessagingPartialUpdate?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2ExportOperationMetadata {
exportedGcsDestination?: Schema$GoogleCloudDialogflowV2GcsDestination;
}
export interface Schema$GoogleCloudDialogflowV2FaqAnswer {
answer?: string | null;
answerRecord?: string | null;
confidence?: number | null;
metadata?: {
[key: string]: string;
} | null;
question?: string | null;
source?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2FewShotExample {
conversationContext?: Schema$GoogleCloudDialogflowV2ConversationContext;
extraInfo?: {
[key: string]: string;
} | null;
output?: Schema$GoogleCloudDialogflowV2GeneratorSuggestion;
summarizationSectionList?: Schema$GoogleCloudDialogflowV2SummarizationSectionList;
}
export interface Schema$GoogleCloudDialogflowV2FreeFormContext {
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2FreeFormSuggestion {
response?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2Fulfillment {
displayName?: string | null;
enabled?: boolean | null;
features?: Schema$GoogleCloudDialogflowV2FulfillmentFeature[];
genericWebService?: Schema$GoogleCloudDialogflowV2FulfillmentGenericWebService;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2FulfillmentFeature {
type?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2FulfillmentGenericWebService {
isCloudFunction?: boolean | null;
password?: string | null;
requestHeaders?: {
[key: string]: string;
} | null;
uri?: string | null;
username?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2GcsDestination {
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2GcsSources {
uris?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest {
contextReferences?: {
[key: string]: Schema$GoogleCloudDialogflowV2ConversationContextReference;
} | null;
conversationContext?: Schema$GoogleCloudDialogflowV2ConversationContext;
generator?: Schema$GoogleCloudDialogflowV2Generator;
generatorName?: string | null;
securitySettings?: string | null;
triggerEvents?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse {
generatorSuggestion?: Schema$GoogleCloudDialogflowV2GeneratorSuggestion;
}
export interface Schema$GoogleCloudDialogflowV2GenerateStatelessSummaryRequest {
conversationProfile?: Schema$GoogleCloudDialogflowV2ConversationProfile;
latestMessage?: string | null;
maxContextSize?: number | null;
statelessConversation?: Schema$GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation;
}
export interface Schema$GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation {
messages?: Schema$GoogleCloudDialogflowV2Message[];
}
export interface Schema$GoogleCloudDialogflowV2GenerateStatelessSummaryResponse {
contextSize?: number | null;
latestMessage?: string | null;
summary?: Schema$GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary;
}
export interface Schema$GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary {
baselineModelVersion?: string | null;
text?: string | null;
textSections?: {
[key: string]: string;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2GenerateSuggestionsRequest {
latestMessage?: string | null;
triggerEvents?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2GenerateSuggestionsResponse {
generatorSuggestionAnswers?: Schema$GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer[];
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer {
answerRecord?: string | null;
generatorSuggestion?: Schema$GoogleCloudDialogflowV2GeneratorSuggestion;
sourceGenerator?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2Generator {
agentCoachingContext?: Schema$GoogleCloudDialogflowV2AgentCoachingContext;
createTime?: string | null;
description?: string | null;
freeFormContext?: Schema$GoogleCloudDialogflowV2FreeFormContext;
inferenceParameter?: Schema$GoogleCloudDialogflowV2InferenceParameter;
name?: string | null;
publishedModel?: string | null;
suggestionDedupingConfig?: Schema$GoogleCloudDialogflowV2SuggestionDedupingConfig;
summarizationContext?: Schema$GoogleCloudDialogflowV2SummarizationContext;
tools?: string[] | null;
triggerEvent?: string | null;
updateTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2GeneratorEvaluation {
completeTime?: string | null;
createTime?: string | null;
displayName?: string | null;
evaluationStatus?: Schema$GoogleCloudDialogflowV2EvaluationStatus;
generatorEvaluationConfig?: Schema$GoogleCloudDialogflowV2GeneratorEvaluationConfig;
initialGenerator?: Schema$GoogleCloudDialogflowV2Generator;
name?: string | null;
satisfiesPzi?: boolean | null;
satisfiesPzs?: boolean | null;
summarizationMetrics?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetrics;
}
export interface Schema$GoogleCloudDialogflowV2GeneratorEvaluationConfig {
inputDataConfig?: Schema$GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig;
outputGcsBucketPath?: string | null;
summarizationConfig?: Schema$GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig;
}
export interface Schema$GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig {
endTime?: string | null;
startTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig {
dataset?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig {
agentAssistInputDataConfig?: Schema$GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig;
datasetInputDataConfig?: Schema$GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig;
endTime?: string | null;
inputDataSourceType?: string | null;
isSummaryGenerationAllowed?: boolean | null;
sampleSize?: number | null;
startTime?: string | null;
summaryGenerationOption?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig {
accuracyEvaluationVersion?: string | null;
completenessEvaluationVersion?: string | null;
enableAccuracyEvaluation?: boolean | null;
enableCompletenessEvaluation?: boolean | null;
evaluatorVersion?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2GeneratorSuggestion {
agentCoachingSuggestion?: Schema$GoogleCloudDialogflowV2AgentCoachingSuggestion;
freeFormSuggestion?: Schema$GoogleCloudDialogflowV2FreeFormSuggestion;
summarySuggestion?: Schema$GoogleCloudDialogflowV2SummarySuggestion;
toolCallInfo?: Schema$GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo[];
}
export interface Schema$GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo {
toolCall?: Schema$GoogleCloudDialogflowV2ToolCall;
toolCallResult?: Schema$GoogleCloudDialogflowV2ToolCallResult;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfig {
endUserSuggestionConfig?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig;
humanAgentSuggestionConfig?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig;
messageAnalysisConfig?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig;
notificationConfig?: Schema$GoogleCloudDialogflowV2NotificationConfig;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig {
baselineModelVersion?: string | null;
model?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig {
recentSentencesCount?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig {
enableEntityExtraction?: boolean | null;
enableSentimentAnalysis?: boolean | null;
enableSentimentAnalysisV3?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig {
disableHighLatencyFeaturesSyncDelivery?: boolean | null;
enableAsyncToolCall?: boolean | null;
featureConfigs?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig[];
generators?: string[] | null;
groupSuggestionResponses?: boolean | null;
skipEmptyEventBasedSuggestion?: boolean | null;
useUnredactedConversationData?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig {
conversationModelConfig?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig;
conversationProcessConfig?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig;
disableAgentQueryLogging?: boolean | null;
enableConversationAugmentedQuery?: boolean | null;
enableEventBasedSuggestion?: boolean | null;
enableQuerySuggestionOnly?: boolean | null;
enableQuerySuggestionWhenNoAnswer?: boolean | null;
enableResponseDebugInfo?: boolean | null;
queryConfig?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig;
raiSettings?: Schema$GoogleCloudDialogflowV2RaiSettings;
suggestionFeature?: Schema$GoogleCloudDialogflowV2SuggestionFeature;
suggestionTriggerSettings?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig {
confidenceThreshold?: number | null;
contextFilterSettings?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings;
contextSize?: number | null;
dialogflowQuerySource?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource;
documentQuerySource?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource;
knowledgeBaseQuerySource?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource;
maxResults?: number | null;
sections?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings {
dropHandoffMessages?: boolean | null;
dropIvrMessages?: boolean | null;
dropVirtualAgentMessages?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource {
agent?: string | null;
humanAgentSideConfig?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig {
agent?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource {
documents?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource {
knowledgeBases?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections {
sectionTypes?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings {
noSmalltalk?: boolean | null;
onlyEndUser?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentAssistantEvent {
conversation?: string | null;
participant?: string | null;
suggestionResults?: Schema$GoogleCloudDialogflowV2SuggestionResult[];
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentHandoffConfig {
livePersonConfig?: Schema$GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig;
salesforceLiveAgentConfig?: Schema$GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig {
accountNumber?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig {
buttonId?: string | null;
deploymentId?: string | null;
endpointDomain?: string | null;
organizationId?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ImportAgentRequest {
agentContent?: string | null;
agentUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ImportConversationDataOperationMetadata {
conversationDataset?: string | null;
createTime?: string | null;
partialFailures?: Schema$GoogleRpcStatus[];
}
export interface Schema$GoogleCloudDialogflowV2ImportConversationDataOperationResponse {
conversationDataset?: string | null;
importCount?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2ImportConversationDataRequest {
inputConfig?: Schema$GoogleCloudDialogflowV2InputConfig;
}
export interface Schema$GoogleCloudDialogflowV2ImportDocumentsRequest {
documentTemplate?: Schema$GoogleCloudDialogflowV2ImportDocumentTemplate;
gcsSource?: Schema$GoogleCloudDialogflowV2GcsSources;
importGcsCustomMetadata?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2ImportDocumentsResponse {
warnings?: Schema$GoogleRpcStatus[];
}
export interface Schema$GoogleCloudDialogflowV2ImportDocumentTemplate {
knowledgeTypes?: string[] | null;
metadata?: {
[key: string]: string;
} | null;
mimeType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2InferenceParameter {
maxOutputTokens?: number | null;
temperature?: number | null;
topK?: number | null;
topP?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2IngestContextReferencesRequest {
contextReferences?: {
[key: string]: Schema$GoogleCloudDialogflowV2ConversationContextReference;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2IngestContextReferencesResponse {
ingestedContextReferences?: {
[key: string]: Schema$GoogleCloudDialogflowV2ConversationContextReference;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo {
contextReferenceRetrieved?: boolean | null;
ingestedParametersDebugInfo?: Schema$GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo[];
projectNotAllowlisted?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2IngestedContextReferenceDebugInfoIngestedParameterDebugInfo {
ingestionStatus?: string | null;
parameter?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata {
request?: Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest;
}
export interface Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest {
encryptionSpec?: Schema$GoogleCloudDialogflowV2EncryptionSpec;
}
export interface Schema$GoogleCloudDialogflowV2InputAudioConfig {
audioEncoding?: string | null;
disableNoSpeechRecognizedEvent?: boolean | null;
enableAutomaticPunctuation?: boolean | null;
enableWordInfo?: boolean | null;
languageCode?: string | null;
model?: string | null;
modelVariant?: string | null;
optOutConformerModelMigration?: boolean | null;
phraseHints?: string[] | null;
phraseSets?: string[] | null;
sampleRateHertz?: number | null;
singleUtterance?: boolean | null;
speechContexts?: Schema$GoogleCloudDialogflowV2SpeechContext[];
}
export interface Schema$GoogleCloudDialogflowV2InputConfig {
gcsSource?: Schema$GoogleCloudDialogflowV2GcsSources;
}
export interface Schema$GoogleCloudDialogflowV2InputDataset {
dataset?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2Intent {
action?: string | null;
defaultResponsePlatforms?: string[] | null;
displayName?: string | null;
endInteraction?: boolean | null;
events?: string[] | null;
followupIntentInfo?: Schema$GoogleCloudDialogflowV2IntentFollowupIntentInfo[];
inputContextNames?: string[] | null;
isFallback?: boolean | null;
liveAgentHandoff?: boolean | null;
messages?: Schema$GoogleCloudDialogflowV2IntentMessage[];
mlDisabled?: boolean | null;
name?: string | null;
outputContexts?: Schema$GoogleCloudDialogflowV2Context[];
parameters?: Schema$GoogleCloudDialogflowV2IntentParameter[];
parentFollowupIntentName?: string | null;
priority?: number | null;
resetContexts?: boolean | null;
rootFollowupIntentName?: string | null;
trainingPhrases?: Schema$GoogleCloudDialogflowV2IntentTrainingPhrase[];
webhookState?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentBatch {
intents?: Schema$GoogleCloudDialogflowV2Intent[];
}
export interface Schema$GoogleCloudDialogflowV2IntentFollowupIntentInfo {
followupIntentName?: string | null;
parentFollowupIntentName?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessage {
basicCard?: Schema$GoogleCloudDialogflowV2IntentMessageBasicCard;
browseCarouselCard?: Schema$GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard;
card?: Schema$GoogleCloudDialogflowV2IntentMessageCard;
carouselSelect?: Schema$GoogleCloudDialogflowV2IntentMessageCarouselSelect;
image?: Schema$GoogleCloudDialogflowV2IntentMessageImage;
linkOutSuggestion?: Schema$GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion;
listSelect?: Schema$GoogleCloudDialogflowV2IntentMessageListSelect;
mediaContent?: Schema$GoogleCloudDialogflowV2IntentMessageMediaContent;
payload?: {
[key: string]: any;
} | null;
platform?: string | null;
quickReplies?: Schema$GoogleCloudDialogflowV2IntentMessageQuickReplies;
simpleResponses?: Schema$GoogleCloudDialogflowV2IntentMessageSimpleResponses;
suggestions?: Schema$GoogleCloudDialogflowV2IntentMessageSuggestions;
tableCard?: Schema$GoogleCloudDialogflowV2IntentMessageTableCard;
text?: Schema$GoogleCloudDialogflowV2IntentMessageText;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageBasicCard {
buttons?: Schema$GoogleCloudDialogflowV2IntentMessageBasicCardButton[];
formattedText?: string | null;
image?: Schema$GoogleCloudDialogflowV2IntentMessageImage;
subtitle?: string | null;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageBasicCardButton {
openUriAction?: Schema$GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction {
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard {
imageDisplayOptions?: string | null;
items?: Schema$GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem[];
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem {
description?: string | null;
footer?: string | null;
image?: Schema$GoogleCloudDialogflowV2IntentMessageImage;
openUriAction?: Schema$GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction {
url?: string | null;
urlTypeHint?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageCard {
buttons?: Schema$GoogleCloudDialogflowV2IntentMessageCardButton[];
imageUri?: string | null;
subtitle?: string | null;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageCardButton {
postback?: string | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageCarouselSelect {
items?: Schema$GoogleCloudDialogflowV2IntentMessageCarouselSelectItem[];
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageCarouselSelectItem {
description?: string | null;
image?: Schema$GoogleCloudDialogflowV2IntentMessageImage;
info?: Schema$GoogleCloudDialogflowV2IntentMessageSelectItemInfo;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageColumnProperties {
header?: string | null;
horizontalAlignment?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageImage {
accessibilityText?: string | null;
imageUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion {
destinationName?: string | null;
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageListSelect {
items?: Schema$GoogleCloudDialogflowV2IntentMessageListSelectItem[];
subtitle?: string | null;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageListSelectItem {
description?: string | null;
image?: Schema$GoogleCloudDialogflowV2IntentMessageImage;
info?: Schema$GoogleCloudDialogflowV2IntentMessageSelectItemInfo;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageMediaContent {
mediaObjects?: Schema$GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject[];
mediaType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject {
contentUrl?: string | null;
description?: string | null;
icon?: Schema$GoogleCloudDialogflowV2IntentMessageImage;
largeImage?: Schema$GoogleCloudDialogflowV2IntentMessageImage;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageQuickReplies {
quickReplies?: string[] | null;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageSelectItemInfo {
key?: string | null;
synonyms?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageSimpleResponse {
displayText?: string | null;
ssml?: string | null;
textToSpeech?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageSimpleResponses {
simpleResponses?: Schema$GoogleCloudDialogflowV2IntentMessageSimpleResponse[];
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageSuggestion {
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageSuggestions {
suggestions?: Schema$GoogleCloudDialogflowV2IntentMessageSuggestion[];
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageTableCard {
buttons?: Schema$GoogleCloudDialogflowV2IntentMessageBasicCardButton[];
columnProperties?: Schema$GoogleCloudDialogflowV2IntentMessageColumnProperties[];
image?: Schema$GoogleCloudDialogflowV2IntentMessageImage;
rows?: Schema$GoogleCloudDialogflowV2IntentMessageTableCardRow[];
subtitle?: string | null;
title?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageTableCardCell {
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageTableCardRow {
cells?: Schema$GoogleCloudDialogflowV2IntentMessageTableCardCell[];
dividerAfter?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentMessageText {
text?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentParameter {
defaultValue?: string | null;
displayName?: string | null;
entityTypeDisplayName?: string | null;
isList?: boolean | null;
mandatory?: boolean | null;
name?: string | null;
prompts?: string[] | null;
value?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentSuggestion {
description?: string | null;
displayName?: string | null;
intentV2?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentTrainingPhrase {
name?: string | null;
parts?: Schema$GoogleCloudDialogflowV2IntentTrainingPhrasePart[];
timesAddedCount?: number | null;
type?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2IntentTrainingPhrasePart {
alias?: string | null;
entityType?: string | null;
text?: string | null;
userDefined?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswer {
answerRecord?: string | null;
knowledgeAssistDebugInfo?: Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfo;
suggestedQuery?: Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery;
suggestedQueryAnswer?: Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer;
}
export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer {
answerText?: string | null;
faqSource?: Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource;
generativeSource?: Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource;
}
export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource {
question?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource {
snippets?: Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet[];
}
export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet {
metadata?: {
[key: string]: any;
} | null;
text?: string | null;
title?: string | null;
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery {
queryText?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfo {
datastoreResponseReason?: string | null;
ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo;
knowledgeAssistBehavior?: Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior;
queryCategorizationFailureReason?: string | null;
queryGenerationFailureReason?: string | null;
serviceLatency?: Schema$GoogleCloudDialogflowV2ServiceLatency;
}
export interface Schema$GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior {
answerGenerationRewriterOn?: boolean | null;
appendedSearchContextCount?: number | null;
conversationTranscriptHasMixedLanguages?: boolean | null;
disableSyncDelivery?: boolean | null;
endUserMetadataIncluded?: boolean | null;
invalidItemsQuerySuggestionSkipped?: boolean | null;
multipleQueriesGenerated?: boolean | null;
previousQueriesIncluded?: boolean | null;
primaryQueryRedactedAndReplaced?: boolean | null;
queryContainedSearchContext?: boolean | null;
queryGenerationAgentLanguageMismatch?: boolean | null;
queryGenerationEndUserLanguageMismatch?: boolean | null;
returnQueryOnly?: boolean | null;
thirdPartyConnectorAllowed?: boolean | null;
useCustomSafetyFilterLevel?: boolean | null;
usePubsubDelivery?: boolean | null;
useTranslatedMessage?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2KnowledgeBase {
displayName?: string | null;
languageCode?: string | null;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2KnowledgeOperationMetadata {
doneTime?: string | null;
exportOperationMetadata?: Schema$GoogleCloudDialogflowV2ExportOperationMetadata;
knowledgeBase?: string | null;
state?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListAnswerRecordsResponse {
answerRecords?: Schema$GoogleCloudDialogflowV2AnswerRecord[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListContextsResponse {
contexts?: Schema$GoogleCloudDialogflowV2Context[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListConversationDatasetsResponse {
conversationDatasets?: Schema$GoogleCloudDialogflowV2ConversationDataset[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse {
conversationModelEvaluations?: Schema$GoogleCloudDialogflowV2ConversationModelEvaluation[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListConversationModelsResponse {
conversationModels?: Schema$GoogleCloudDialogflowV2ConversationModel[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListConversationProfilesResponse {
conversationProfiles?: Schema$GoogleCloudDialogflowV2ConversationProfile[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListConversationsResponse {
conversations?: Schema$GoogleCloudDialogflowV2Conversation[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListDocumentsResponse {
documents?: Schema$GoogleCloudDialogflowV2Document[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListEntityTypesResponse {
entityTypes?: Schema$GoogleCloudDialogflowV2EntityType[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListEnvironmentsResponse {
environments?: Schema$GoogleCloudDialogflowV2Environment[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse {
generatorEvaluations?: Schema$GoogleCloudDialogflowV2GeneratorEvaluation[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListGeneratorsResponse {
generators?: Schema$GoogleCloudDialogflowV2Generator[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListIntentsResponse {
intents?: Schema$GoogleCloudDialogflowV2Intent[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListKnowledgeBasesResponse {
knowledgeBases?: Schema$GoogleCloudDialogflowV2KnowledgeBase[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListMessagesResponse {
messages?: Schema$GoogleCloudDialogflowV2Message[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ListParticipantsResponse {
nextPageToken?: string | null;
participants?: Schema$GoogleCloudDialogflowV2Participant[];
}
export interface Schema$GoogleCloudDialogflowV2ListSessionEntityTypesResponse {
nextPageToken?: string | null;
sessionEntityTypes?: Schema$GoogleCloudDialogflowV2SessionEntityType[];
}
export interface Schema$GoogleCloudDialogflowV2ListSipTrunksResponse {
nextPageToken?: string | null;
sipTrunks?: Schema$GoogleCloudDialogflowV2SipTrunk[];
}
export interface Schema$GoogleCloudDialogflowV2ListToolsResponse {
nextPageToken?: string | null;
tools?: Schema$GoogleCloudDialogflowV2Tool[];
}
export interface Schema$GoogleCloudDialogflowV2ListVersionsResponse {
nextPageToken?: string | null;
versions?: Schema$GoogleCloudDialogflowV2Version[];
}
export interface Schema$GoogleCloudDialogflowV2LoggingConfig {
enableStackdriverLogging?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2Message {
content?: string | null;
createTime?: string | null;
languageCode?: string | null;
messageAnnotation?: Schema$GoogleCloudDialogflowV2MessageAnnotation;
name?: string | null;
participant?: string | null;
participantRole?: string | null;
sendTime?: string | null;
sentimentAnalysis?: Schema$GoogleCloudDialogflowV2SentimentAnalysisResult;
}
export interface Schema$GoogleCloudDialogflowV2MessageAnnotation {
containEntities?: boolean | null;
parts?: Schema$GoogleCloudDialogflowV2AnnotatedMessagePart[];
}
export interface Schema$GoogleCloudDialogflowV2MessageEntry {
createTime?: string | null;
languageCode?: string | null;
role?: string | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2NotificationConfig {
messageFormat?: string | null;
topic?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2OriginalDetectIntentRequest {
payload?: {
[key: string]: any;
} | null;
source?: string | null;
version?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2OutputAudio {
audio?: string | null;
config?: Schema$GoogleCloudDialogflowV2OutputAudioConfig;
}
export interface Schema$GoogleCloudDialogflowV2OutputAudioConfig {
audioEncoding?: string | null;
sampleRateHertz?: number | null;
synthesizeSpeechConfig?: Schema$GoogleCloudDialogflowV2SynthesizeSpeechConfig;
}
export interface Schema$GoogleCloudDialogflowV2Participant {
agentDesktopSource?: string | null;
documentsMetadataFilters?: {
[key: string]: string;
} | null;
name?: string | null;
obfuscatedExternalUserId?: string | null;
role?: string | null;
sipRecordingMediaLabel?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2QueryInput {
audioConfig?: Schema$GoogleCloudDialogflowV2InputAudioConfig;
event?: Schema$GoogleCloudDialogflowV2EventInput;
text?: Schema$GoogleCloudDialogflowV2TextInput;
}
export interface Schema$GoogleCloudDialogflowV2QueryParameters {
contexts?: Schema$GoogleCloudDialogflowV2Context[];
geoLocation?: Schema$GoogleTypeLatLng;
payload?: {
[key: string]: any;
} | null;
platform?: string | null;
resetContexts?: boolean | null;
sentimentAnalysisRequestConfig?: Schema$GoogleCloudDialogflowV2SentimentAnalysisRequestConfig;
sessionEntityTypes?: Schema$GoogleCloudDialogflowV2SessionEntityType[];
timeZone?: string | null;
webhookHeaders?: {
[key: string]: string;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2QueryResult {
action?: string | null;
allRequiredParamsPresent?: boolean | null;
cancelsSlotFilling?: boolean | null;
diagnosticInfo?: {
[key: string]: any;
} | null;
fulfillmentMessages?: Schema$GoogleCloudDialogflowV2IntentMessage[];
fulfillmentText?: string | null;
intent?: Schema$GoogleCloudDialogflowV2Intent;
intentDetectionConfidence?: number | null;
languageCode?: string | null;
outputContexts?: Schema$GoogleCloudDialogflowV2Context[];
parameters?: {
[key: string]: any;
} | null;
queryText?: string | null;
sentimentAnalysisResult?: Schema$GoogleCloudDialogflowV2SentimentAnalysisResult;
speechRecognitionConfidence?: number | null;
webhookPayload?: {
[key: string]: any;
} | null;
webhookSource?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2RaiSettings {
raiCategoryConfigs?: Schema$GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig[];
}
export interface Schema$GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig {
category?: string | null;
sensitivityLevel?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ReloadDocumentRequest {
contentUri?: string | null;
importGcsCustomMetadata?: boolean | null;
smartMessagingPartialUpdate?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2RestoreAgentRequest {
agentContent?: string | null;
agentUri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SearchAgentsResponse {
agents?: Schema$GoogleCloudDialogflowV2Agent[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeAnswer {
answer?: string | null;
answerRecord?: string | null;
answerSources?: Schema$GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource[];
answerType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource {
metadata?: {
[key: string]: any;
} | null;
snippet?: string | null;
title?: string | null;
uri?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeDebugInfo {
datastoreResponseReason?: string | null;
ingestedContextReferenceDebugInfo?: Schema$GoogleCloudDialogflowV2IngestedContextReferenceDebugInfo;
searchKnowledgeBehavior?: Schema$GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior;
serviceLatency?: Schema$GoogleCloudDialogflowV2ServiceLatency;
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior {
answerGenerationRewriterOn?: boolean | null;
endUserMetadataIncluded?: boolean | null;
thirdPartyConnectorAllowed?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeRequest {
conversation?: string | null;
conversationProfile?: string | null;
endUserMetadata?: {
[key: string]: any;
} | null;
exactSearch?: boolean | null;
latestMessage?: string | null;
parent?: string | null;
query?: Schema$GoogleCloudDialogflowV2TextInput;
querySource?: string | null;
searchConfig?: Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig;
sessionId?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig {
boostSpecs?: Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs[];
filterSpecs?: Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs[];
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs {
dataStores?: string[] | null;
spec?: Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec[];
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec {
conditionBoostSpecs?: Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec[];
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec {
boost?: number | null;
boostControlSpec?: Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec;
condition?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec {
attributeType?: string | null;
controlPoints?: Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint[];
fieldName?: string | null;
interpolationType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint {
attributeValue?: string | null;
boostAmount?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs {
dataStores?: string[] | null;
filter?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SearchKnowledgeResponse {
answers?: Schema$GoogleCloudDialogflowV2SearchKnowledgeAnswer[];
rewrittenQuery?: string | null;
searchKnowledgeDebugInfo?: Schema$GoogleCloudDialogflowV2SearchKnowledgeDebugInfo;
}
export interface Schema$GoogleCloudDialogflowV2Sentiment {
magnitude?: number | null;
score?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2SentimentAnalysisRequestConfig {
analyzeQueryTextSentiment?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2SentimentAnalysisResult {
queryTextSentiment?: Schema$GoogleCloudDialogflowV2Sentiment;
}
export interface Schema$GoogleCloudDialogflowV2ServiceLatency {
internalServiceLatencies?: Schema$GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency[];
}
export interface Schema$GoogleCloudDialogflowV2ServiceLatencyInternalServiceLatency {
completeTime?: string | null;
latencyMs?: number | null;
startTime?: string | null;
step?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SessionEntityType {
entities?: Schema$GoogleCloudDialogflowV2EntityTypeEntity[];
entityOverrideMode?: string | null;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata {
conversationProfile?: string | null;
createTime?: string | null;
participantRole?: string | null;
suggestionFeatureType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest {
participantRole?: string | null;
suggestionFeatureConfig?: Schema$GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig;
}
export interface Schema$GoogleCloudDialogflowV2SipTrunk {
connections?: Schema$GoogleCloudDialogflowV2Connection[];
displayName?: string | null;
expectedHostname?: string[] | null;
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SmartReplyAnswer {
answerRecord?: string | null;
confidence?: number | null;
reply?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SmartReplyMetrics {
allowlistCoverage?: number | null;
conversationCount?: string | null;
topNMetrics?: Schema$GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics[];
}
export interface Schema$GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics {
n?: number | null;
recall?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2SmartReplyModelMetadata {
trainingModelType?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SpeechContext {
boost?: number | null;
phrases?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2SpeechToTextConfig {
audioEncoding?: string | null;
enableWordInfo?: boolean | null;
languageCode?: string | null;
model?: string | null;
phraseSets?: string[] | null;
sampleRateHertz?: number | null;
speechModelVariant?: string | null;
useTimeoutBasedEndpointing?: boolean | null;
}
export interface Schema$GoogleCloudDialogflowV2SpeechWordInfo {
confidence?: number | null;
endOffset?: string | null;
startOffset?: string | null;
word?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2StreamingRecognitionResult {
confidence?: number | null;
isFinal?: boolean | null;
languageCode?: string | null;
messageType?: string | null;
speechEndOffset?: string | null;
speechWordInfo?: Schema$GoogleCloudDialogflowV2SpeechWordInfo[];
transcript?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestArticlesRequest {
assistQueryParams?: Schema$GoogleCloudDialogflowV2AssistQueryParameters;
contextSize?: number | null;
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestArticlesResponse {
articleAnswers?: Schema$GoogleCloudDialogflowV2ArticleAnswer[];
contextSize?: number | null;
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestConversationSummaryRequest {
assistQueryParams?: Schema$GoogleCloudDialogflowV2AssistQueryParameters;
contextSize?: number | null;
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestConversationSummaryResponse {
contextSize?: number | null;
latestMessage?: string | null;
summary?: Schema$GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary;
}
export interface Schema$GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary {
answerRecord?: string | null;
baselineModelVersion?: string | null;
sortedTextSections?: Schema$GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection[];
text?: string | null;
textSections?: {
[key: string]: string;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummarySummarySection {
section?: string | null;
summary?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestFaqAnswersRequest {
assistQueryParams?: Schema$GoogleCloudDialogflowV2AssistQueryParameters;
contextSize?: number | null;
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestFaqAnswersResponse {
contextSize?: number | null;
faqAnswers?: Schema$GoogleCloudDialogflowV2FaqAnswer[];
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestionDedupingConfig {
enableDeduping?: boolean | null;
similarityThreshold?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestionFeature {
type?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestionInput {
action?: string | null;
answerRecord?: string | null;
parameters?: {
[key: string]: any;
} | null;
sendTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestionResult {
error?: Schema$GoogleRpcStatus;
generateSuggestionsResponse?: Schema$GoogleCloudDialogflowV2GenerateSuggestionsResponse;
suggestArticlesResponse?: Schema$GoogleCloudDialogflowV2SuggestArticlesResponse;
suggestFaqAnswersResponse?: Schema$GoogleCloudDialogflowV2SuggestFaqAnswersResponse;
suggestKnowledgeAssistResponse?: Schema$GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse;
suggestSmartRepliesResponse?: Schema$GoogleCloudDialogflowV2SuggestSmartRepliesResponse;
}
export interface Schema$GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest {
contextSize?: number | null;
latestMessage?: string | null;
previousSuggestedQuery?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse {
contextSize?: number | null;
knowledgeAssistAnswer?: Schema$GoogleCloudDialogflowV2KnowledgeAssistAnswer;
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestSmartRepliesRequest {
contextSize?: number | null;
currentTextInput?: Schema$GoogleCloudDialogflowV2TextInput;
latestMessage?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SuggestSmartRepliesResponse {
contextSize?: number | null;
latestMessage?: string | null;
smartReplyAnswers?: Schema$GoogleCloudDialogflowV2SmartReplyAnswer[];
}
export interface Schema$GoogleCloudDialogflowV2SummarizationContext {
fewShotExamples?: Schema$GoogleCloudDialogflowV2FewShotExample[];
outputLanguageCode?: string | null;
summarizationSections?: Schema$GoogleCloudDialogflowV2SummarizationSection[];
version?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetrics {
conversationDetails?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail[];
overallMetrics?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric[];
overallSectionTokens?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken[];
summarizationEvaluationMergedResultsUri?: string | null;
summarizationEvaluationResults?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult[];
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition {
accuracyReasoning?: string | null;
isAccurate?: boolean | null;
point?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition {
adherenceReasoning?: string | null;
isAdherent?: boolean | null;
point?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric {
isAddressed?: boolean | null;
question?: string | null;
reasoning?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric {
isAddressed?: boolean | null;
question?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail {
messageEntries?: Schema$GoogleCloudDialogflowV2MessageEntry[];
metricDetails?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail[];
sectionTokens?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken[];
summarySections?: Schema$GoogleCloudDialogflowV2SummarySuggestionSummarySection[];
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail {
metric?: string | null;
score?: number | null;
sectionDetails?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail[];
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail {
evaluationResults?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult[];
score?: number | null;
section?: string | null;
sectionSummary?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition {
accuracyDecomposition?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition;
adherenceDecomposition?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult {
accuracyDecomposition?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition;
adherenceRubric?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric;
completenessRubric?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric {
metric?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken {
section?: string | null;
tokenCount?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult {
decompositions?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition[];
evaluationResults?: Schema$GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult[];
metric?: string | null;
score?: number | null;
section?: string | null;
sectionSummary?: string | null;
sessionId?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationSection {
definition?: string | null;
key?: string | null;
type?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SummarizationSectionList {
summarizationSections?: Schema$GoogleCloudDialogflowV2SummarizationSection[];
}
export interface Schema$GoogleCloudDialogflowV2SummarySuggestion {
summarySections?: Schema$GoogleCloudDialogflowV2SummarySuggestionSummarySection[];
}
export interface Schema$GoogleCloudDialogflowV2SummarySuggestionSummarySection {
section?: string | null;
summary?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2SynthesizeSpeechConfig {
effectsProfileId?: string[] | null;
pitch?: number | null;
pronunciations?: Schema$GoogleCloudDialogflowV2CustomPronunciationParams[];
speakingRate?: number | null;
voice?: Schema$GoogleCloudDialogflowV2VoiceSelectionParams;
volumeGainDb?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2TextInput {
languageCode?: string | null;
text?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2TextToSpeechSettings {
enableTextToSpeech?: boolean | null;
outputAudioEncoding?: string | null;
sampleRateHertz?: number | null;
synthesizeSpeechConfigs?: {
[key: string]: Schema$GoogleCloudDialogflowV2SynthesizeSpeechConfig;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2Tool {
actionConfirmationRequirement?: {
[key: string]: string;
} | null;
connectorSpec?: Schema$GoogleCloudDialogflowV2ToolConnectorTool;
createTime?: string | null;
description?: string | null;
displayName?: string | null;
extensionSpec?: Schema$GoogleCloudDialogflowV2ToolExtensionTool;
functionSpec?: Schema$GoogleCloudDialogflowV2ToolFunctionTool;
name?: string | null;
openApiSpec?: Schema$GoogleCloudDialogflowV2ToolOpenApiTool;
satisfiesPzi?: boolean | null;
satisfiesPzs?: boolean | null;
toolKey?: string | null;
updateTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolAuthentication {
apiKeyConfig?: Schema$GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig;
bearerTokenConfig?: Schema$GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig;
oauthConfig?: Schema$GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig;
serviceAgentAuthConfig?: Schema$GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig;
}
export interface Schema$GoogleCloudDialogflowV2ToolAuthenticationApiKeyConfig {
apiKey?: string | null;
keyName?: string | null;
requestLocation?: string | null;
secretVersionForApiKey?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolAuthenticationBearerTokenConfig {
secretVersionForToken?: string | null;
token?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolAuthenticationOAuthConfig {
clientId?: string | null;
clientSecret?: string | null;
oauthGrantType?: string | null;
scopes?: string[] | null;
secretVersionForClientSecret?: string | null;
tokenEndpoint?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig {
serviceAgentAuth?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolCall {
action?: string | null;
answerRecord?: string | null;
createTime?: string | null;
inputParameters?: {
[key: string]: any;
} | null;
state?: string | null;
tool?: string | null;
toolDisplayDetails?: string | null;
toolDisplayName?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolCallResult {
action?: string | null;
answerRecord?: string | null;
content?: string | null;
createTime?: string | null;
error?: Schema$GoogleCloudDialogflowV2ToolCallResultError;
rawContent?: string | null;
tool?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolCallResultError {
message?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolConnectorTool {
actions?: Schema$GoogleCloudDialogflowV2ToolConnectorToolAction[];
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolConnectorToolAction {
connectionActionId?: string | null;
entityOperation?: Schema$GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation;
inputFields?: string[] | null;
outputFields?: string[] | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation {
entityId?: string | null;
operation?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolExtensionTool {
name?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolFunctionTool {
inputSchema?: {
[key: string]: any;
} | null;
methodType?: string | null;
outputSchema?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolOpenApiTool {
authentication?: Schema$GoogleCloudDialogflowV2ToolAuthentication;
serviceDirectoryConfig?: Schema$GoogleCloudDialogflowV2ToolServiceDirectoryConfig;
textSchema?: string | null;
tlsConfig?: Schema$GoogleCloudDialogflowV2ToolTLSConfig;
}
export interface Schema$GoogleCloudDialogflowV2ToolServiceDirectoryConfig {
service?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ToolTLSConfig {
caCerts?: Schema$GoogleCloudDialogflowV2ToolTLSConfigCACert[];
}
export interface Schema$GoogleCloudDialogflowV2ToolTLSConfigCACert {
cert?: string | null;
displayName?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2TrainAgentRequest {
}
export interface Schema$GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata {
conversationModel?: string | null;
createTime?: string | null;
doneTime?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2UndeployConversationModelRequest {
}
export interface Schema$GoogleCloudDialogflowV2ValidationError {
entries?: string[] | null;
errorMessage?: string | null;
severity?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2ValidationResult {
validationErrors?: Schema$GoogleCloudDialogflowV2ValidationError[];
}
export interface Schema$GoogleCloudDialogflowV2Version {
createTime?: string | null;
description?: string | null;
name?: string | null;
status?: string | null;
versionNumber?: number | null;
}
export interface Schema$GoogleCloudDialogflowV2VoiceSelectionParams {
name?: string | null;
ssmlGender?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2WebhookRequest {
originalDetectIntentRequest?: Schema$GoogleCloudDialogflowV2OriginalDetectIntentRequest;
queryResult?: Schema$GoogleCloudDialogflowV2QueryResult;
responseId?: string | null;
session?: string | null;
}
export interface Schema$GoogleCloudDialogflowV2WebhookResponse {
followupEventInput?: Schema$GoogleCloudDialogflowV2EventInput;
fulfillmentMessages?: Schema$GoogleCloudDialogflowV2IntentMessage[];
fulfillmentText?: string | null;
outputContexts?: Schema$GoogleCloudDialogflowV2Context[];
payload?: {
[key: string]: any;
} | null;
sessionEntityTypes?: Schema$GoogleCloudDialogflowV2SessionEntityType[];
source?: string | null;
}
export interface Schema$GoogleCloudDialogflowV3alpha1ConversationSignals {
turnSignals?: Schema$GoogleCloudDialogflowV3alpha1TurnSignals;
}
export interface Schema$GoogleCloudDialogflowV3alpha1TurnSignals {
agentEscalated?: boolean | null;
dtmfUsed?: boolean | null;
failureReasons?: string[] | null;
noMatch?: boolean | null;
noUserInput?: boolean | null;
reachedEndPage?: boolean | null;
sentimentMagnitude?: number | null;
sentimentScore?: number | null;
triggeredAbandonmentEvent?: boolean | null;
userEscalated?: boolean | null;
webhookStatuses?: string[] | null;
}
export interface Schema$GoogleCloudLocationListLocationsResponse {
locations?: Schema$GoogleCloudLocationLocation[];
nextPageToken?: string | null;
}
export interface Schema$GoogleCloudLocationLocation {
displayName?: string | null;
labels?: {
[key: string]: string;
} | null;
locationId?: string | null;
metadata?: {
[key: string]: any;
} | null;
name?: string | null;
}
export interface Schema$GoogleLongrunningListOperationsResponse {
nextPageToken?: string | null;
operations?: Schema$GoogleLongrunningOperation[];
unreachable?: string[] | null;
}
export interface Schema$GoogleLongrunningOperation {
done?: boolean | null;
error?: Schema$GoogleRpcStatus;
metadata?: {
[key: string]: any;
} | null;
name?: string | null;
response?: {
[key: string]: any;
} | null;
}
export interface Schema$GoogleProtobufEmpty {
}
export interface Schema$GoogleRpcStatus {
code?: number | null;
details?: Array<{
[key: string]: any;
}> | null;
message?: string | null;
}
export interface Schema$GoogleTypeLatLng {
latitude?: number | null;
longitude?: number | null;
}
export class Resource$Projects {
context: APIRequestContext;
agent: Resource$Projects$Agent;
answerRecords: Resource$Projects$Answerrecords;
conversationDatasets: Resource$Projects$Conversationdatasets;
conversationModels: Resource$Projects$Conversationmodels;
conversationProfiles: Resource$Projects$Conversationprofiles;
conversations: Resource$Projects$Conversations;
generators: Resource$Projects$Generators;
knowledgeBases: Resource$Projects$Knowledgebases;
locations: Resource$Projects$Locations;
operations: Resource$Projects$Operations;
suggestions: Resource$Projects$Suggestions;
constructor(context: APIRequestContext);
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.deleteAgent({
* parent: 'projects/my-project',
* });
* console.log(res.data);
*
* // Example response
* // {}
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
deleteAgent(params: Params$Resource$Projects$Deleteagent, options: StreamMethodOptions): Promise
>;
deleteAgent(params?: Params$Resource$Projects$Deleteagent, options?: MethodOptions): Promise>;
deleteAgent(params: Params$Resource$Projects$Deleteagent, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
deleteAgent(params: Params$Resource$Projects$Deleteagent, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
deleteAgent(params: Params$Resource$Projects$Deleteagent, callback: BodyResponseCallback): void;
deleteAgent(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.getAgent({
* parent: 'projects/my-project',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "apiVersion": "my_apiVersion",
* // "avatarUri": "my_avatarUri",
* // "classificationThreshold": {},
* // "defaultLanguageCode": "my_defaultLanguageCode",
* // "description": "my_description",
* // "displayName": "my_displayName",
* // "enableLogging": false,
* // "matchMode": "my_matchMode",
* // "parent": "my_parent",
* // "supportedLanguageCodes": [],
* // "tier": "my_tier",
* // "timeZone": "my_timeZone"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
getAgent(params: Params$Resource$Projects$Getagent, options: StreamMethodOptions): Promise>;
getAgent(params?: Params$Resource$Projects$Getagent, options?: MethodOptions): Promise>;
getAgent(params: Params$Resource$Projects$Getagent, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
getAgent(params: Params$Resource$Projects$Getagent, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
getAgent(params: Params$Resource$Projects$Getagent, callback: BodyResponseCallback): void;
getAgent(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.setAgent({
* parent: 'projects/my-project',
*
* updateMask: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "apiVersion": "my_apiVersion",
* // "avatarUri": "my_avatarUri",
* // "classificationThreshold": {},
* // "defaultLanguageCode": "my_defaultLanguageCode",
* // "description": "my_description",
* // "displayName": "my_displayName",
* // "enableLogging": false,
* // "matchMode": "my_matchMode",
* // "parent": "my_parent",
* // "supportedLanguageCodes": [],
* // "tier": "my_tier",
* // "timeZone": "my_timeZone"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "apiVersion": "my_apiVersion",
* // "avatarUri": "my_avatarUri",
* // "classificationThreshold": {},
* // "defaultLanguageCode": "my_defaultLanguageCode",
* // "description": "my_description",
* // "displayName": "my_displayName",
* // "enableLogging": false,
* // "matchMode": "my_matchMode",
* // "parent": "my_parent",
* // "supportedLanguageCodes": [],
* // "tier": "my_tier",
* // "timeZone": "my_timeZone"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
setAgent(params: Params$Resource$Projects$Setagent, options: StreamMethodOptions): Promise>;
setAgent(params?: Params$Resource$Projects$Setagent, options?: MethodOptions): Promise>;
setAgent(params: Params$Resource$Projects$Setagent, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
setAgent(params: Params$Resource$Projects$Setagent, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
setAgent(params: Params$Resource$Projects$Setagent, callback: BodyResponseCallback): void;
setAgent(callback: BodyResponseCallback): void;
}
export interface Params$Resource$Projects$Deleteagent extends StandardParameters {
/**
*
*/
parent?: string;
}
export interface Params$Resource$Projects$Getagent extends StandardParameters {
/**
*
*/
parent?: string;
}
export interface Params$Resource$Projects$Setagent extends StandardParameters {
/**
*
*/
parent?: string;
/**
*
*/
updateMask?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2Agent;
}
export class Resource$Projects$Agent {
context: APIRequestContext;
entityTypes: Resource$Projects$Agent$Entitytypes;
environments: Resource$Projects$Agent$Environments;
intents: Resource$Projects$Agent$Intents;
knowledgeBases: Resource$Projects$Agent$Knowledgebases;
sessions: Resource$Projects$Agent$Sessions;
versions: Resource$Projects$Agent$Versions;
constructor(context: APIRequestContext);
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.export({
* parent: 'projects/my-project',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "agentUri": "my_agentUri"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "done": false,
* // "error": {},
* // "metadata": {},
* // "name": "my_name",
* // "response": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
export(params: Params$Resource$Projects$Agent$Export, options: StreamMethodOptions): Promise>;
export(params?: Params$Resource$Projects$Agent$Export, options?: MethodOptions): Promise>;
export(params: Params$Resource$Projects$Agent$Export, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
export(params: Params$Resource$Projects$Agent$Export, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
export(params: Params$Resource$Projects$Agent$Export, callback: BodyResponseCallback): void;
export(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.getFulfillment({
* name: 'projects/my-project/agent/fulfillment',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "displayName": "my_displayName",
* // "enabled": false,
* // "features": [],
* // "genericWebService": {},
* // "name": "my_name"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
getFulfillment(params: Params$Resource$Projects$Agent$Getfulfillment, options: StreamMethodOptions): Promise>;
getFulfillment(params?: Params$Resource$Projects$Agent$Getfulfillment, options?: MethodOptions): Promise>;
getFulfillment(params: Params$Resource$Projects$Agent$Getfulfillment, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
getFulfillment(params: Params$Resource$Projects$Agent$Getfulfillment, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
getFulfillment(params: Params$Resource$Projects$Agent$Getfulfillment, callback: BodyResponseCallback): void;
getFulfillment(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.getValidationResult({
* languageCode: 'placeholder-value',
*
* parent: 'projects/my-project',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "validationErrors": []
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
getValidationResult(params: Params$Resource$Projects$Agent$Getvalidationresult, options: StreamMethodOptions): Promise>;
getValidationResult(params?: Params$Resource$Projects$Agent$Getvalidationresult, options?: MethodOptions): Promise>;
getValidationResult(params: Params$Resource$Projects$Agent$Getvalidationresult, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
getValidationResult(params: Params$Resource$Projects$Agent$Getvalidationresult, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
getValidationResult(params: Params$Resource$Projects$Agent$Getvalidationresult, callback: BodyResponseCallback): void;
getValidationResult(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.import({
* parent: 'projects/my-project',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "agentContent": "my_agentContent",
* // "agentUri": "my_agentUri"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "done": false,
* // "error": {},
* // "metadata": {},
* // "name": "my_name",
* // "response": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
import(params: Params$Resource$Projects$Agent$Import, options: StreamMethodOptions): Promise>;
import(params?: Params$Resource$Projects$Agent$Import, options?: MethodOptions): Promise>;
import(params: Params$Resource$Projects$Agent$Import, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
import(params: Params$Resource$Projects$Agent$Import, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
import(params: Params$Resource$Projects$Agent$Import, callback: BodyResponseCallback): void;
import(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.restore({
* parent: 'projects/my-project',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "agentContent": "my_agentContent",
* // "agentUri": "my_agentUri"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "done": false,
* // "error": {},
* // "metadata": {},
* // "name": "my_name",
* // "response": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
restore(params: Params$Resource$Projects$Agent$Restore, options: StreamMethodOptions): Promise>;
restore(params?: Params$Resource$Projects$Agent$Restore, options?: MethodOptions): Promise>;
restore(params: Params$Resource$Projects$Agent$Restore, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
restore(params: Params$Resource$Projects$Agent$Restore, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
restore(params: Params$Resource$Projects$Agent$Restore, callback: BodyResponseCallback): void;
restore(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.search({
* pageSize: 'placeholder-value',
*
* pageToken: 'placeholder-value',
*
* parent: 'projects/my-project',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "agents": [],
* // "nextPageToken": "my_nextPageToken"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
search(params: Params$Resource$Projects$Agent$Search, options: StreamMethodOptions): Promise>;
search(params?: Params$Resource$Projects$Agent$Search, options?: MethodOptions): Promise>;
search(params: Params$Resource$Projects$Agent$Search, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
search(params: Params$Resource$Projects$Agent$Search, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
search(params: Params$Resource$Projects$Agent$Search, callback: BodyResponseCallback): void;
search(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.train({
* parent: 'projects/my-project',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {}
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "done": false,
* // "error": {},
* // "metadata": {},
* // "name": "my_name",
* // "response": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
train(params: Params$Resource$Projects$Agent$Train, options: StreamMethodOptions): Promise>;
train(params?: Params$Resource$Projects$Agent$Train, options?: MethodOptions): Promise>;
train(params: Params$Resource$Projects$Agent$Train, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
train(params: Params$Resource$Projects$Agent$Train, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
train(params: Params$Resource$Projects$Agent$Train, callback: BodyResponseCallback): void;
train(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.updateFulfillment({
* name: 'projects/my-project/agent/fulfillment',
*
* updateMask: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "displayName": "my_displayName",
* // "enabled": false,
* // "features": [],
* // "genericWebService": {},
* // "name": "my_name"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "displayName": "my_displayName",
* // "enabled": false,
* // "features": [],
* // "genericWebService": {},
* // "name": "my_name"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
updateFulfillment(params: Params$Resource$Projects$Agent$Updatefulfillment, options: StreamMethodOptions): Promise>;
updateFulfillment(params?: Params$Resource$Projects$Agent$Updatefulfillment, options?: MethodOptions): Promise>;
updateFulfillment(params: Params$Resource$Projects$Agent$Updatefulfillment, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
updateFulfillment(params: Params$Resource$Projects$Agent$Updatefulfillment, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
updateFulfillment(params: Params$Resource$Projects$Agent$Updatefulfillment, callback: BodyResponseCallback): void;
updateFulfillment(callback: BodyResponseCallback): void;
}
export interface Params$Resource$Projects$Agent$Export extends StandardParameters {
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2ExportAgentRequest;
}
export interface Params$Resource$Projects$Agent$Getfulfillment extends StandardParameters {
/**
*
*/
name?: string;
}
export interface Params$Resource$Projects$Agent$Getvalidationresult extends StandardParameters {
/**
*
*/
languageCode?: string;
/**
*
*/
parent?: string;
}
export interface Params$Resource$Projects$Agent$Import extends StandardParameters {
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2ImportAgentRequest;
}
export interface Params$Resource$Projects$Agent$Restore extends StandardParameters {
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2RestoreAgentRequest;
}
export interface Params$Resource$Projects$Agent$Search extends StandardParameters {
/**
*
*/
pageSize?: number;
/**
*
*/
pageToken?: string;
/**
*
*/
parent?: string;
}
export interface Params$Resource$Projects$Agent$Train extends StandardParameters {
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2TrainAgentRequest;
}
export interface Params$Resource$Projects$Agent$Updatefulfillment extends StandardParameters {
/**
*
*/
name?: string;
/**
*
*/
updateMask?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2Fulfillment;
}
export class Resource$Projects$Agent$Entitytypes {
context: APIRequestContext;
entities: Resource$Projects$Agent$Entitytypes$Entities;
constructor(context: APIRequestContext);
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.entityTypes.batchDelete({
* parent: 'projects/my-project/agent',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "entityTypeNames": []
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "done": false,
* // "error": {},
* // "metadata": {},
* // "name": "my_name",
* // "response": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
batchDelete(params: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, options: StreamMethodOptions): Promise>;
batchDelete(params?: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, options?: MethodOptions): Promise>;
batchDelete(params: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
batchDelete(params: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
batchDelete(params: Params$Resource$Projects$Agent$Entitytypes$Batchdelete, callback: BodyResponseCallback): void;
batchDelete(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.entityTypes.batchUpdate({
* parent: 'projects/my-project/agent',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "entityTypeBatchInline": {},
* // "entityTypeBatchUri": "my_entityTypeBatchUri",
* // "languageCode": "my_languageCode",
* // "updateMask": "my_updateMask"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "done": false,
* // "error": {},
* // "metadata": {},
* // "name": "my_name",
* // "response": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
batchUpdate(params: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, options: StreamMethodOptions): Promise>;
batchUpdate(params?: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, options?: MethodOptions): Promise>;
batchUpdate(params: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
batchUpdate(params: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
batchUpdate(params: Params$Resource$Projects$Agent$Entitytypes$Batchupdate, callback: BodyResponseCallback): void;
batchUpdate(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.entityTypes.create({
* languageCode: 'placeholder-value',
*
* parent: 'projects/my-project/agent',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "autoExpansionMode": "my_autoExpansionMode",
* // "displayName": "my_displayName",
* // "enableFuzzyExtraction": false,
* // "entities": [],
* // "kind": "my_kind",
* // "name": "my_name"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "autoExpansionMode": "my_autoExpansionMode",
* // "displayName": "my_displayName",
* // "enableFuzzyExtraction": false,
* // "entities": [],
* // "kind": "my_kind",
* // "name": "my_name"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
create(params: Params$Resource$Projects$Agent$Entitytypes$Create, options: StreamMethodOptions): Promise>;
create(params?: Params$Resource$Projects$Agent$Entitytypes$Create, options?: MethodOptions): Promise>;
create(params: Params$Resource$Projects$Agent$Entitytypes$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
create(params: Params$Resource$Projects$Agent$Entitytypes$Create, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
create(params: Params$Resource$Projects$Agent$Entitytypes$Create, callback: BodyResponseCallback): void;
create(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.entityTypes.delete({
* name: 'projects/my-project/agent/entityTypes/my-entityType',
* });
* console.log(res.data);
*
* // Example response
* // {}
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
delete(params: Params$Resource$Projects$Agent$Entitytypes$Delete, options: StreamMethodOptions): Promise>;
delete(params?: Params$Resource$Projects$Agent$Entitytypes$Delete, options?: MethodOptions): Promise>;
delete(params: Params$Resource$Projects$Agent$Entitytypes$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
delete(params: Params$Resource$Projects$Agent$Entitytypes$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
delete(params: Params$Resource$Projects$Agent$Entitytypes$Delete, callback: BodyResponseCallback): void;
delete(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.entityTypes.get({
* languageCode: 'placeholder-value',
*
* name: 'projects/my-project/agent/entityTypes/my-entityType',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "autoExpansionMode": "my_autoExpansionMode",
* // "displayName": "my_displayName",
* // "enableFuzzyExtraction": false,
* // "entities": [],
* // "kind": "my_kind",
* // "name": "my_name"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
get(params: Params$Resource$Projects$Agent$Entitytypes$Get, options: StreamMethodOptions): Promise>;
get(params?: Params$Resource$Projects$Agent$Entitytypes$Get, options?: MethodOptions): Promise>;
get(params: Params$Resource$Projects$Agent$Entitytypes$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
get(params: Params$Resource$Projects$Agent$Entitytypes$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
get(params: Params$Resource$Projects$Agent$Entitytypes$Get, callback: BodyResponseCallback): void;
get(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.entityTypes.list({
* languageCode: 'placeholder-value',
*
* pageSize: 'placeholder-value',
*
* pageToken: 'placeholder-value',
*
* parent: 'projects/my-project/agent',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "entityTypes": [],
* // "nextPageToken": "my_nextPageToken"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
list(params: Params$Resource$Projects$Agent$Entitytypes$List, options: StreamMethodOptions): Promise>;
list(params?: Params$Resource$Projects$Agent$Entitytypes$List, options?: MethodOptions): Promise>;
list(params: Params$Resource$Projects$Agent$Entitytypes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
list(params: Params$Resource$Projects$Agent$Entitytypes$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
list(params: Params$Resource$Projects$Agent$Entitytypes$List, callback: BodyResponseCallback): void;
list(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.entityTypes.patch({
* languageCode: 'placeholder-value',
*
* name: 'projects/my-project/agent/entityTypes/my-entityType',
*
* updateMask: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "autoExpansionMode": "my_autoExpansionMode",
* // "displayName": "my_displayName",
* // "enableFuzzyExtraction": false,
* // "entities": [],
* // "kind": "my_kind",
* // "name": "my_name"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "autoExpansionMode": "my_autoExpansionMode",
* // "displayName": "my_displayName",
* // "enableFuzzyExtraction": false,
* // "entities": [],
* // "kind": "my_kind",
* // "name": "my_name"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
patch(params: Params$Resource$Projects$Agent$Entitytypes$Patch, options: StreamMethodOptions): Promise>;
patch(params?: Params$Resource$Projects$Agent$Entitytypes$Patch, options?: MethodOptions): Promise>;
patch(params: Params$Resource$Projects$Agent$Entitytypes$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
patch(params: Params$Resource$Projects$Agent$Entitytypes$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
patch(params: Params$Resource$Projects$Agent$Entitytypes$Patch, callback: BodyResponseCallback): void;
patch(callback: BodyResponseCallback): void;
}
export interface Params$Resource$Projects$Agent$Entitytypes$Batchdelete extends StandardParameters {
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest;
}
export interface Params$Resource$Projects$Agent$Entitytypes$Batchupdate extends StandardParameters {
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest;
}
export interface Params$Resource$Projects$Agent$Entitytypes$Create extends StandardParameters {
/**
*
*/
languageCode?: string;
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2EntityType;
}
export interface Params$Resource$Projects$Agent$Entitytypes$Delete extends StandardParameters {
/**
*
*/
name?: string;
}
export interface Params$Resource$Projects$Agent$Entitytypes$Get extends StandardParameters {
/**
*
*/
languageCode?: string;
/**
*
*/
name?: string;
}
export interface Params$Resource$Projects$Agent$Entitytypes$List extends StandardParameters {
/**
*
*/
languageCode?: string;
/**
*
*/
pageSize?: number;
/**
*
*/
pageToken?: string;
/**
*
*/
parent?: string;
}
export interface Params$Resource$Projects$Agent$Entitytypes$Patch extends StandardParameters {
/**
*
*/
languageCode?: string;
/**
*
*/
name?: string;
/**
*
*/
updateMask?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2EntityType;
}
export class Resource$Projects$Agent$Entitytypes$Entities {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.entityTypes.entities.batchCreate({
* parent: 'projects/my-project/agent/entityTypes/my-entityType',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "entities": [],
* // "languageCode": "my_languageCode"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "done": false,
* // "error": {},
* // "metadata": {},
* // "name": "my_name",
* // "response": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
batchCreate(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, options: StreamMethodOptions): Promise>;
batchCreate(params?: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, options?: MethodOptions): Promise>;
batchCreate(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
batchCreate(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
batchCreate(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate, callback: BodyResponseCallback): void;
batchCreate(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.entityTypes.entities.batchDelete({
* parent: 'projects/my-project/agent/entityTypes/my-entityType',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "entityValues": [],
* // "languageCode": "my_languageCode"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "done": false,
* // "error": {},
* // "metadata": {},
* // "name": "my_name",
* // "response": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
batchDelete(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, options: StreamMethodOptions): Promise>;
batchDelete(params?: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, options?: MethodOptions): Promise>;
batchDelete(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
batchDelete(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
batchDelete(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete, callback: BodyResponseCallback): void;
batchDelete(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.entityTypes.entities.batchUpdate({
* parent: 'projects/my-project/agent/entityTypes/my-entityType',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "entities": [],
* // "languageCode": "my_languageCode",
* // "updateMask": "my_updateMask"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "done": false,
* // "error": {},
* // "metadata": {},
* // "name": "my_name",
* // "response": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
batchUpdate(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, options: StreamMethodOptions): Promise>;
batchUpdate(params?: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, options?: MethodOptions): Promise>;
batchUpdate(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
batchUpdate(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
batchUpdate(params: Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate, callback: BodyResponseCallback): void;
batchUpdate(callback: BodyResponseCallback): void;
}
export interface Params$Resource$Projects$Agent$Entitytypes$Entities$Batchcreate extends StandardParameters {
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2BatchCreateEntitiesRequest;
}
export interface Params$Resource$Projects$Agent$Entitytypes$Entities$Batchdelete extends StandardParameters {
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2BatchDeleteEntitiesRequest;
}
export interface Params$Resource$Projects$Agent$Entitytypes$Entities$Batchupdate extends StandardParameters {
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2BatchUpdateEntitiesRequest;
}
export class Resource$Projects$Agent$Environments {
context: APIRequestContext;
intents: Resource$Projects$Agent$Environments$Intents;
users: Resource$Projects$Agent$Environments$Users;
constructor(context: APIRequestContext);
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.environments.create({
* environmentId: 'placeholder-value',
*
* parent: 'projects/my-project/agent',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "agentVersion": "my_agentVersion",
* // "description": "my_description",
* // "fulfillment": {},
* // "name": "my_name",
* // "state": "my_state",
* // "textToSpeechSettings": {},
* // "updateTime": "my_updateTime"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "agentVersion": "my_agentVersion",
* // "description": "my_description",
* // "fulfillment": {},
* // "name": "my_name",
* // "state": "my_state",
* // "textToSpeechSettings": {},
* // "updateTime": "my_updateTime"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
create(params: Params$Resource$Projects$Agent$Environments$Create, options: StreamMethodOptions): Promise>;
create(params?: Params$Resource$Projects$Agent$Environments$Create, options?: MethodOptions): Promise>;
create(params: Params$Resource$Projects$Agent$Environments$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
create(params: Params$Resource$Projects$Agent$Environments$Create, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
create(params: Params$Resource$Projects$Agent$Environments$Create, callback: BodyResponseCallback): void;
create(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.environments.delete({
* name: 'projects/my-project/agent/environments/my-environment',
* });
* console.log(res.data);
*
* // Example response
* // {}
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
delete(params: Params$Resource$Projects$Agent$Environments$Delete, options: StreamMethodOptions): Promise>;
delete(params?: Params$Resource$Projects$Agent$Environments$Delete, options?: MethodOptions): Promise>;
delete(params: Params$Resource$Projects$Agent$Environments$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
delete(params: Params$Resource$Projects$Agent$Environments$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
delete(params: Params$Resource$Projects$Agent$Environments$Delete, callback: BodyResponseCallback): void;
delete(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.environments.get({
* name: 'projects/my-project/agent/environments/my-environment',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "agentVersion": "my_agentVersion",
* // "description": "my_description",
* // "fulfillment": {},
* // "name": "my_name",
* // "state": "my_state",
* // "textToSpeechSettings": {},
* // "updateTime": "my_updateTime"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
get(params: Params$Resource$Projects$Agent$Environments$Get, options: StreamMethodOptions): Promise>;
get(params?: Params$Resource$Projects$Agent$Environments$Get, options?: MethodOptions): Promise>;
get(params: Params$Resource$Projects$Agent$Environments$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
get(params: Params$Resource$Projects$Agent$Environments$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
get(params: Params$Resource$Projects$Agent$Environments$Get, callback: BodyResponseCallback): void;
get(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.environments.getHistory({
* pageSize: 'placeholder-value',
*
* pageToken: 'placeholder-value',
*
* parent: 'projects/my-project/agent/environments/my-environment',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "entries": [],
* // "nextPageToken": "my_nextPageToken",
* // "parent": "my_parent"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
getHistory(params: Params$Resource$Projects$Agent$Environments$Gethistory, options: StreamMethodOptions): Promise>;
getHistory(params?: Params$Resource$Projects$Agent$Environments$Gethistory, options?: MethodOptions): Promise>;
getHistory(params: Params$Resource$Projects$Agent$Environments$Gethistory, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
getHistory(params: Params$Resource$Projects$Agent$Environments$Gethistory, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
getHistory(params: Params$Resource$Projects$Agent$Environments$Gethistory, callback: BodyResponseCallback): void;
getHistory(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.environments.list({
* pageSize: 'placeholder-value',
*
* pageToken: 'placeholder-value',
*
* parent: 'projects/my-project/agent',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "environments": [],
* // "nextPageToken": "my_nextPageToken"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
list(params: Params$Resource$Projects$Agent$Environments$List, options: StreamMethodOptions): Promise>;
list(params?: Params$Resource$Projects$Agent$Environments$List, options?: MethodOptions): Promise>;
list(params: Params$Resource$Projects$Agent$Environments$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
list(params: Params$Resource$Projects$Agent$Environments$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
list(params: Params$Resource$Projects$Agent$Environments$List, callback: BodyResponseCallback): void;
list(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.environments.patch({
* allowLoadToDraftAndDiscardChanges: 'placeholder-value',
*
* name: 'projects/my-project/agent/environments/my-environment',
*
* updateMask: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "agentVersion": "my_agentVersion",
* // "description": "my_description",
* // "fulfillment": {},
* // "name": "my_name",
* // "state": "my_state",
* // "textToSpeechSettings": {},
* // "updateTime": "my_updateTime"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "agentVersion": "my_agentVersion",
* // "description": "my_description",
* // "fulfillment": {},
* // "name": "my_name",
* // "state": "my_state",
* // "textToSpeechSettings": {},
* // "updateTime": "my_updateTime"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
patch(params: Params$Resource$Projects$Agent$Environments$Patch, options: StreamMethodOptions): Promise>;
patch(params?: Params$Resource$Projects$Agent$Environments$Patch, options?: MethodOptions): Promise>;
patch(params: Params$Resource$Projects$Agent$Environments$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
patch(params: Params$Resource$Projects$Agent$Environments$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
patch(params: Params$Resource$Projects$Agent$Environments$Patch, callback: BodyResponseCallback): void;
patch(callback: BodyResponseCallback): void;
}
export interface Params$Resource$Projects$Agent$Environments$Create extends StandardParameters {
/**
*
*/
environmentId?: string;
/**
*
*/
parent?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2Environment;
}
export interface Params$Resource$Projects$Agent$Environments$Delete extends StandardParameters {
/**
*
*/
name?: string;
}
export interface Params$Resource$Projects$Agent$Environments$Get extends StandardParameters {
/**
*
*/
name?: string;
}
export interface Params$Resource$Projects$Agent$Environments$Gethistory extends StandardParameters {
/**
*
*/
pageSize?: number;
/**
*
*/
pageToken?: string;
/**
*
*/
parent?: string;
}
export interface Params$Resource$Projects$Agent$Environments$List extends StandardParameters {
/**
*
*/
pageSize?: number;
/**
*
*/
pageToken?: string;
/**
*
*/
parent?: string;
}
export interface Params$Resource$Projects$Agent$Environments$Patch extends StandardParameters {
/**
*
*/
allowLoadToDraftAndDiscardChanges?: boolean;
/**
*
*/
name?: string;
/**
*
*/
updateMask?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2Environment;
}
export class Resource$Projects$Agent$Environments$Intents {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await dialogflow.projects.agent.environments.intents.list({
* intentView: 'placeholder-value',
*
* languageCode: 'placeholder-value',
*
* pageSize: 'placeholder-value',
*
* pageToken: 'placeholder-value',
*
* parent: 'projects/my-project/agent/environments/my-environment',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "intents": [],
* // "nextPageToken": "my_nextPageToken"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
list(params: Params$Resource$Projects$Agent$Environments$Intents$List, options: StreamMethodOptions): Promise>;
list(params?: Params$Resource$Projects$Agent$Environments$Intents$List, options?: MethodOptions): Promise>;
list(params: Params$Resource$Projects$Agent$Environments$Intents$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
list(params: Params$Resource$Projects$Agent$Environments$Intents$List, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
list(params: Params$Resource$Projects$Agent$Environments$Intents$List, callback: BodyResponseCallback): void;
list(callback: BodyResponseCallback): void;
}
export interface Params$Resource$Projects$Agent$Environments$Intents$List extends StandardParameters {
/**
*
*/
intentView?: string;
/**
*
*/
languageCode?: string;
/**
*
*/
pageSize?: number;
/**
*
*/
pageToken?: string;
/**
*
*/
parent?: string;
}
export class Resource$Projects$Agent$Environments$Users {
context: APIRequestContext;
sessions: Resource$Projects$Agent$Environments$Users$Sessions;
constructor(context: APIRequestContext);
}
export class Resource$Projects$Agent$Environments$Users$Sessions {
context: APIRequestContext;
contexts: Resource$Projects$Agent$Environments$Users$Sessions$Contexts;
entityTypes: Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes;
constructor(context: APIRequestContext);
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res =
* await dialogflow.projects.agent.environments.users.sessions.deleteContexts({
* parent:
* 'projects/my-project/agent/environments/my-environment/users/my-user/sessions/my-session',
* });
* console.log(res.data);
*
* // Example response
* // {}
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
deleteContexts(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, options: StreamMethodOptions): Promise>;
deleteContexts(params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, options?: MethodOptions): Promise>;
deleteContexts(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
deleteContexts(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
deleteContexts(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts, callback: BodyResponseCallback): void;
deleteContexts(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res =
* await dialogflow.projects.agent.environments.users.sessions.detectIntent({
* session:
* 'projects/my-project/agent/environments/my-environment/users/my-user/sessions/my-session',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "inputAudio": "my_inputAudio",
* // "outputAudioConfig": {},
* // "outputAudioConfigMask": "my_outputAudioConfigMask",
* // "queryInput": {},
* // "queryParams": {}
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "outputAudio": "my_outputAudio",
* // "outputAudioConfig": {},
* // "queryResult": {},
* // "responseId": "my_responseId",
* // "webhookStatus": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
detectIntent(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, options: StreamMethodOptions): Promise>;
detectIntent(params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, options?: MethodOptions): Promise>;
detectIntent(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
detectIntent(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
detectIntent(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent, callback: BodyResponseCallback): void;
detectIntent(callback: BodyResponseCallback): void;
}
export interface Params$Resource$Projects$Agent$Environments$Users$Sessions$Deletecontexts extends StandardParameters {
/**
*
*/
parent?: string;
}
export interface Params$Resource$Projects$Agent$Environments$Users$Sessions$Detectintent extends StandardParameters {
/**
*
*/
session?: string;
/**
* Request body metadata
*/
requestBody?: Schema$GoogleCloudDialogflowV2DetectIntentRequest;
}
export class Resource$Projects$Agent$Environments$Users$Sessions$Contexts {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res =
* await dialogflow.projects.agent.environments.users.sessions.contexts.create(
* {
* parent:
* 'projects/my-project/agent/environments/my-environment/users/my-user/sessions/my-session',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "lifespanCount": 0,
* // "name": "my_name",
* // "parameters": {}
* // }
* },
* },
* );
* console.log(res.data);
*
* // Example response
* // {
* // "lifespanCount": 0,
* // "name": "my_name",
* // "parameters": {}
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
create(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, options: StreamMethodOptions): Promise>;
create(params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, options?: MethodOptions): Promise>;
create(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
create(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
create(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Create, callback: BodyResponseCallback): void;
create(callback: BodyResponseCallback): void;
/**
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/dialogflow.googleapis.com
* // - Login into gcloud by running:
* // ```sh
* // $ gcloud auth application-default login
* // ```
* // - Install the npm module by running:
* // ```sh
* // $ npm install googleapis
* // ```
*
* const {google} = require('googleapis');
* const dialogflow = google.dialogflow('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/dialogflow',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res =
* await dialogflow.projects.agent.environments.users.sessions.contexts.delete(
* {
* name: 'projects/my-project/agent/environments/my-environment/users/my-user/sessions/my-session/contexts/my-context',
* },
* );
* console.log(res.data);
*
* // Example response
* // {}
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
delete(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete, options: StreamMethodOptions): Promise>;
delete(params?: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete, options?: MethodOptions): Promise>;
delete(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback): void;
delete(params: Params$Resource$Projects$Agent$Environments$Users$Sessions$Contexts$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback