@maxim_mazurok/gapi.client.dialogflow-v2beta1 0.0.20250210 → 0.0.20250212
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 +389 -6
- 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: 20250212
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -823,7 +823,7 @@ declare namespace gapi.client {
|
|
|
823
823
|
interface GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig {
|
|
824
824
|
/** Required. The client ID provided by the 3rd party platform. */
|
|
825
825
|
clientId?: string;
|
|
826
|
-
/**
|
|
826
|
+
/** Optional. The client secret provided by the 3rd party platform. */
|
|
827
827
|
clientSecret?: string;
|
|
828
828
|
/** Optional. The OAuth scopes to grant. */
|
|
829
829
|
scopes?: string[];
|
|
@@ -1567,7 +1567,7 @@ declare namespace gapi.client {
|
|
|
1567
1567
|
interface GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig {
|
|
1568
1568
|
/** Required. The client ID provided by the 3rd party platform. */
|
|
1569
1569
|
clientId?: string;
|
|
1570
|
-
/**
|
|
1570
|
+
/** Optional. The client secret provided by the 3rd party platform. */
|
|
1571
1571
|
clientSecret?: string;
|
|
1572
1572
|
/** Optional. The OAuth scopes to grant. */
|
|
1573
1573
|
scopes?: string[];
|
|
@@ -1769,7 +1769,7 @@ declare namespace gapi.client {
|
|
|
1769
1769
|
assistQueryParams?: GoogleCloudDialogflowV2beta1AssistQueryParameters;
|
|
1770
1770
|
/** The natural language speech audio to be processed. */
|
|
1771
1771
|
audioInput?: GoogleCloudDialogflowV2beta1AudioInput;
|
|
1772
|
-
/** The unique identifier of the CX page to override the `current_page` in the session. Format: `projects//locations//agents//flows//pages/`. If `cx_current_page` is specified, the previous state of the session will be ignored by Dialogflow CX, including the previous page and the previous session parameters. In most cases, `cx_current_page` and `cx_parameters` should be configured together to direct a session to a specific state. Note: this field should only be used if you are connecting to a Dialogflow CX agent. */
|
|
1772
|
+
/** The unique identifier of the Dialogflow CX page to override the `current_page` in the session. Format: `projects//locations//agents//flows//pages/`. If `cx_current_page` is specified, the previous state of the session will be ignored by Dialogflow CX, including the previous page and the previous session parameters. In most cases, `cx_current_page` and `cx_parameters` should be configured together to direct a session to a specific state. Note: this field should only be used if you are connecting to a Dialogflow CX agent. */
|
|
1773
1773
|
cxCurrentPage?: string;
|
|
1774
1774
|
/** Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent. */
|
|
1775
1775
|
cxParameters?: {[P in string]: any};
|
|
@@ -3180,6 +3180,12 @@ declare namespace gapi.client {
|
|
|
3180
3180
|
/** The list of participants. There is a maximum number of items returned based on the page_size field in the request. */
|
|
3181
3181
|
participants?: GoogleCloudDialogflowV2beta1Participant[];
|
|
3182
3182
|
}
|
|
3183
|
+
interface GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse {
|
|
3184
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
3185
|
+
nextPageToken?: string;
|
|
3186
|
+
/** The list of `PhoneNumber` resources. There is a maximum number of items returned based on the page_size field in the request. */
|
|
3187
|
+
phoneNumbers?: GoogleCloudDialogflowV2beta1PhoneNumber[];
|
|
3188
|
+
}
|
|
3183
3189
|
interface GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse {
|
|
3184
3190
|
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
3185
3191
|
nextPageToken?: string;
|
|
@@ -3284,6 +3290,16 @@ declare namespace gapi.client {
|
|
|
3284
3290
|
/** Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable. */
|
|
3285
3291
|
role?: string;
|
|
3286
3292
|
}
|
|
3293
|
+
interface GoogleCloudDialogflowV2beta1PhoneNumber {
|
|
3294
|
+
/** Optional. The conversation profile calls to this `PhoneNumber` should use. The project ID here should be the same as the one in name. Format: `projects//conversationProfiles/`. Format: `projects//locations//conversationProfiles/`. */
|
|
3295
|
+
conversationProfile?: string;
|
|
3296
|
+
/** Output only. The state of the `PhoneNumber`. Defaults to `ACTIVE`. `PhoneNumber` objects set to `DELETE_REQUESTED` always decline incoming calls and can be removed completely within 30 days. */
|
|
3297
|
+
lifecycleState?: string;
|
|
3298
|
+
/** Optional. The unique identifier of this phone number. Required for PhoneNumbers.UpdatePhoneNumber method. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
3299
|
+
name?: string;
|
|
3300
|
+
/** Output only. Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format. An example of a correctly formatted phone number: +15556767888. */
|
|
3301
|
+
phoneNumber?: string;
|
|
3302
|
+
}
|
|
3287
3303
|
interface GoogleCloudDialogflowV2beta1QueryInput {
|
|
3288
3304
|
/** Instructs the speech recognizer how to process the speech audio. */
|
|
3289
3305
|
audioConfig?: GoogleCloudDialogflowV2beta1InputAudioConfig;
|
|
@@ -3856,6 +3872,7 @@ declare namespace gapi.client {
|
|
|
3856
3872
|
};
|
|
3857
3873
|
}
|
|
3858
3874
|
interface GoogleCloudDialogflowV2beta1TrainAgentRequest {}
|
|
3875
|
+
interface GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest {}
|
|
3859
3876
|
interface GoogleCloudDialogflowV2beta1ValidationError {
|
|
3860
3877
|
/** The names of the entries that the error is associated with. Format: - `projects//agent`, if the error is associated with the entire agent. - `projects//agent/intents/`, if the error is associated with certain intents. - `projects//agent/intents//trainingPhrases/`, if the error is associated with certain intent training phrases. - `projects//agent/intents//parameters/`, if the error is associated with certain intent parameters. - `projects//agent/entities/`, if the error is associated with certain entities. */
|
|
3861
3878
|
entries?: string[];
|
|
@@ -8020,7 +8037,7 @@ declare namespace gapi.client {
|
|
|
8020
8037
|
callback?: string;
|
|
8021
8038
|
/** Selector specifying which fields to include in a partial response. */
|
|
8022
8039
|
fields?: string;
|
|
8023
|
-
/** Optional. Filters to restrict results to specific answer records. For more information about filtering, see [API Filtering](https://aip.dev/160). */
|
|
8040
|
+
/** Optional. Filters to restrict results to specific answer records. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * conversation_id with equals(=) operator Examples: * "conversation_id=bar" matches answer records in the projects/foo/locations/global/conversations/bar conversation (assuming the parent is projects/foo/locations/global). For more information about filtering, see [API Filtering](https://aip.dev/160). */
|
|
8024
8041
|
filter?: string;
|
|
8025
8042
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
8026
8043
|
key?: string;
|
|
@@ -12811,7 +12828,7 @@ declare namespace gapi.client {
|
|
|
12811
12828
|
callback?: string;
|
|
12812
12829
|
/** Selector specifying which fields to include in a partial response. */
|
|
12813
12830
|
fields?: string;
|
|
12814
|
-
/** Optional. Filters to restrict results to specific answer records. For more information about filtering, see [API Filtering](https://aip.dev/160). */
|
|
12831
|
+
/** Optional. Filters to restrict results to specific answer records. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * conversation_id with equals(=) operator Examples: * "conversation_id=bar" matches answer records in the projects/foo/locations/global/conversations/bar conversation (assuming the parent is projects/foo/locations/global). For more information about filtering, see [API Filtering](https://aip.dev/160). */
|
|
12815
12832
|
filter?: string;
|
|
12816
12833
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
12817
12834
|
key?: string;
|
|
@@ -14988,6 +15005,188 @@ declare namespace gapi.client {
|
|
|
14988
15005
|
uploadType?: string;
|
|
14989
15006
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
14990
15007
|
}
|
|
15008
|
+
interface PhoneNumbersResource {
|
|
15009
|
+
/** Requests deletion of a `PhoneNumber`. The `PhoneNumber` is moved into the DELETE_REQUESTED state immediately, and is deleted approximately 30 days later. This method may only be called on a `PhoneNumber` in the ACTIVE state. */
|
|
15010
|
+
delete(request?: {
|
|
15011
|
+
/** V1 error format. */
|
|
15012
|
+
'$.xgafv'?: string;
|
|
15013
|
+
/** OAuth access token. */
|
|
15014
|
+
access_token?: string;
|
|
15015
|
+
/** Data format for response. */
|
|
15016
|
+
alt?: string;
|
|
15017
|
+
/** JSONP */
|
|
15018
|
+
callback?: string;
|
|
15019
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15020
|
+
fields?: string;
|
|
15021
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15022
|
+
key?: string;
|
|
15023
|
+
/** Required. The unique identifier of the `PhoneNumber` to delete. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
15024
|
+
name: string;
|
|
15025
|
+
/** OAuth 2.0 token for the current user. */
|
|
15026
|
+
oauth_token?: string;
|
|
15027
|
+
/** Returns response with indentations and line breaks. */
|
|
15028
|
+
prettyPrint?: boolean;
|
|
15029
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15030
|
+
quotaUser?: string;
|
|
15031
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15032
|
+
upload_protocol?: string;
|
|
15033
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15034
|
+
uploadType?: string;
|
|
15035
|
+
}): Request<GoogleCloudDialogflowV2beta1PhoneNumber>;
|
|
15036
|
+
/** Returns the list of all phone numbers in the specified project. */
|
|
15037
|
+
list(request?: {
|
|
15038
|
+
/** V1 error format. */
|
|
15039
|
+
'$.xgafv'?: string;
|
|
15040
|
+
/** OAuth access token. */
|
|
15041
|
+
access_token?: string;
|
|
15042
|
+
/** Data format for response. */
|
|
15043
|
+
alt?: string;
|
|
15044
|
+
/** JSONP */
|
|
15045
|
+
callback?: string;
|
|
15046
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15047
|
+
fields?: string;
|
|
15048
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15049
|
+
key?: string;
|
|
15050
|
+
/** OAuth 2.0 token for the current user. */
|
|
15051
|
+
oauth_token?: string;
|
|
15052
|
+
/** Optional. The maximum number of items to return in a single page. The default value is 100. The maximum value is 1000. */
|
|
15053
|
+
pageSize?: number;
|
|
15054
|
+
/** Optional. The next_page_token value returned from a previous list request. */
|
|
15055
|
+
pageToken?: string;
|
|
15056
|
+
/** Required. The project to list all `PhoneNumber` resources from. Format: `projects/`. Format: `projects//locations/`. */
|
|
15057
|
+
parent: string;
|
|
15058
|
+
/** Returns response with indentations and line breaks. */
|
|
15059
|
+
prettyPrint?: boolean;
|
|
15060
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15061
|
+
quotaUser?: string;
|
|
15062
|
+
/** Optional. Controls whether `PhoneNumber` resources in the DELETE_REQUESTED state should be returned. Defaults to false. */
|
|
15063
|
+
showDeleted?: boolean;
|
|
15064
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15065
|
+
upload_protocol?: string;
|
|
15066
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15067
|
+
uploadType?: string;
|
|
15068
|
+
}): Request<GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse>;
|
|
15069
|
+
/** Updates the specified `PhoneNumber`. */
|
|
15070
|
+
patch(request: {
|
|
15071
|
+
/** V1 error format. */
|
|
15072
|
+
'$.xgafv'?: string;
|
|
15073
|
+
/** OAuth access token. */
|
|
15074
|
+
access_token?: string;
|
|
15075
|
+
/** Data format for response. */
|
|
15076
|
+
alt?: string;
|
|
15077
|
+
/** JSONP */
|
|
15078
|
+
callback?: string;
|
|
15079
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15080
|
+
fields?: string;
|
|
15081
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15082
|
+
key?: string;
|
|
15083
|
+
/** Optional. The unique identifier of this phone number. Required for PhoneNumbers.UpdatePhoneNumber method. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
15084
|
+
name: string;
|
|
15085
|
+
/** OAuth 2.0 token for the current user. */
|
|
15086
|
+
oauth_token?: string;
|
|
15087
|
+
/** Returns response with indentations and line breaks. */
|
|
15088
|
+
prettyPrint?: boolean;
|
|
15089
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15090
|
+
quotaUser?: string;
|
|
15091
|
+
/** Optional. The mask to control which fields get updated. */
|
|
15092
|
+
updateMask?: string;
|
|
15093
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15094
|
+
upload_protocol?: string;
|
|
15095
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15096
|
+
uploadType?: string;
|
|
15097
|
+
/** Request body */
|
|
15098
|
+
resource: GoogleCloudDialogflowV2beta1PhoneNumber;
|
|
15099
|
+
}): Request<GoogleCloudDialogflowV2beta1PhoneNumber>;
|
|
15100
|
+
patch(
|
|
15101
|
+
request: {
|
|
15102
|
+
/** V1 error format. */
|
|
15103
|
+
'$.xgafv'?: string;
|
|
15104
|
+
/** OAuth access token. */
|
|
15105
|
+
access_token?: string;
|
|
15106
|
+
/** Data format for response. */
|
|
15107
|
+
alt?: string;
|
|
15108
|
+
/** JSONP */
|
|
15109
|
+
callback?: string;
|
|
15110
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15111
|
+
fields?: string;
|
|
15112
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15113
|
+
key?: string;
|
|
15114
|
+
/** Optional. The unique identifier of this phone number. Required for PhoneNumbers.UpdatePhoneNumber method. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
15115
|
+
name: string;
|
|
15116
|
+
/** OAuth 2.0 token for the current user. */
|
|
15117
|
+
oauth_token?: string;
|
|
15118
|
+
/** Returns response with indentations and line breaks. */
|
|
15119
|
+
prettyPrint?: boolean;
|
|
15120
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15121
|
+
quotaUser?: string;
|
|
15122
|
+
/** Optional. The mask to control which fields get updated. */
|
|
15123
|
+
updateMask?: string;
|
|
15124
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15125
|
+
upload_protocol?: string;
|
|
15126
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15127
|
+
uploadType?: string;
|
|
15128
|
+
},
|
|
15129
|
+
body: GoogleCloudDialogflowV2beta1PhoneNumber,
|
|
15130
|
+
): Request<GoogleCloudDialogflowV2beta1PhoneNumber>;
|
|
15131
|
+
/** Cancels the deletion request for a `PhoneNumber`. This method may only be called on a `PhoneNumber` in the DELETE_REQUESTED state. */
|
|
15132
|
+
undelete(request: {
|
|
15133
|
+
/** V1 error format. */
|
|
15134
|
+
'$.xgafv'?: string;
|
|
15135
|
+
/** OAuth access token. */
|
|
15136
|
+
access_token?: string;
|
|
15137
|
+
/** Data format for response. */
|
|
15138
|
+
alt?: string;
|
|
15139
|
+
/** JSONP */
|
|
15140
|
+
callback?: string;
|
|
15141
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15142
|
+
fields?: string;
|
|
15143
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15144
|
+
key?: string;
|
|
15145
|
+
/** Required. The unique identifier of the `PhoneNumber` to delete. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
15146
|
+
name: string;
|
|
15147
|
+
/** OAuth 2.0 token for the current user. */
|
|
15148
|
+
oauth_token?: string;
|
|
15149
|
+
/** Returns response with indentations and line breaks. */
|
|
15150
|
+
prettyPrint?: boolean;
|
|
15151
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15152
|
+
quotaUser?: string;
|
|
15153
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15154
|
+
upload_protocol?: string;
|
|
15155
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15156
|
+
uploadType?: string;
|
|
15157
|
+
/** Request body */
|
|
15158
|
+
resource: GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest;
|
|
15159
|
+
}): Request<GoogleCloudDialogflowV2beta1PhoneNumber>;
|
|
15160
|
+
undelete(
|
|
15161
|
+
request: {
|
|
15162
|
+
/** V1 error format. */
|
|
15163
|
+
'$.xgafv'?: string;
|
|
15164
|
+
/** OAuth access token. */
|
|
15165
|
+
access_token?: string;
|
|
15166
|
+
/** Data format for response. */
|
|
15167
|
+
alt?: string;
|
|
15168
|
+
/** JSONP */
|
|
15169
|
+
callback?: string;
|
|
15170
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15171
|
+
fields?: string;
|
|
15172
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15173
|
+
key?: string;
|
|
15174
|
+
/** Required. The unique identifier of the `PhoneNumber` to delete. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
15175
|
+
name: string;
|
|
15176
|
+
/** OAuth 2.0 token for the current user. */
|
|
15177
|
+
oauth_token?: string;
|
|
15178
|
+
/** Returns response with indentations and line breaks. */
|
|
15179
|
+
prettyPrint?: boolean;
|
|
15180
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15181
|
+
quotaUser?: string;
|
|
15182
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15183
|
+
upload_protocol?: string;
|
|
15184
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15185
|
+
uploadType?: string;
|
|
15186
|
+
},
|
|
15187
|
+
body: GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest,
|
|
15188
|
+
): Request<GoogleCloudDialogflowV2beta1PhoneNumber>;
|
|
15189
|
+
}
|
|
14991
15190
|
interface SipTrunksResource {
|
|
14992
15191
|
/** Creates a SipTrunk for a specified location. */
|
|
14993
15192
|
create(request: {
|
|
@@ -15585,6 +15784,7 @@ declare namespace gapi.client {
|
|
|
15585
15784
|
generators: GeneratorsResource;
|
|
15586
15785
|
knowledgeBases: KnowledgeBasesResource;
|
|
15587
15786
|
operations: OperationsResource;
|
|
15787
|
+
phoneNumbers: PhoneNumbersResource;
|
|
15588
15788
|
sipTrunks: SipTrunksResource;
|
|
15589
15789
|
statelessSuggestion: StatelessSuggestionResource;
|
|
15590
15790
|
suggestions: SuggestionsResource;
|
|
@@ -15678,6 +15878,188 @@ declare namespace gapi.client {
|
|
|
15678
15878
|
uploadType?: string;
|
|
15679
15879
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
15680
15880
|
}
|
|
15881
|
+
interface PhoneNumbersResource {
|
|
15882
|
+
/** Requests deletion of a `PhoneNumber`. The `PhoneNumber` is moved into the DELETE_REQUESTED state immediately, and is deleted approximately 30 days later. This method may only be called on a `PhoneNumber` in the ACTIVE state. */
|
|
15883
|
+
delete(request?: {
|
|
15884
|
+
/** V1 error format. */
|
|
15885
|
+
'$.xgafv'?: string;
|
|
15886
|
+
/** OAuth access token. */
|
|
15887
|
+
access_token?: string;
|
|
15888
|
+
/** Data format for response. */
|
|
15889
|
+
alt?: string;
|
|
15890
|
+
/** JSONP */
|
|
15891
|
+
callback?: string;
|
|
15892
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15893
|
+
fields?: string;
|
|
15894
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15895
|
+
key?: string;
|
|
15896
|
+
/** Required. The unique identifier of the `PhoneNumber` to delete. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
15897
|
+
name: string;
|
|
15898
|
+
/** OAuth 2.0 token for the current user. */
|
|
15899
|
+
oauth_token?: string;
|
|
15900
|
+
/** Returns response with indentations and line breaks. */
|
|
15901
|
+
prettyPrint?: boolean;
|
|
15902
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15903
|
+
quotaUser?: string;
|
|
15904
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15905
|
+
upload_protocol?: string;
|
|
15906
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15907
|
+
uploadType?: string;
|
|
15908
|
+
}): Request<GoogleCloudDialogflowV2beta1PhoneNumber>;
|
|
15909
|
+
/** Returns the list of all phone numbers in the specified project. */
|
|
15910
|
+
list(request?: {
|
|
15911
|
+
/** V1 error format. */
|
|
15912
|
+
'$.xgafv'?: string;
|
|
15913
|
+
/** OAuth access token. */
|
|
15914
|
+
access_token?: string;
|
|
15915
|
+
/** Data format for response. */
|
|
15916
|
+
alt?: string;
|
|
15917
|
+
/** JSONP */
|
|
15918
|
+
callback?: string;
|
|
15919
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15920
|
+
fields?: string;
|
|
15921
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15922
|
+
key?: string;
|
|
15923
|
+
/** OAuth 2.0 token for the current user. */
|
|
15924
|
+
oauth_token?: string;
|
|
15925
|
+
/** Optional. The maximum number of items to return in a single page. The default value is 100. The maximum value is 1000. */
|
|
15926
|
+
pageSize?: number;
|
|
15927
|
+
/** Optional. The next_page_token value returned from a previous list request. */
|
|
15928
|
+
pageToken?: string;
|
|
15929
|
+
/** Required. The project to list all `PhoneNumber` resources from. Format: `projects/`. Format: `projects//locations/`. */
|
|
15930
|
+
parent: string;
|
|
15931
|
+
/** Returns response with indentations and line breaks. */
|
|
15932
|
+
prettyPrint?: boolean;
|
|
15933
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15934
|
+
quotaUser?: string;
|
|
15935
|
+
/** Optional. Controls whether `PhoneNumber` resources in the DELETE_REQUESTED state should be returned. Defaults to false. */
|
|
15936
|
+
showDeleted?: boolean;
|
|
15937
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15938
|
+
upload_protocol?: string;
|
|
15939
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15940
|
+
uploadType?: string;
|
|
15941
|
+
}): Request<GoogleCloudDialogflowV2beta1ListPhoneNumbersResponse>;
|
|
15942
|
+
/** Updates the specified `PhoneNumber`. */
|
|
15943
|
+
patch(request: {
|
|
15944
|
+
/** V1 error format. */
|
|
15945
|
+
'$.xgafv'?: string;
|
|
15946
|
+
/** OAuth access token. */
|
|
15947
|
+
access_token?: string;
|
|
15948
|
+
/** Data format for response. */
|
|
15949
|
+
alt?: string;
|
|
15950
|
+
/** JSONP */
|
|
15951
|
+
callback?: string;
|
|
15952
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15953
|
+
fields?: string;
|
|
15954
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15955
|
+
key?: string;
|
|
15956
|
+
/** Optional. The unique identifier of this phone number. Required for PhoneNumbers.UpdatePhoneNumber method. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
15957
|
+
name: string;
|
|
15958
|
+
/** OAuth 2.0 token for the current user. */
|
|
15959
|
+
oauth_token?: string;
|
|
15960
|
+
/** Returns response with indentations and line breaks. */
|
|
15961
|
+
prettyPrint?: boolean;
|
|
15962
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15963
|
+
quotaUser?: string;
|
|
15964
|
+
/** Optional. The mask to control which fields get updated. */
|
|
15965
|
+
updateMask?: string;
|
|
15966
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15967
|
+
upload_protocol?: string;
|
|
15968
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15969
|
+
uploadType?: string;
|
|
15970
|
+
/** Request body */
|
|
15971
|
+
resource: GoogleCloudDialogflowV2beta1PhoneNumber;
|
|
15972
|
+
}): Request<GoogleCloudDialogflowV2beta1PhoneNumber>;
|
|
15973
|
+
patch(
|
|
15974
|
+
request: {
|
|
15975
|
+
/** V1 error format. */
|
|
15976
|
+
'$.xgafv'?: string;
|
|
15977
|
+
/** OAuth access token. */
|
|
15978
|
+
access_token?: string;
|
|
15979
|
+
/** Data format for response. */
|
|
15980
|
+
alt?: string;
|
|
15981
|
+
/** JSONP */
|
|
15982
|
+
callback?: string;
|
|
15983
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15984
|
+
fields?: string;
|
|
15985
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
15986
|
+
key?: string;
|
|
15987
|
+
/** Optional. The unique identifier of this phone number. Required for PhoneNumbers.UpdatePhoneNumber method. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
15988
|
+
name: string;
|
|
15989
|
+
/** OAuth 2.0 token for the current user. */
|
|
15990
|
+
oauth_token?: string;
|
|
15991
|
+
/** Returns response with indentations and line breaks. */
|
|
15992
|
+
prettyPrint?: boolean;
|
|
15993
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
15994
|
+
quotaUser?: string;
|
|
15995
|
+
/** Optional. The mask to control which fields get updated. */
|
|
15996
|
+
updateMask?: string;
|
|
15997
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15998
|
+
upload_protocol?: string;
|
|
15999
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16000
|
+
uploadType?: string;
|
|
16001
|
+
},
|
|
16002
|
+
body: GoogleCloudDialogflowV2beta1PhoneNumber,
|
|
16003
|
+
): Request<GoogleCloudDialogflowV2beta1PhoneNumber>;
|
|
16004
|
+
/** Cancels the deletion request for a `PhoneNumber`. This method may only be called on a `PhoneNumber` in the DELETE_REQUESTED state. */
|
|
16005
|
+
undelete(request: {
|
|
16006
|
+
/** V1 error format. */
|
|
16007
|
+
'$.xgafv'?: string;
|
|
16008
|
+
/** OAuth access token. */
|
|
16009
|
+
access_token?: string;
|
|
16010
|
+
/** Data format for response. */
|
|
16011
|
+
alt?: string;
|
|
16012
|
+
/** JSONP */
|
|
16013
|
+
callback?: string;
|
|
16014
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16015
|
+
fields?: string;
|
|
16016
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
16017
|
+
key?: string;
|
|
16018
|
+
/** Required. The unique identifier of the `PhoneNumber` to delete. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
16019
|
+
name: string;
|
|
16020
|
+
/** OAuth 2.0 token for the current user. */
|
|
16021
|
+
oauth_token?: string;
|
|
16022
|
+
/** Returns response with indentations and line breaks. */
|
|
16023
|
+
prettyPrint?: boolean;
|
|
16024
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
16025
|
+
quotaUser?: string;
|
|
16026
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16027
|
+
upload_protocol?: string;
|
|
16028
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16029
|
+
uploadType?: string;
|
|
16030
|
+
/** Request body */
|
|
16031
|
+
resource: GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest;
|
|
16032
|
+
}): Request<GoogleCloudDialogflowV2beta1PhoneNumber>;
|
|
16033
|
+
undelete(
|
|
16034
|
+
request: {
|
|
16035
|
+
/** V1 error format. */
|
|
16036
|
+
'$.xgafv'?: string;
|
|
16037
|
+
/** OAuth access token. */
|
|
16038
|
+
access_token?: string;
|
|
16039
|
+
/** Data format for response. */
|
|
16040
|
+
alt?: string;
|
|
16041
|
+
/** JSONP */
|
|
16042
|
+
callback?: string;
|
|
16043
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16044
|
+
fields?: string;
|
|
16045
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
16046
|
+
key?: string;
|
|
16047
|
+
/** Required. The unique identifier of the `PhoneNumber` to delete. Format: `projects//phoneNumbers/`. Format: `projects//locations//phoneNumbers/`. */
|
|
16048
|
+
name: string;
|
|
16049
|
+
/** OAuth 2.0 token for the current user. */
|
|
16050
|
+
oauth_token?: string;
|
|
16051
|
+
/** Returns response with indentations and line breaks. */
|
|
16052
|
+
prettyPrint?: boolean;
|
|
16053
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
16054
|
+
quotaUser?: string;
|
|
16055
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16056
|
+
upload_protocol?: string;
|
|
16057
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16058
|
+
uploadType?: string;
|
|
16059
|
+
},
|
|
16060
|
+
body: GoogleCloudDialogflowV2beta1UndeletePhoneNumberRequest,
|
|
16061
|
+
): Request<GoogleCloudDialogflowV2beta1PhoneNumber>;
|
|
16062
|
+
}
|
|
15681
16063
|
interface SuggestionsResource {
|
|
15682
16064
|
/** Generates and returns a summary for a conversation that does not have a resource created for it. */
|
|
15683
16065
|
generateStatelessSummary(request: {
|
|
@@ -15921,6 +16303,7 @@ declare namespace gapi.client {
|
|
|
15921
16303
|
knowledgeBases: KnowledgeBasesResource;
|
|
15922
16304
|
locations: LocationsResource;
|
|
15923
16305
|
operations: OperationsResource;
|
|
16306
|
+
phoneNumbers: PhoneNumbersResource;
|
|
15924
16307
|
suggestions: SuggestionsResource;
|
|
15925
16308
|
}
|
|
15926
16309
|
|