@maxim_mazurok/gapi.client.dialogflow-v2beta1 0.0.20241018 → 0.0.20241025
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 +307 -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: 20241025
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1987,6 +1987,22 @@ declare namespace gapi.client {
|
|
|
1987
1987
|
suggestion?: GoogleCloudDialogflowV2beta1Suggestion;
|
|
1988
1988
|
}
|
|
1989
1989
|
interface GoogleCloudDialogflowV2beta1CompleteConversationRequest {}
|
|
1990
|
+
interface GoogleCloudDialogflowV2beta1Connection {
|
|
1991
|
+
/** Output only. The unique identifier of the SIP Trunk connection. */
|
|
1992
|
+
connectionId?: string;
|
|
1993
|
+
/** Output only. The error details for the connection. Only populated when authentication errors occur. */
|
|
1994
|
+
errorDetails?: GoogleCloudDialogflowV2beta1ConnectionErrorDetails;
|
|
1995
|
+
/** Output only. State of the connection. */
|
|
1996
|
+
state?: string;
|
|
1997
|
+
/** Output only. When the connection status changed. */
|
|
1998
|
+
updateTime?: string;
|
|
1999
|
+
}
|
|
2000
|
+
interface GoogleCloudDialogflowV2beta1ConnectionErrorDetails {
|
|
2001
|
+
/** Output only. The status of the certificate authentication. */
|
|
2002
|
+
certificateState?: string;
|
|
2003
|
+
/** The error message provided from SIP trunking auth service */
|
|
2004
|
+
errorMessage?: string;
|
|
2005
|
+
}
|
|
1990
2006
|
interface GoogleCloudDialogflowV2beta1Context {
|
|
1991
2007
|
/** Optional. The number of conversational query requests after which the context expires. The default is `0`. If set to `0`, the context expires immediately. Contexts expire automatically after 20 minutes if there are no matching queries. */
|
|
1992
2008
|
lifespanCount?: number;
|
|
@@ -2410,6 +2426,8 @@ declare namespace gapi.client {
|
|
|
2410
2426
|
confidenceThreshold?: number;
|
|
2411
2427
|
/** Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped. */
|
|
2412
2428
|
contextFilterSettings?: GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings;
|
|
2429
|
+
/** Optional. The number of recent messages to include in the context. Supported features: KNOWLEDGE_ASSIST. */
|
|
2430
|
+
contextSize?: number;
|
|
2413
2431
|
/** Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST, ENTITY_EXTRACTION. */
|
|
2414
2432
|
dialogflowQuerySource?: GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource;
|
|
2415
2433
|
/** Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE. */
|
|
@@ -2552,6 +2570,8 @@ declare namespace gapi.client {
|
|
|
2552
2570
|
optOutConformerModelMigration?: boolean;
|
|
2553
2571
|
/** A list of strings containing words and phrases that the speech recognizer should recognize with higher likelihood. See [the Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more details. This field is deprecated. Please use [`speech_contexts`]() instead. If you specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will treat the [`phrase_hints`]() as a single additional [`SpeechContext`](). */
|
|
2554
2572
|
phraseHints?: string[];
|
|
2573
|
+
/** A collection of phrase set resources to use for speech adaptation. */
|
|
2574
|
+
phraseSets?: string[];
|
|
2555
2575
|
/** Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. */
|
|
2556
2576
|
sampleRateHertz?: number;
|
|
2557
2577
|
/** If `false` (default), recognition does not cease until the client closes the stream. If `true`, the recognizer will detect a single spoken utterance in input audio. Recognition ceases when it detects the audio's voice has stopped or paused. In this case, once a detected intent is received, the client should close the stream and start a new request with a new stream as needed. Note: This setting is relevant only for streaming methods. Note: When specified, InputAudioConfig.single_utterance takes precedence over StreamingDetectIntentRequest.single_utterance. */
|
|
@@ -3025,6 +3045,8 @@ declare namespace gapi.client {
|
|
|
3025
3045
|
snippets?: GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet[];
|
|
3026
3046
|
}
|
|
3027
3047
|
interface GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet {
|
|
3048
|
+
/** Metadata of the document. */
|
|
3049
|
+
metadata?: {[P in string]: any};
|
|
3028
3050
|
/** Text taken from that URI. */
|
|
3029
3051
|
text?: string;
|
|
3030
3052
|
/** Title of the document. */
|
|
@@ -3130,6 +3152,12 @@ declare namespace gapi.client {
|
|
|
3130
3152
|
/** The list of session entity types. There will be a maximum number of items returned based on the page_size field in the request. */
|
|
3131
3153
|
sessionEntityTypes?: GoogleCloudDialogflowV2beta1SessionEntityType[];
|
|
3132
3154
|
}
|
|
3155
|
+
interface GoogleCloudDialogflowV2beta1ListSipTrunksResponse {
|
|
3156
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
3157
|
+
nextPageToken?: string;
|
|
3158
|
+
/** The list of SIP trunks. */
|
|
3159
|
+
sipTrunks?: GoogleCloudDialogflowV2beta1SipTrunk[];
|
|
3160
|
+
}
|
|
3133
3161
|
interface GoogleCloudDialogflowV2beta1ListSuggestionsResponse {
|
|
3134
3162
|
/** Optional. Token to retrieve the next page of results or empty if there are no more results in the list. */
|
|
3135
3163
|
nextPageToken?: string;
|
|
@@ -3362,6 +3390,8 @@ declare namespace gapi.client {
|
|
|
3362
3390
|
answerType?: string;
|
|
3363
3391
|
}
|
|
3364
3392
|
interface GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource {
|
|
3393
|
+
/** Metadata associated with the article. */
|
|
3394
|
+
metadata?: {[P in string]: any};
|
|
3365
3395
|
/** The relevant snippet of the article. */
|
|
3366
3396
|
snippet?: string;
|
|
3367
3397
|
/** The title of the article. */
|
|
@@ -3374,15 +3404,69 @@ declare namespace gapi.client {
|
|
|
3374
3404
|
conversation?: string;
|
|
3375
3405
|
/** Required. The conversation profile used to configure the search. Format: `projects//locations//conversationProfiles/`. */
|
|
3376
3406
|
conversationProfile?: string;
|
|
3407
|
+
/** Optional. Information about the end-user to improve the relevance and accuracy of generative answers. This will be interpreted and used by a language model, so, for good results, the data should be self-descriptive, and in a simple structure. Example: ```json { "subscription plan": "Business Premium Plus", "devices owned": [ {"model": "Google Pixel 7"}, {"model": "Google Pixel Tablet"} ] } ``` */
|
|
3408
|
+
endUserMetadata?: {[P in string]: any};
|
|
3409
|
+
/** Optional. Whether to search the query exactly without query rewrite. */
|
|
3410
|
+
exactSearch?: boolean;
|
|
3377
3411
|
/** Optional. The name of the latest conversation message when the request is triggered. Format: `projects//locations//conversations//messages/`. */
|
|
3378
3412
|
latestMessage?: string;
|
|
3379
3413
|
/** Required. The parent resource contains the conversation profile Format: 'projects/' or `projects//locations/`. */
|
|
3380
3414
|
parent?: string;
|
|
3381
3415
|
/** Required. The natural language text query for knowledge search. */
|
|
3382
3416
|
query?: GoogleCloudDialogflowV2beta1TextInput;
|
|
3417
|
+
/** Optional. The source of the query in the request. */
|
|
3418
|
+
querySource?: string;
|
|
3419
|
+
/** Optional. Configuration specific to search queries with data stores. */
|
|
3420
|
+
searchConfig?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig;
|
|
3383
3421
|
/** Required. The ID of the search session. The session_id can be combined with Dialogflow V3 Agent ID retrieved from conversation profile or on its own to identify a search session. The search history of the same session will impact the search result. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length must not exceed 36 characters. */
|
|
3384
3422
|
sessionId?: string;
|
|
3385
3423
|
}
|
|
3424
|
+
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfig {
|
|
3425
|
+
/** Optional. Boost specifications for data stores. */
|
|
3426
|
+
boostSpecs?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs[];
|
|
3427
|
+
/** Optional. Filter specification for data store queries. */
|
|
3428
|
+
filterSpecs?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs[];
|
|
3429
|
+
}
|
|
3430
|
+
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs {
|
|
3431
|
+
/** Optional. Data Stores where the boosting configuration is applied. The full names of the referenced data stores. Formats: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` `projects/{project}/locations/{location}/dataStores/{data_store} */
|
|
3432
|
+
dataStores?: string[];
|
|
3433
|
+
/** Optional. A list of boosting specifications. */
|
|
3434
|
+
spec?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec[];
|
|
3435
|
+
}
|
|
3436
|
+
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec {
|
|
3437
|
+
/** Optional. Condition boost specifications. If a document matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 20. */
|
|
3438
|
+
conditionBoostSpecs?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec[];
|
|
3439
|
+
}
|
|
3440
|
+
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpec {
|
|
3441
|
+
/** Optional. Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. */
|
|
3442
|
+
boost?: number;
|
|
3443
|
+
/** Optional. Complex specification for custom ranking based on customer defined attribute value. */
|
|
3444
|
+
boostControlSpec?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec;
|
|
3445
|
+
/** Optional. An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue")) */
|
|
3446
|
+
condition?: string;
|
|
3447
|
+
}
|
|
3448
|
+
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec {
|
|
3449
|
+
/** Optional. The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
|
|
3450
|
+
attributeType?: string;
|
|
3451
|
+
/** Optional. The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
|
|
3452
|
+
controlPoints?: GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint[];
|
|
3453
|
+
/** Optional. The name of the field whose value will be used to determine the boost amount. */
|
|
3454
|
+
fieldName?: string;
|
|
3455
|
+
/** Optional. The interpolation type to be applied to connect the control points listed below. */
|
|
3456
|
+
interpolationType?: string;
|
|
3457
|
+
}
|
|
3458
|
+
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint {
|
|
3459
|
+
/** Optional. Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
|
|
3460
|
+
attributeValue?: string;
|
|
3461
|
+
/** Optional. The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
|
|
3462
|
+
boostAmount?: number;
|
|
3463
|
+
}
|
|
3464
|
+
interface GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigFilterSpecs {
|
|
3465
|
+
/** Optional. The data store where the filter configuration is applied. Full resource name of data store, such as projects/{project}/locations/{location}/collections/{collectionId}/ dataStores/{dataStoreId}. */
|
|
3466
|
+
dataStores?: string[];
|
|
3467
|
+
/** Optional. The filter expression to be applied. Expression syntax is documented at https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax */
|
|
3468
|
+
filter?: string;
|
|
3469
|
+
}
|
|
3386
3470
|
interface GoogleCloudDialogflowV2beta1SearchKnowledgeResponse {
|
|
3387
3471
|
/** Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence. */
|
|
3388
3472
|
answers?: GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer[];
|
|
@@ -3427,6 +3511,16 @@ declare namespace gapi.client {
|
|
|
3427
3511
|
/** Required. The suggestion feature config to add or update. */
|
|
3428
3512
|
suggestionFeatureConfig?: GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig;
|
|
3429
3513
|
}
|
|
3514
|
+
interface GoogleCloudDialogflowV2beta1SipTrunk {
|
|
3515
|
+
/** Output only. Connections of the SIP trunk. */
|
|
3516
|
+
connections?: GoogleCloudDialogflowV2beta1Connection[];
|
|
3517
|
+
/** Optional. Human readable alias for this trunk. */
|
|
3518
|
+
displayName?: string;
|
|
3519
|
+
/** Required. The expected hostnames in the peer certificate from partner that is used for TLS authentication. */
|
|
3520
|
+
expectedHostname?: string[];
|
|
3521
|
+
/** Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`. */
|
|
3522
|
+
name?: string;
|
|
3523
|
+
}
|
|
3430
3524
|
interface GoogleCloudDialogflowV2beta1SmartReplyAnswer {
|
|
3431
3525
|
/** The name of answer record, in the format of "projects//locations//answerRecords/" */
|
|
3432
3526
|
answerRecord?: string;
|
|
@@ -3450,6 +3544,8 @@ declare namespace gapi.client {
|
|
|
3450
3544
|
languageCode?: string;
|
|
3451
3545
|
/** Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection. */
|
|
3452
3546
|
model?: string;
|
|
3547
|
+
/** List of names of Cloud Speech phrase sets that are used for transcription. */
|
|
3548
|
+
phraseSets?: string[];
|
|
3453
3549
|
/** Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. */
|
|
3454
3550
|
sampleRateHertz?: number;
|
|
3455
3551
|
/** The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. */
|
|
@@ -4276,6 +4372,8 @@ declare namespace gapi.client {
|
|
|
4276
4372
|
snippets?: GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet[];
|
|
4277
4373
|
}
|
|
4278
4374
|
interface GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet {
|
|
4375
|
+
/** Metadata of the document. */
|
|
4376
|
+
metadata?: {[P in string]: any};
|
|
4279
4377
|
/** Text taken from that URI. */
|
|
4280
4378
|
text?: string;
|
|
4281
4379
|
/** Title of the document. */
|
|
@@ -14798,6 +14896,213 @@ declare namespace gapi.client {
|
|
|
14798
14896
|
uploadType?: string;
|
|
14799
14897
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
14800
14898
|
}
|
|
14899
|
+
interface SipTrunksResource {
|
|
14900
|
+
/** Creates a SipTrunk for a specified location. */
|
|
14901
|
+
create(request: {
|
|
14902
|
+
/** V1 error format. */
|
|
14903
|
+
'$.xgafv'?: string;
|
|
14904
|
+
/** OAuth access token. */
|
|
14905
|
+
access_token?: string;
|
|
14906
|
+
/** Data format for response. */
|
|
14907
|
+
alt?: string;
|
|
14908
|
+
/** JSONP */
|
|
14909
|
+
callback?: string;
|
|
14910
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14911
|
+
fields?: string;
|
|
14912
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14913
|
+
key?: string;
|
|
14914
|
+
/** OAuth 2.0 token for the current user. */
|
|
14915
|
+
oauth_token?: string;
|
|
14916
|
+
/** Required. The location to create a SIP trunk for. Format: `projects//locations/`. */
|
|
14917
|
+
parent: string;
|
|
14918
|
+
/** Returns response with indentations and line breaks. */
|
|
14919
|
+
prettyPrint?: boolean;
|
|
14920
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
14921
|
+
quotaUser?: string;
|
|
14922
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14923
|
+
upload_protocol?: string;
|
|
14924
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14925
|
+
uploadType?: string;
|
|
14926
|
+
/** Request body */
|
|
14927
|
+
resource: GoogleCloudDialogflowV2beta1SipTrunk;
|
|
14928
|
+
}): Request<GoogleCloudDialogflowV2beta1SipTrunk>;
|
|
14929
|
+
create(
|
|
14930
|
+
request: {
|
|
14931
|
+
/** V1 error format. */
|
|
14932
|
+
'$.xgafv'?: string;
|
|
14933
|
+
/** OAuth access token. */
|
|
14934
|
+
access_token?: string;
|
|
14935
|
+
/** Data format for response. */
|
|
14936
|
+
alt?: string;
|
|
14937
|
+
/** JSONP */
|
|
14938
|
+
callback?: string;
|
|
14939
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14940
|
+
fields?: string;
|
|
14941
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14942
|
+
key?: string;
|
|
14943
|
+
/** OAuth 2.0 token for the current user. */
|
|
14944
|
+
oauth_token?: string;
|
|
14945
|
+
/** Required. The location to create a SIP trunk for. Format: `projects//locations/`. */
|
|
14946
|
+
parent: string;
|
|
14947
|
+
/** Returns response with indentations and line breaks. */
|
|
14948
|
+
prettyPrint?: boolean;
|
|
14949
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
14950
|
+
quotaUser?: string;
|
|
14951
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14952
|
+
upload_protocol?: string;
|
|
14953
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14954
|
+
uploadType?: string;
|
|
14955
|
+
},
|
|
14956
|
+
body: GoogleCloudDialogflowV2beta1SipTrunk
|
|
14957
|
+
): Request<GoogleCloudDialogflowV2beta1SipTrunk>;
|
|
14958
|
+
/** Deletes a specified SipTrunk. */
|
|
14959
|
+
delete(request?: {
|
|
14960
|
+
/** V1 error format. */
|
|
14961
|
+
'$.xgafv'?: string;
|
|
14962
|
+
/** OAuth access token. */
|
|
14963
|
+
access_token?: string;
|
|
14964
|
+
/** Data format for response. */
|
|
14965
|
+
alt?: string;
|
|
14966
|
+
/** JSONP */
|
|
14967
|
+
callback?: string;
|
|
14968
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14969
|
+
fields?: string;
|
|
14970
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14971
|
+
key?: string;
|
|
14972
|
+
/** Required. The name of the SIP trunk to delete. Format: `projects//locations//sipTrunks/`. */
|
|
14973
|
+
name: string;
|
|
14974
|
+
/** OAuth 2.0 token for the current user. */
|
|
14975
|
+
oauth_token?: string;
|
|
14976
|
+
/** Returns response with indentations and line breaks. */
|
|
14977
|
+
prettyPrint?: boolean;
|
|
14978
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
14979
|
+
quotaUser?: string;
|
|
14980
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
14981
|
+
upload_protocol?: string;
|
|
14982
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14983
|
+
uploadType?: string;
|
|
14984
|
+
}): Request<{}>;
|
|
14985
|
+
/** Retrieves the specified SipTrunk. */
|
|
14986
|
+
get(request?: {
|
|
14987
|
+
/** V1 error format. */
|
|
14988
|
+
'$.xgafv'?: string;
|
|
14989
|
+
/** OAuth access token. */
|
|
14990
|
+
access_token?: string;
|
|
14991
|
+
/** Data format for response. */
|
|
14992
|
+
alt?: string;
|
|
14993
|
+
/** JSONP */
|
|
14994
|
+
callback?: string;
|
|
14995
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14996
|
+
fields?: string;
|
|
14997
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
14998
|
+
key?: string;
|
|
14999
|
+
/** Required. The name of the SIP trunk to delete. Format: `projects//locations//sipTrunks/`. */
|
|
15000
|
+
name: string;
|
|
15001
|
+
/** OAuth 2.0 token for the current user. */
|
|
15002
|
+
oauth_token?: string;
|
|
15003
|
+
/** Returns response with indentations and line breaks. */
|
|
15004
|
+
prettyPrint?: boolean;
|
|
15005
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15006
|
+
quotaUser?: string;
|
|
15007
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15008
|
+
upload_protocol?: string;
|
|
15009
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15010
|
+
uploadType?: string;
|
|
15011
|
+
}): Request<GoogleCloudDialogflowV2beta1SipTrunk>;
|
|
15012
|
+
/** Returns a list of SipTrunks in the specified location. */
|
|
15013
|
+
list(request?: {
|
|
15014
|
+
/** V1 error format. */
|
|
15015
|
+
'$.xgafv'?: string;
|
|
15016
|
+
/** OAuth access token. */
|
|
15017
|
+
access_token?: string;
|
|
15018
|
+
/** Data format for response. */
|
|
15019
|
+
alt?: string;
|
|
15020
|
+
/** JSONP */
|
|
15021
|
+
callback?: string;
|
|
15022
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15023
|
+
fields?: string;
|
|
15024
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15025
|
+
key?: string;
|
|
15026
|
+
/** OAuth 2.0 token for the current user. */
|
|
15027
|
+
oauth_token?: string;
|
|
15028
|
+
/** Optional. The maximum number of items to return in a single page. By default 100 and at most 1000. */
|
|
15029
|
+
pageSize?: number;
|
|
15030
|
+
/** Optional. The next_page_token value returned from a previous list request. */
|
|
15031
|
+
pageToken?: string;
|
|
15032
|
+
/** Required. The location to list SIP trunks from. Format: `projects//locations/`. */
|
|
15033
|
+
parent: string;
|
|
15034
|
+
/** Returns response with indentations and line breaks. */
|
|
15035
|
+
prettyPrint?: boolean;
|
|
15036
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15037
|
+
quotaUser?: string;
|
|
15038
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15039
|
+
upload_protocol?: string;
|
|
15040
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15041
|
+
uploadType?: string;
|
|
15042
|
+
}): Request<GoogleCloudDialogflowV2beta1ListSipTrunksResponse>;
|
|
15043
|
+
/** Updates the specified SipTrunk. */
|
|
15044
|
+
patch(request: {
|
|
15045
|
+
/** V1 error format. */
|
|
15046
|
+
'$.xgafv'?: string;
|
|
15047
|
+
/** OAuth access token. */
|
|
15048
|
+
access_token?: string;
|
|
15049
|
+
/** Data format for response. */
|
|
15050
|
+
alt?: string;
|
|
15051
|
+
/** JSONP */
|
|
15052
|
+
callback?: string;
|
|
15053
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15054
|
+
fields?: string;
|
|
15055
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15056
|
+
key?: string;
|
|
15057
|
+
/** Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`. */
|
|
15058
|
+
name: string;
|
|
15059
|
+
/** OAuth 2.0 token for the current user. */
|
|
15060
|
+
oauth_token?: string;
|
|
15061
|
+
/** Returns response with indentations and line breaks. */
|
|
15062
|
+
prettyPrint?: boolean;
|
|
15063
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15064
|
+
quotaUser?: string;
|
|
15065
|
+
/** Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated. */
|
|
15066
|
+
updateMask?: string;
|
|
15067
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15068
|
+
upload_protocol?: string;
|
|
15069
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15070
|
+
uploadType?: string;
|
|
15071
|
+
/** Request body */
|
|
15072
|
+
resource: GoogleCloudDialogflowV2beta1SipTrunk;
|
|
15073
|
+
}): Request<GoogleCloudDialogflowV2beta1SipTrunk>;
|
|
15074
|
+
patch(
|
|
15075
|
+
request: {
|
|
15076
|
+
/** V1 error format. */
|
|
15077
|
+
'$.xgafv'?: string;
|
|
15078
|
+
/** OAuth access token. */
|
|
15079
|
+
access_token?: string;
|
|
15080
|
+
/** Data format for response. */
|
|
15081
|
+
alt?: string;
|
|
15082
|
+
/** JSONP */
|
|
15083
|
+
callback?: string;
|
|
15084
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15085
|
+
fields?: string;
|
|
15086
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15087
|
+
key?: string;
|
|
15088
|
+
/** Identifier. The unique identifier of the SIP trunk. Format: `projects//locations//sipTrunks/`. */
|
|
15089
|
+
name: string;
|
|
15090
|
+
/** OAuth 2.0 token for the current user. */
|
|
15091
|
+
oauth_token?: string;
|
|
15092
|
+
/** Returns response with indentations and line breaks. */
|
|
15093
|
+
prettyPrint?: boolean;
|
|
15094
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15095
|
+
quotaUser?: string;
|
|
15096
|
+
/** Optional. The mask to control which fields get updated. If the mask is not present, all fields will be updated. */
|
|
15097
|
+
updateMask?: string;
|
|
15098
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15099
|
+
upload_protocol?: string;
|
|
15100
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15101
|
+
uploadType?: string;
|
|
15102
|
+
},
|
|
15103
|
+
body: GoogleCloudDialogflowV2beta1SipTrunk
|
|
15104
|
+
): Request<GoogleCloudDialogflowV2beta1SipTrunk>;
|
|
15105
|
+
}
|
|
14801
15106
|
interface StatelessSuggestionResource {
|
|
14802
15107
|
/** Generates and returns a suggestion for a conversation that does not have a resource created for it. */
|
|
14803
15108
|
generate(request: {
|
|
@@ -15188,6 +15493,7 @@ declare namespace gapi.client {
|
|
|
15188
15493
|
generators: GeneratorsResource;
|
|
15189
15494
|
knowledgeBases: KnowledgeBasesResource;
|
|
15190
15495
|
operations: OperationsResource;
|
|
15496
|
+
sipTrunks: SipTrunksResource;
|
|
15191
15497
|
statelessSuggestion: StatelessSuggestionResource;
|
|
15192
15498
|
suggestions: SuggestionsResource;
|
|
15193
15499
|
}
|