@maxim_mazurok/gapi.client.dialogflow-v2beta1 0.0.20250308 → 0.0.20250310
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +285 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dialogflow.googleapis.com/$discovery/rest?version=v2beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250310
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2022,6 +2022,10 @@ declare namespace gapi.client {
|
|
|
2022
2022
|
conversationStage?: string;
|
|
2023
2023
|
/** Output only. The time the conversation was finished. */
|
|
2024
2024
|
endTime?: string;
|
|
2025
|
+
/** Output only. The context reference updates provided by external systems. */
|
|
2026
|
+
ingestedContextReferences?: {
|
|
2027
|
+
[P in string]: GoogleCloudDialogflowV2beta1ConversationContextReference;
|
|
2028
|
+
};
|
|
2025
2029
|
/** Output only. The current state of the Conversation. */
|
|
2026
2030
|
lifecycleState?: string;
|
|
2027
2031
|
/** Output only. Identifier. The unique identifier of this conversation. Format: `projects//locations//conversations/`. */
|
|
@@ -2037,6 +2041,24 @@ declare namespace gapi.client {
|
|
|
2037
2041
|
/** Optional. List of message transcripts in the conversation. */
|
|
2038
2042
|
messageEntries?: GoogleCloudDialogflowV2beta1MessageEntry[];
|
|
2039
2043
|
}
|
|
2044
|
+
interface GoogleCloudDialogflowV2beta1ConversationContextReference {
|
|
2045
|
+
/** Required. The list of content updates for a context reference. */
|
|
2046
|
+
contextContents?: GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent[];
|
|
2047
|
+
/** Output only. The time the context reference was first created. */
|
|
2048
|
+
createTime?: string;
|
|
2049
|
+
/** Optional. The language of the information ingested, defaults to "en-US" if not set. */
|
|
2050
|
+
languageCode?: string;
|
|
2051
|
+
/** Required. The mode in which context reference contents are updated. */
|
|
2052
|
+
updateMode?: string;
|
|
2053
|
+
}
|
|
2054
|
+
interface GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent {
|
|
2055
|
+
/** Required. The information ingested in a single request. */
|
|
2056
|
+
content?: string;
|
|
2057
|
+
/** Required. The format of the ingested string. */
|
|
2058
|
+
contentFormat?: string;
|
|
2059
|
+
/** Output only. The time when this information was incorporated into the relevant context reference. */
|
|
2060
|
+
ingestionTime?: string;
|
|
2061
|
+
}
|
|
2040
2062
|
interface GoogleCloudDialogflowV2beta1ConversationEvent {
|
|
2041
2063
|
/** Required. The unique identifier of the conversation this notification refers to. Format: `projects//conversations/`. */
|
|
2042
2064
|
conversation?: string;
|
|
@@ -2293,6 +2315,14 @@ declare namespace gapi.client {
|
|
|
2293
2315
|
/** Summarization sections. */
|
|
2294
2316
|
summarizationSectionList?: GoogleCloudDialogflowV2beta1SummarizationSectionList;
|
|
2295
2317
|
}
|
|
2318
|
+
interface GoogleCloudDialogflowV2beta1FreeFormContext {
|
|
2319
|
+
/** Optional. Free form text input to LLM. */
|
|
2320
|
+
text?: string;
|
|
2321
|
+
}
|
|
2322
|
+
interface GoogleCloudDialogflowV2beta1FreeFormSuggestion {
|
|
2323
|
+
/** Required. Free form suggestion. */
|
|
2324
|
+
response?: string;
|
|
2325
|
+
}
|
|
2296
2326
|
interface GoogleCloudDialogflowV2beta1Fulfillment {
|
|
2297
2327
|
/** The human-readable name of the fulfillment, unique within the agent. This field is not used for Fulfillment in an Environment. */
|
|
2298
2328
|
displayName?: string;
|
|
@@ -2334,6 +2364,10 @@ declare namespace gapi.client {
|
|
|
2334
2364
|
uris?: string[];
|
|
2335
2365
|
}
|
|
2336
2366
|
interface GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest {
|
|
2367
|
+
/** Optional. A section of ingested context information. The key is the name of the context reference and the value contains the contents of the context reference. The key is used to incorporate ingested context references to enhance the generator. */
|
|
2368
|
+
contextReferences?: {
|
|
2369
|
+
[P in string]: GoogleCloudDialogflowV2beta1ConversationContextReference;
|
|
2370
|
+
};
|
|
2337
2371
|
/** Optional. Context of the conversation, including transcripts. */
|
|
2338
2372
|
conversationContext?: GoogleCloudDialogflowV2beta1ConversationContext;
|
|
2339
2373
|
/** Uncreated generator. It should be a complete generator that includes all information about the generator. */
|
|
@@ -2377,15 +2411,39 @@ declare namespace gapi.client {
|
|
|
2377
2411
|
/** The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value. */
|
|
2378
2412
|
textSections?: {[P in string]: string};
|
|
2379
2413
|
}
|
|
2414
|
+
interface GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest {
|
|
2415
|
+
/** Optional. The name of the latest conversation message for which the request is triggered. Format: `projects//locations//conversations//messages/`. */
|
|
2416
|
+
latestMessage?: string;
|
|
2417
|
+
/** Optional. A list of trigger events. Only generators configured in the conversation_profile whose trigger_event is listed here will be triggered. */
|
|
2418
|
+
triggerEvents?: string[];
|
|
2419
|
+
}
|
|
2420
|
+
interface GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse {
|
|
2421
|
+
/** The answers generated for the conversation based on context. */
|
|
2422
|
+
generatorSuggestionAnswers?: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer[];
|
|
2423
|
+
/** The name of the latest conversation message used as context for compiling suggestion. Format: `projects//locations//conversations//messages/`. */
|
|
2424
|
+
latestMessage?: string;
|
|
2425
|
+
}
|
|
2426
|
+
interface GoogleCloudDialogflowV2beta1GenerateSuggestionsResponseGeneratorSuggestionAnswer {
|
|
2427
|
+
/** Answer record that uniquely identifies the suggestion. This can be used to provide suggestion feedback. */
|
|
2428
|
+
answerRecord?: string;
|
|
2429
|
+
/** Suggestion details. */
|
|
2430
|
+
generatorSuggestion?: GoogleCloudDialogflowV2beta1GeneratorSuggestion;
|
|
2431
|
+
/** The name of the generator used to generate this suggestion. Format: `projects//locations//generators/`. */
|
|
2432
|
+
sourceGenerator?: string;
|
|
2433
|
+
}
|
|
2380
2434
|
interface GoogleCloudDialogflowV2beta1Generator {
|
|
2381
2435
|
/** Output only. Creation time of this generator. */
|
|
2382
2436
|
createTime?: string;
|
|
2383
2437
|
/** Optional. Human readable description of the generator. */
|
|
2384
2438
|
description?: string;
|
|
2439
|
+
/** Input of free from generator to LLM. */
|
|
2440
|
+
freeFormContext?: GoogleCloudDialogflowV2beta1FreeFormContext;
|
|
2385
2441
|
/** Optional. Inference parameters for this generator. */
|
|
2386
2442
|
inferenceParameter?: GoogleCloudDialogflowV2beta1InferenceParameter;
|
|
2387
2443
|
/** Output only. Identifier. The resource name of the generator. Format: `projects//locations//generators/` */
|
|
2388
2444
|
name?: string;
|
|
2445
|
+
/** Optional. The published Large Language Model name. * To use the latest model version, specify the model name without version number. Example: `text-bison` * To use a stable model version, specify the version number as well. Example: `text-bison@002`. */
|
|
2446
|
+
publishedModel?: string;
|
|
2389
2447
|
/** Input of Summarization feature. */
|
|
2390
2448
|
summarizationContext?: GoogleCloudDialogflowV2beta1SummarizationContext;
|
|
2391
2449
|
/** Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. */
|
|
@@ -2394,6 +2452,8 @@ declare namespace gapi.client {
|
|
|
2394
2452
|
updateTime?: string;
|
|
2395
2453
|
}
|
|
2396
2454
|
interface GoogleCloudDialogflowV2beta1GeneratorSuggestion {
|
|
2455
|
+
/** Optional. Free form suggestion. */
|
|
2456
|
+
freeFormSuggestion?: GoogleCloudDialogflowV2beta1FreeFormSuggestion;
|
|
2397
2457
|
/** Optional. Suggested summary. */
|
|
2398
2458
|
summarySuggestion?: GoogleCloudDialogflowV2beta1SummarySuggestion;
|
|
2399
2459
|
}
|
|
@@ -2573,6 +2633,18 @@ declare namespace gapi.client {
|
|
|
2573
2633
|
/** Optional. Top-p changes how the model selects tokens for output. Tokens are selected from most K (see topK parameter) probable to least until the sum of their probabilities equals the top-p value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-p value is 0.5, then the model will select either A or B as the next token (using temperature) and doesn't consider C. The default top-p value is 0.95. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [0.0, 1.0], default to 0.95. */
|
|
2574
2634
|
topP?: number;
|
|
2575
2635
|
}
|
|
2636
|
+
interface GoogleCloudDialogflowV2beta1IngestContextReferencesRequest {
|
|
2637
|
+
/** Required. The context references to ingest. The key is the name of the context reference and the value contains the contents of the context reference. The key is used to incorporate ingested context references to enhance the generator. */
|
|
2638
|
+
contextReferences?: {
|
|
2639
|
+
[P in string]: GoogleCloudDialogflowV2beta1ConversationContextReference;
|
|
2640
|
+
};
|
|
2641
|
+
}
|
|
2642
|
+
interface GoogleCloudDialogflowV2beta1IngestContextReferencesResponse {
|
|
2643
|
+
/** All context references ingested. */
|
|
2644
|
+
ingestedContextReferences?: {
|
|
2645
|
+
[P in string]: GoogleCloudDialogflowV2beta1ConversationContextReference;
|
|
2646
|
+
};
|
|
2647
|
+
}
|
|
2576
2648
|
interface GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata {
|
|
2577
2649
|
/** Output only. The original request for initialization. */
|
|
2578
2650
|
request?: GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest;
|
|
@@ -3760,6 +3832,8 @@ declare namespace gapi.client {
|
|
|
3760
3832
|
interface GoogleCloudDialogflowV2beta1SuggestionResult {
|
|
3761
3833
|
/** Error status if the request failed. */
|
|
3762
3834
|
error?: GoogleRpcStatus;
|
|
3835
|
+
/** Suggestions generated using generators triggered by customer or agent messages. */
|
|
3836
|
+
generateSuggestionsResponse?: GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse;
|
|
3763
3837
|
/** SuggestArticlesResponse if request is for ARTICLE_SUGGESTION. */
|
|
3764
3838
|
suggestArticlesResponse?: GoogleCloudDialogflowV2beta1SuggestArticlesResponse;
|
|
3765
3839
|
/** SuggestDialogflowAssistsResponse if request is for DIALOGFLOW_ASSIST. */
|
|
@@ -4080,10 +4154,34 @@ declare namespace gapi.client {
|
|
|
4080
4154
|
/** Indicates which Knowledge Document this answer was extracted from. Format: `projects//locations//agent/knowledgeBases//documents/`. */
|
|
4081
4155
|
source?: string;
|
|
4082
4156
|
}
|
|
4157
|
+
interface GoogleCloudDialogflowV2FreeFormSuggestion {
|
|
4158
|
+
/** Required. Free form suggestion. */
|
|
4159
|
+
response?: string;
|
|
4160
|
+
}
|
|
4083
4161
|
interface GoogleCloudDialogflowV2GcsDestination {
|
|
4084
4162
|
/** The Google Cloud Storage URIs for the output. A URI is of the form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends on the use case. The requesting user must have "write-permission" to the bucket. */
|
|
4085
4163
|
uri?: string;
|
|
4086
4164
|
}
|
|
4165
|
+
interface GoogleCloudDialogflowV2GenerateSuggestionsResponse {
|
|
4166
|
+
/** The answers generated for the conversation based on context. */
|
|
4167
|
+
generatorSuggestionAnswers?: GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer[];
|
|
4168
|
+
/** The name of the latest conversation message used as context for compiling suggestion. Format: `projects//locations//conversations//messages/`. */
|
|
4169
|
+
latestMessage?: string;
|
|
4170
|
+
}
|
|
4171
|
+
interface GoogleCloudDialogflowV2GenerateSuggestionsResponseGeneratorSuggestionAnswer {
|
|
4172
|
+
/** Answer record that uniquely identifies the suggestion. This can be used to provide suggestion feedback. */
|
|
4173
|
+
answerRecord?: string;
|
|
4174
|
+
/** Suggestion details. */
|
|
4175
|
+
generatorSuggestion?: GoogleCloudDialogflowV2GeneratorSuggestion;
|
|
4176
|
+
/** The name of the generator used to generate this suggestion. Format: `projects//locations//generators/`. */
|
|
4177
|
+
sourceGenerator?: string;
|
|
4178
|
+
}
|
|
4179
|
+
interface GoogleCloudDialogflowV2GeneratorSuggestion {
|
|
4180
|
+
/** Optional. Free form suggestion. */
|
|
4181
|
+
freeFormSuggestion?: GoogleCloudDialogflowV2FreeFormSuggestion;
|
|
4182
|
+
/** Optional. Suggested summary. */
|
|
4183
|
+
summarySuggestion?: GoogleCloudDialogflowV2SummarySuggestion;
|
|
4184
|
+
}
|
|
4087
4185
|
interface GoogleCloudDialogflowV2HumanAgentAssistantEvent {
|
|
4088
4186
|
/** The conversation this notification refers to. Format: `projects//conversations/`. */
|
|
4089
4187
|
conversation?: string;
|
|
@@ -4629,6 +4727,8 @@ declare namespace gapi.client {
|
|
|
4629
4727
|
interface GoogleCloudDialogflowV2SuggestionResult {
|
|
4630
4728
|
/** Error status if the request failed. */
|
|
4631
4729
|
error?: GoogleRpcStatus;
|
|
4730
|
+
/** Suggestions generated using generators triggered by customer or agent messages. */
|
|
4731
|
+
generateSuggestionsResponse?: GoogleCloudDialogflowV2GenerateSuggestionsResponse;
|
|
4632
4732
|
/** SuggestArticlesResponse if request is for ARTICLE_SUGGESTION. */
|
|
4633
4733
|
suggestArticlesResponse?: GoogleCloudDialogflowV2SuggestArticlesResponse;
|
|
4634
4734
|
/** SuggestFaqAnswersResponse if request is for FAQ_ANSWER. */
|
|
@@ -4654,6 +4754,16 @@ declare namespace gapi.client {
|
|
|
4654
4754
|
/** Output only. Multiple reply options provided by smart reply service. The order is based on the rank of the model prediction. The maximum number of the returned replies is set in SmartReplyConfig. */
|
|
4655
4755
|
smartReplyAnswers?: GoogleCloudDialogflowV2SmartReplyAnswer[];
|
|
4656
4756
|
}
|
|
4757
|
+
interface GoogleCloudDialogflowV2SummarySuggestion {
|
|
4758
|
+
/** Required. All the parts of generated summary. */
|
|
4759
|
+
summarySections?: GoogleCloudDialogflowV2SummarySuggestionSummarySection[];
|
|
4760
|
+
}
|
|
4761
|
+
interface GoogleCloudDialogflowV2SummarySuggestionSummarySection {
|
|
4762
|
+
/** Required. Name of the section. */
|
|
4763
|
+
section?: string;
|
|
4764
|
+
/** Required. Summary text for the section. */
|
|
4765
|
+
summary?: string;
|
|
4766
|
+
}
|
|
4657
4767
|
interface GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata {
|
|
4658
4768
|
/** The resource name of the conversation model. Format: `projects//conversationModels/` */
|
|
4659
4769
|
conversationModel?: string;
|
|
@@ -9102,6 +9212,64 @@ declare namespace gapi.client {
|
|
|
9102
9212
|
suggestions: SuggestionsResource;
|
|
9103
9213
|
}
|
|
9104
9214
|
interface SuggestionsResource {
|
|
9215
|
+
/** Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched. */
|
|
9216
|
+
generate(request: {
|
|
9217
|
+
/** V1 error format. */
|
|
9218
|
+
'$.xgafv'?: string;
|
|
9219
|
+
/** OAuth access token. */
|
|
9220
|
+
access_token?: string;
|
|
9221
|
+
/** Data format for response. */
|
|
9222
|
+
alt?: string;
|
|
9223
|
+
/** JSONP */
|
|
9224
|
+
callback?: string;
|
|
9225
|
+
/** Required. The conversation for which the suggestions are generated. Format: `projects//locations//conversations/`. The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions. */
|
|
9226
|
+
conversation: string;
|
|
9227
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9228
|
+
fields?: string;
|
|
9229
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9230
|
+
key?: string;
|
|
9231
|
+
/** OAuth 2.0 token for the current user. */
|
|
9232
|
+
oauth_token?: string;
|
|
9233
|
+
/** Returns response with indentations and line breaks. */
|
|
9234
|
+
prettyPrint?: boolean;
|
|
9235
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
9236
|
+
quotaUser?: string;
|
|
9237
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9238
|
+
upload_protocol?: string;
|
|
9239
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9240
|
+
uploadType?: string;
|
|
9241
|
+
/** Request body */
|
|
9242
|
+
resource: GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest;
|
|
9243
|
+
}): Request<GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse>;
|
|
9244
|
+
generate(
|
|
9245
|
+
request: {
|
|
9246
|
+
/** V1 error format. */
|
|
9247
|
+
'$.xgafv'?: string;
|
|
9248
|
+
/** OAuth access token. */
|
|
9249
|
+
access_token?: string;
|
|
9250
|
+
/** Data format for response. */
|
|
9251
|
+
alt?: string;
|
|
9252
|
+
/** JSONP */
|
|
9253
|
+
callback?: string;
|
|
9254
|
+
/** Required. The conversation for which the suggestions are generated. Format: `projects//locations//conversations/`. The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions. */
|
|
9255
|
+
conversation: string;
|
|
9256
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
9257
|
+
fields?: string;
|
|
9258
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
9259
|
+
key?: string;
|
|
9260
|
+
/** OAuth 2.0 token for the current user. */
|
|
9261
|
+
oauth_token?: string;
|
|
9262
|
+
/** Returns response with indentations and line breaks. */
|
|
9263
|
+
prettyPrint?: boolean;
|
|
9264
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
9265
|
+
quotaUser?: string;
|
|
9266
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
9267
|
+
upload_protocol?: string;
|
|
9268
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9269
|
+
uploadType?: string;
|
|
9270
|
+
},
|
|
9271
|
+
body: GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest,
|
|
9272
|
+
): Request<GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse>;
|
|
9105
9273
|
/** Get answers for the given query based on knowledge documents. */
|
|
9106
9274
|
searchKnowledge(request: {
|
|
9107
9275
|
/** V1 error format. */
|
|
@@ -13802,6 +13970,64 @@ declare namespace gapi.client {
|
|
|
13802
13970
|
suggestions: SuggestionsResource;
|
|
13803
13971
|
}
|
|
13804
13972
|
interface SuggestionsResource {
|
|
13973
|
+
/** Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched. */
|
|
13974
|
+
generate(request: {
|
|
13975
|
+
/** V1 error format. */
|
|
13976
|
+
'$.xgafv'?: string;
|
|
13977
|
+
/** OAuth access token. */
|
|
13978
|
+
access_token?: string;
|
|
13979
|
+
/** Data format for response. */
|
|
13980
|
+
alt?: string;
|
|
13981
|
+
/** JSONP */
|
|
13982
|
+
callback?: string;
|
|
13983
|
+
/** Required. The conversation for which the suggestions are generated. Format: `projects//locations//conversations/`. The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions. */
|
|
13984
|
+
conversation: string;
|
|
13985
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13986
|
+
fields?: string;
|
|
13987
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
13988
|
+
key?: string;
|
|
13989
|
+
/** OAuth 2.0 token for the current user. */
|
|
13990
|
+
oauth_token?: string;
|
|
13991
|
+
/** Returns response with indentations and line breaks. */
|
|
13992
|
+
prettyPrint?: boolean;
|
|
13993
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
13994
|
+
quotaUser?: string;
|
|
13995
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13996
|
+
upload_protocol?: string;
|
|
13997
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13998
|
+
uploadType?: string;
|
|
13999
|
+
/** Request body */
|
|
14000
|
+
resource: GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest;
|
|
14001
|
+
}): Request<GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse>;
|
|
14002
|
+
generate(
|
|
14003
|
+
request: {
|
|
14004
|
+
/** V1 error format. */
|
|
14005
|
+
'$.xgafv'?: string;
|
|
14006
|
+
/** OAuth access token. */
|
|
14007
|
+
access_token?: string;
|
|
14008
|
+
/** Data format for response. */
|
|
14009
|
+
alt?: string;
|
|
14010
|
+
/** JSONP */
|
|
14011
|
+
callback?: string;
|
|
14012
|
+
/** Required. The conversation for which the suggestions are generated. Format: `projects//locations//conversations/`. The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions. */
|
|
14013
|
+
conversation: string;
|
|
14014
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14015
|
+
fields?: string;
|
|
14016
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14017
|
+
key?: string;
|
|
14018
|
+
/** OAuth 2.0 token for the current user. */
|
|
14019
|
+
oauth_token?: string;
|
|
14020
|
+
/** Returns response with indentations and line breaks. */
|
|
14021
|
+
prettyPrint?: boolean;
|
|
14022
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
14023
|
+
quotaUser?: string;
|
|
14024
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14025
|
+
upload_protocol?: string;
|
|
14026
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14027
|
+
uploadType?: string;
|
|
14028
|
+
},
|
|
14029
|
+
body: GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest,
|
|
14030
|
+
): Request<GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse>;
|
|
13805
14031
|
/** Get answers for the given query based on knowledge documents. */
|
|
13806
14032
|
searchKnowledge(request: {
|
|
13807
14033
|
/** V1 error format. */
|
|
@@ -14067,6 +14293,64 @@ declare namespace gapi.client {
|
|
|
14067
14293
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14068
14294
|
uploadType?: string;
|
|
14069
14295
|
}): Request<GoogleCloudDialogflowV2beta1Conversation>;
|
|
14296
|
+
/** Data ingestion API. Ingests context references for an existing conversation. */
|
|
14297
|
+
ingestContextReferences(request: {
|
|
14298
|
+
/** V1 error format. */
|
|
14299
|
+
'$.xgafv'?: string;
|
|
14300
|
+
/** OAuth access token. */
|
|
14301
|
+
access_token?: string;
|
|
14302
|
+
/** Data format for response. */
|
|
14303
|
+
alt?: string;
|
|
14304
|
+
/** JSONP */
|
|
14305
|
+
callback?: string;
|
|
14306
|
+
/** Required. Resource identifier of the conversation to ingest context information for. Format: `projects//locations//conversations/`. */
|
|
14307
|
+
conversation: string;
|
|
14308
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14309
|
+
fields?: string;
|
|
14310
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14311
|
+
key?: string;
|
|
14312
|
+
/** OAuth 2.0 token for the current user. */
|
|
14313
|
+
oauth_token?: string;
|
|
14314
|
+
/** Returns response with indentations and line breaks. */
|
|
14315
|
+
prettyPrint?: boolean;
|
|
14316
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
14317
|
+
quotaUser?: string;
|
|
14318
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14319
|
+
upload_protocol?: string;
|
|
14320
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14321
|
+
uploadType?: string;
|
|
14322
|
+
/** Request body */
|
|
14323
|
+
resource: GoogleCloudDialogflowV2beta1IngestContextReferencesRequest;
|
|
14324
|
+
}): Request<GoogleCloudDialogflowV2beta1IngestContextReferencesResponse>;
|
|
14325
|
+
ingestContextReferences(
|
|
14326
|
+
request: {
|
|
14327
|
+
/** V1 error format. */
|
|
14328
|
+
'$.xgafv'?: string;
|
|
14329
|
+
/** OAuth access token. */
|
|
14330
|
+
access_token?: string;
|
|
14331
|
+
/** Data format for response. */
|
|
14332
|
+
alt?: string;
|
|
14333
|
+
/** JSONP */
|
|
14334
|
+
callback?: string;
|
|
14335
|
+
/** Required. Resource identifier of the conversation to ingest context information for. Format: `projects//locations//conversations/`. */
|
|
14336
|
+
conversation: string;
|
|
14337
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14338
|
+
fields?: string;
|
|
14339
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14340
|
+
key?: string;
|
|
14341
|
+
/** OAuth 2.0 token for the current user. */
|
|
14342
|
+
oauth_token?: string;
|
|
14343
|
+
/** Returns response with indentations and line breaks. */
|
|
14344
|
+
prettyPrint?: boolean;
|
|
14345
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
14346
|
+
quotaUser?: string;
|
|
14347
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14348
|
+
upload_protocol?: string;
|
|
14349
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14350
|
+
uploadType?: string;
|
|
14351
|
+
},
|
|
14352
|
+
body: GoogleCloudDialogflowV2beta1IngestContextReferencesRequest,
|
|
14353
|
+
): Request<GoogleCloudDialogflowV2beta1IngestContextReferencesResponse>;
|
|
14070
14354
|
/** Returns the list of all conversations in the specified project. */
|
|
14071
14355
|
list(request?: {
|
|
14072
14356
|
/** V1 error format. */
|