@googleapis/translate 6.0.0 → 7.1.0

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/v3.ts CHANGED
@@ -141,7 +141,7 @@ export namespace translate_v3 {
141
141
  */
142
142
  exampleCount?: number | null;
143
143
  /**
144
- * Required. The resource name of the dataset, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset_id\}`
144
+ * Identifier. The resource name of the dataset, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset_id\}`
145
145
  */
146
146
  name?: string | null;
147
147
  /**
@@ -174,7 +174,7 @@ export namespace translate_v3 {
174
174
  */
175
175
  entryCount?: number | null;
176
176
  /**
177
- * Required. The resource name of the file, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset\}/adaptiveMtFiles/{file\}`
177
+ * Identifier. The resource name of the file, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset\}/adaptiveMtFiles/{file\}`
178
178
  */
179
179
  name?: string | null;
180
180
  /**
@@ -191,7 +191,7 @@ export namespace translate_v3 {
191
191
  */
192
192
  createTime?: string | null;
193
193
  /**
194
- * Required. The resource name of the file, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset\}/adaptiveMtFiles/{file\}/adaptiveMtSentences/{sentence\}`
194
+ * Identifier. The resource name of the file, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset\}/adaptiveMtFiles/{file\}/adaptiveMtSentences/{sentence\}`
195
195
  */
196
196
  name?: string | null;
197
197
  /**
@@ -308,12 +308,16 @@ export namespace translate_v3 {
308
308
  * Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs.
309
309
  */
310
310
  outputConfig?: Schema$BatchDocumentOutputConfig;
311
+ /**
312
+ * Optional. If true, only native pdf pages will be translated.
313
+ */
314
+ pdfNativeOnly?: boolean | null;
311
315
  /**
312
316
  * Required. The ISO-639 language code of the input document if known, for example, "en-US" or "sr-Latn". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).
313
317
  */
314
318
  sourceLanguageCode?: string | null;
315
319
  /**
316
- * Required. The ISO-639 language code to use for translation of the input document. Specify up to 10 language codes here.
320
+ * Required. The ISO-639 language code to use for translation of the input document. Specify up to 10 language codes here. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).
317
321
  */
318
322
  targetLanguageCodes?: string[] | null;
319
323
  }
@@ -342,11 +346,11 @@ export namespace translate_v3 {
342
346
  */
343
347
  outputConfig?: Schema$OutputConfig;
344
348
  /**
345
- * Required. Source language code.
349
+ * Required. Source language code. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).
346
350
  */
347
351
  sourceLanguageCode?: string | null;
348
352
  /**
349
- * Required. Specify up to 10 language codes here.
353
+ * Required. Specify up to 10 language codes here. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages).
350
354
  */
351
355
  targetLanguageCodes?: string[] | null;
352
356
  }
@@ -438,6 +442,10 @@ export namespace translate_v3 {
438
442
  * The content of the input stored as a string.
439
443
  */
440
444
  content?: string | null;
445
+ /**
446
+ * Optional. The document configuration of the input.
447
+ */
448
+ documentInputConfig?: Schema$DocumentInputConfig;
441
449
  /**
442
450
  * Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.
443
451
  */
@@ -623,7 +631,7 @@ export namespace translate_v3 {
623
631
  */
624
632
  languagePair?: Schema$LanguageCodePair;
625
633
  /**
626
- * Required. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id\}/locations/{location-id\}/glossaries/{glossary-id\}`.
634
+ * Identifier. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id\}/locations/{location-id\}/glossaries/{glossary-id\}`.
627
635
  */
628
636
  name?: string | null;
629
637
  /**
@@ -788,7 +796,7 @@ export namespace translate_v3 {
788
796
  */
789
797
  export interface Schema$LanguageCodesSet {
790
798
  /**
791
- * The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.
799
+ * Optional. The ISO-639 language code(s) for terms defined in the glossary. All entries are unique. The list contains at least two entries. Expected to be an exact match for GlossaryTerm.language_code.
792
800
  */
793
801
  languageCodes?: string[] | null;
794
802
  }
@@ -921,6 +929,10 @@ export namespace translate_v3 {
921
929
  * A list of operations that matches the specified filter in the request.
922
930
  */
923
931
  operations?: Schema$Operation[];
932
+ /**
933
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
934
+ */
935
+ unreachable?: string[] | null;
924
936
  }
925
937
  /**
926
938
  * A resource that represents a Google Cloud location.
@@ -956,7 +968,7 @@ export namespace translate_v3 {
956
968
  */
957
969
  createTime?: string | null;
958
970
  /**
959
- * The dataset from which the model is trained, in form of `projects/{project-number-or-id\}/locations/{location_id\}/datasets/{dataset_id\}`
971
+ * Required. The dataset from which the model is trained, in form of `projects/{project-number-or-id\}/locations/{location_id\}/datasets/{dataset_id\}`
960
972
  */
961
973
  dataset?: string | null;
962
974
  /**
@@ -1065,6 +1077,45 @@ export namespace translate_v3 {
1065
1077
  */
1066
1078
  referenceSentencePairs?: Schema$ReferenceSentencePair[];
1067
1079
  }
1080
+ /**
1081
+ * A single refinement entry for RefineTextRequest.
1082
+ */
1083
+ export interface Schema$RefinementEntry {
1084
+ /**
1085
+ * Required. The original translation of the source text.
1086
+ */
1087
+ originalTranslation?: string | null;
1088
+ /**
1089
+ * Required. The source text to be refined.
1090
+ */
1091
+ sourceText?: string | null;
1092
+ }
1093
+ /**
1094
+ * Request message for RefineText.
1095
+ */
1096
+ export interface Schema$RefineTextRequest {
1097
+ /**
1098
+ * Required. The source texts and original translations in the source and target languages.
1099
+ */
1100
+ refinementEntries?: Schema$RefinementEntry[];
1101
+ /**
1102
+ * Required. The BCP-47 language code of the source text in the request, for example, "en-US".
1103
+ */
1104
+ sourceLanguageCode?: string | null;
1105
+ /**
1106
+ * Required. The BCP-47 language code for translation output, for example, "zh-CN".
1107
+ */
1108
+ targetLanguageCode?: string | null;
1109
+ }
1110
+ /**
1111
+ * Response message for RefineText.
1112
+ */
1113
+ export interface Schema$RefineTextResponse {
1114
+ /**
1115
+ * The refined translations obtained from the original translations.
1116
+ */
1117
+ refinedTranslations?: string[] | null;
1118
+ }
1068
1119
  /**
1069
1120
  * A single romanization response.
1070
1121
  */
@@ -1087,7 +1138,7 @@ export namespace translate_v3 {
1087
1138
  */
1088
1139
  contents?: string[] | null;
1089
1140
  /**
1090
- * Optional. The ISO-639 language code of the input text if known, for example, "hi" or "zh". If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language for each content in the response.
1141
+ * Optional. The ISO-639 language code of the input text if known, for example, "hi" or "zh". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages#roman). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language for each content in the response.
1091
1142
  */
1092
1143
  sourceLanguageCode?: string | null;
1093
1144
  }
@@ -1188,11 +1239,11 @@ export namespace translate_v3 {
1188
1239
  */
1189
1240
  model?: string | null;
1190
1241
  /**
1191
- * Optional. The ISO-639 language code of the input document if known, for example, "en-US" or "sr-Latn". Supported language codes are listed in Language Support. If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response. Source language must be specified if the request contains a glossary or a custom model.
1242
+ * Optional. The ISO-639 language code of the input document if known, for example, "en-US" or "sr-Latn". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response. Source language must be specified if the request contains a glossary or a custom model.
1192
1243
  */
1193
1244
  sourceLanguageCode?: string | null;
1194
1245
  /**
1195
- * Required. The ISO-639 language code to use for translation of the input document, set to one of the language codes listed in Language Support.
1246
+ * Required. The ISO-639 language code to use for translation of the input document, set to one of the language codes listed in [Language Support](https://cloud.google.com/translate/docs/languages).
1196
1247
  */
1197
1248
  targetLanguageCode?: string | null;
1198
1249
  }
@@ -1259,11 +1310,11 @@ export namespace translate_v3 {
1259
1310
  */
1260
1311
  model?: string | null;
1261
1312
  /**
1262
- * Optional. The ISO-639 language code of the input text if known, for example, "en-US" or "sr-Latn". Supported language codes are listed in Language Support. If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response.
1313
+ * Optional. The ISO-639 language code of the input text if known, for example, "en-US" or "sr-Latn". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response.
1263
1314
  */
1264
1315
  sourceLanguageCode?: string | null;
1265
1316
  /**
1266
- * Required. The ISO-639 language code to use for translation of the input text, set to one of the language codes listed in Language Support.
1317
+ * Required. The ISO-639 language code to use for translation of the input text, set to one of the language codes listed in [Language Support](https://cloud.google.com/translate/docs/languages).
1267
1318
  */
1268
1319
  targetLanguageCode?: string | null;
1269
1320
  /**
@@ -1371,6 +1422,7 @@ export namespace translate_v3 {
1371
1422
  * // request body parameters
1372
1423
  * // {
1373
1424
  * // "content": "my_content",
1425
+ * // "documentInputConfig": {},
1374
1426
  * // "labels": {},
1375
1427
  * // "mimeType": "my_mimeType",
1376
1428
  * // "model": "my_model"
@@ -1944,8 +1996,7 @@ export namespace translate_v3 {
1944
1996
  }
1945
1997
  }
1946
1998
 
1947
- export interface Params$Resource$Projects$Detectlanguage
1948
- extends StandardParameters {
1999
+ export interface Params$Resource$Projects$Detectlanguage extends StandardParameters {
1949
2000
  /**
1950
2001
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}` or `projects/{project-number-or-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.
1951
2002
  */
@@ -1956,8 +2007,7 @@ export namespace translate_v3 {
1956
2007
  */
1957
2008
  requestBody?: Schema$DetectLanguageRequest;
1958
2009
  }
1959
- export interface Params$Resource$Projects$Getsupportedlanguages
1960
- extends StandardParameters {
2010
+ export interface Params$Resource$Projects$Getsupportedlanguages extends StandardParameters {
1961
2011
  /**
1962
2012
  * Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.
1963
2013
  */
@@ -1971,8 +2021,7 @@ export namespace translate_v3 {
1971
2021
  */
1972
2022
  parent?: string;
1973
2023
  }
1974
- export interface Params$Resource$Projects$Romanizetext
1975
- extends StandardParameters {
2024
+ export interface Params$Resource$Projects$Romanizetext extends StandardParameters {
1976
2025
  /**
1977
2026
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}` or `projects/{project-number-or-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`.
1978
2027
  */
@@ -1983,8 +2032,7 @@ export namespace translate_v3 {
1983
2032
  */
1984
2033
  requestBody?: Schema$RomanizeTextRequest;
1985
2034
  }
1986
- export interface Params$Resource$Projects$Translatetext
1987
- extends StandardParameters {
2035
+ export interface Params$Resource$Projects$Translatetext extends StandardParameters {
1988
2036
  /**
1989
2037
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}` or `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
1990
2038
  */
@@ -2223,6 +2271,7 @@ export namespace translate_v3 {
2223
2271
  * // "inputConfigs": [],
2224
2272
  * // "models": {},
2225
2273
  * // "outputConfig": {},
2274
+ * // "pdfNativeOnly": false,
2226
2275
  * // "sourceLanguageCode": "my_sourceLanguageCode",
2227
2276
  * // "targetLanguageCodes": []
2228
2277
  * // }
@@ -2538,6 +2587,7 @@ export namespace translate_v3 {
2538
2587
  * // request body parameters
2539
2588
  * // {
2540
2589
  * // "content": "my_content",
2590
+ * // "documentInputConfig": {},
2541
2591
  * // "labels": {},
2542
2592
  * // "mimeType": "my_mimeType",
2543
2593
  * // "model": "my_model"
@@ -2972,7 +3022,7 @@ export namespace translate_v3 {
2972
3022
  *
2973
3023
  * // Do the magic
2974
3024
  * const res = await translate.projects.locations.list({
2975
- * // Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
3025
+ * // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
2976
3026
  * extraLocationTypes: 'placeholder-value',
2977
3027
  * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
2978
3028
  * filter: 'placeholder-value',
@@ -3089,6 +3139,156 @@ export namespace translate_v3 {
3089
3139
  }
3090
3140
  }
3091
3141
 
3142
+ /**
3143
+ * Refines the input translated text to improve the quality.
3144
+ * @example
3145
+ * ```js
3146
+ * // Before running the sample:
3147
+ * // - Enable the API at:
3148
+ * // https://console.developers.google.com/apis/api/translate.googleapis.com
3149
+ * // - Login into gcloud by running:
3150
+ * // ```sh
3151
+ * // $ gcloud auth application-default login
3152
+ * // ```
3153
+ * // - Install the npm module by running:
3154
+ * // ```sh
3155
+ * // $ npm install googleapis
3156
+ * // ```
3157
+ *
3158
+ * const {google} = require('googleapis');
3159
+ * const translate = google.translate('v3');
3160
+ *
3161
+ * async function main() {
3162
+ * const auth = new google.auth.GoogleAuth({
3163
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3164
+ * scopes: [
3165
+ * 'https://www.googleapis.com/auth/cloud-platform',
3166
+ * 'https://www.googleapis.com/auth/cloud-translation',
3167
+ * ],
3168
+ * });
3169
+ *
3170
+ * // Acquire an auth client, and bind it to all future calls
3171
+ * const authClient = await auth.getClient();
3172
+ * google.options({auth: authClient});
3173
+ *
3174
+ * // Do the magic
3175
+ * const res = await translate.projects.locations.refineText({
3176
+ * // Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`.
3177
+ * parent: 'projects/my-project/locations/my-location',
3178
+ *
3179
+ * // Request body metadata
3180
+ * requestBody: {
3181
+ * // request body parameters
3182
+ * // {
3183
+ * // "refinementEntries": [],
3184
+ * // "sourceLanguageCode": "my_sourceLanguageCode",
3185
+ * // "targetLanguageCode": "my_targetLanguageCode"
3186
+ * // }
3187
+ * },
3188
+ * });
3189
+ * console.log(res.data);
3190
+ *
3191
+ * // Example response
3192
+ * // {
3193
+ * // "refinedTranslations": []
3194
+ * // }
3195
+ * }
3196
+ *
3197
+ * main().catch(e => {
3198
+ * console.error(e);
3199
+ * throw e;
3200
+ * });
3201
+ *
3202
+ * ```
3203
+ *
3204
+ * @param params - Parameters for request
3205
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3206
+ * @param callback - Optional callback that handles the response.
3207
+ * @returns A promise if used with async/await, or void if used with a callback.
3208
+ */
3209
+ refineText(
3210
+ params: Params$Resource$Projects$Locations$Refinetext,
3211
+ options: StreamMethodOptions
3212
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3213
+ refineText(
3214
+ params?: Params$Resource$Projects$Locations$Refinetext,
3215
+ options?: MethodOptions
3216
+ ): Promise<GaxiosResponseWithHTTP2<Schema$RefineTextResponse>>;
3217
+ refineText(
3218
+ params: Params$Resource$Projects$Locations$Refinetext,
3219
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
3220
+ callback: BodyResponseCallback<Readable>
3221
+ ): void;
3222
+ refineText(
3223
+ params: Params$Resource$Projects$Locations$Refinetext,
3224
+ options: MethodOptions | BodyResponseCallback<Schema$RefineTextResponse>,
3225
+ callback: BodyResponseCallback<Schema$RefineTextResponse>
3226
+ ): void;
3227
+ refineText(
3228
+ params: Params$Resource$Projects$Locations$Refinetext,
3229
+ callback: BodyResponseCallback<Schema$RefineTextResponse>
3230
+ ): void;
3231
+ refineText(callback: BodyResponseCallback<Schema$RefineTextResponse>): void;
3232
+ refineText(
3233
+ paramsOrCallback?:
3234
+ | Params$Resource$Projects$Locations$Refinetext
3235
+ | BodyResponseCallback<Schema$RefineTextResponse>
3236
+ | BodyResponseCallback<Readable>,
3237
+ optionsOrCallback?:
3238
+ | MethodOptions
3239
+ | StreamMethodOptions
3240
+ | BodyResponseCallback<Schema$RefineTextResponse>
3241
+ | BodyResponseCallback<Readable>,
3242
+ callback?:
3243
+ | BodyResponseCallback<Schema$RefineTextResponse>
3244
+ | BodyResponseCallback<Readable>
3245
+ ):
3246
+ | void
3247
+ | Promise<GaxiosResponseWithHTTP2<Schema$RefineTextResponse>>
3248
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3249
+ let params = (paramsOrCallback ||
3250
+ {}) as Params$Resource$Projects$Locations$Refinetext;
3251
+ let options = (optionsOrCallback || {}) as MethodOptions;
3252
+
3253
+ if (typeof paramsOrCallback === 'function') {
3254
+ callback = paramsOrCallback;
3255
+ params = {} as Params$Resource$Projects$Locations$Refinetext;
3256
+ options = {};
3257
+ }
3258
+
3259
+ if (typeof optionsOrCallback === 'function') {
3260
+ callback = optionsOrCallback;
3261
+ options = {};
3262
+ }
3263
+
3264
+ const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';
3265
+ const parameters = {
3266
+ options: Object.assign(
3267
+ {
3268
+ url: (rootUrl + '/v3/{+parent}:refineText').replace(
3269
+ /([^:]\/)\/+/g,
3270
+ '$1'
3271
+ ),
3272
+ method: 'POST',
3273
+ apiVersion: '',
3274
+ },
3275
+ options
3276
+ ),
3277
+ params,
3278
+ requiredParams: ['parent'],
3279
+ pathParams: ['parent'],
3280
+ context: this.context,
3281
+ };
3282
+ if (callback) {
3283
+ createAPIRequest<Schema$RefineTextResponse>(
3284
+ parameters,
3285
+ callback as BodyResponseCallback<unknown>
3286
+ );
3287
+ } else {
3288
+ return createAPIRequest<Schema$RefineTextResponse>(parameters);
3289
+ }
3290
+ }
3291
+
3092
3292
  /**
3093
3293
  * Romanize input text written in non-Latin scripts to Latin text.
3094
3294
  * @example
@@ -3568,8 +3768,7 @@ export namespace translate_v3 {
3568
3768
  }
3569
3769
  }
3570
3770
 
3571
- export interface Params$Resource$Projects$Locations$Adaptivemttranslate
3572
- extends StandardParameters {
3771
+ export interface Params$Resource$Projects$Locations$Adaptivemttranslate extends StandardParameters {
3573
3772
  /**
3574
3773
  * Required. Location to make a regional call. Format: `projects/{project-number-or-id\}/locations/{location-id\}`.
3575
3774
  */
@@ -3580,8 +3779,7 @@ export namespace translate_v3 {
3580
3779
  */
3581
3780
  requestBody?: Schema$AdaptiveMtTranslateRequest;
3582
3781
  }
3583
- export interface Params$Resource$Projects$Locations$Batchtranslatedocument
3584
- extends StandardParameters {
3782
+ export interface Params$Resource$Projects$Locations$Batchtranslatedocument extends StandardParameters {
3585
3783
  /**
3586
3784
  * Required. Location to make a regional call. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.
3587
3785
  */
@@ -3592,8 +3790,7 @@ export namespace translate_v3 {
3592
3790
  */
3593
3791
  requestBody?: Schema$BatchTranslateDocumentRequest;
3594
3792
  }
3595
- export interface Params$Resource$Projects$Locations$Batchtranslatetext
3596
- extends StandardParameters {
3793
+ export interface Params$Resource$Projects$Locations$Batchtranslatetext extends StandardParameters {
3597
3794
  /**
3598
3795
  * Required. Location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.
3599
3796
  */
@@ -3604,8 +3801,7 @@ export namespace translate_v3 {
3604
3801
  */
3605
3802
  requestBody?: Schema$BatchTranslateTextRequest;
3606
3803
  }
3607
- export interface Params$Resource$Projects$Locations$Detectlanguage
3608
- extends StandardParameters {
3804
+ export interface Params$Resource$Projects$Locations$Detectlanguage extends StandardParameters {
3609
3805
  /**
3610
3806
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}` or `projects/{project-number-or-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.
3611
3807
  */
@@ -3616,15 +3812,13 @@ export namespace translate_v3 {
3616
3812
  */
3617
3813
  requestBody?: Schema$DetectLanguageRequest;
3618
3814
  }
3619
- export interface Params$Resource$Projects$Locations$Get
3620
- extends StandardParameters {
3815
+ export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
3621
3816
  /**
3622
3817
  * Resource name for the location.
3623
3818
  */
3624
3819
  name?: string;
3625
3820
  }
3626
- export interface Params$Resource$Projects$Locations$Getsupportedlanguages
3627
- extends StandardParameters {
3821
+ export interface Params$Resource$Projects$Locations$Getsupportedlanguages extends StandardParameters {
3628
3822
  /**
3629
3823
  * Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.
3630
3824
  */
@@ -3638,10 +3832,9 @@ export namespace translate_v3 {
3638
3832
  */
3639
3833
  parent?: string;
3640
3834
  }
3641
- export interface Params$Resource$Projects$Locations$List
3642
- extends StandardParameters {
3835
+ export interface Params$Resource$Projects$Locations$List extends StandardParameters {
3643
3836
  /**
3644
- * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
3837
+ * Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
3645
3838
  */
3646
3839
  extraLocationTypes?: string[];
3647
3840
  /**
@@ -3661,8 +3854,18 @@ export namespace translate_v3 {
3661
3854
  */
3662
3855
  pageToken?: string;
3663
3856
  }
3664
- export interface Params$Resource$Projects$Locations$Romanizetext
3665
- extends StandardParameters {
3857
+ export interface Params$Resource$Projects$Locations$Refinetext extends StandardParameters {
3858
+ /**
3859
+ * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`.
3860
+ */
3861
+ parent?: string;
3862
+
3863
+ /**
3864
+ * Request body metadata
3865
+ */
3866
+ requestBody?: Schema$RefineTextRequest;
3867
+ }
3868
+ export interface Params$Resource$Projects$Locations$Romanizetext extends StandardParameters {
3666
3869
  /**
3667
3870
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}` or `projects/{project-number-or-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`.
3668
3871
  */
@@ -3673,8 +3876,7 @@ export namespace translate_v3 {
3673
3876
  */
3674
3877
  requestBody?: Schema$RomanizeTextRequest;
3675
3878
  }
3676
- export interface Params$Resource$Projects$Locations$Translatedocument
3677
- extends StandardParameters {
3879
+ export interface Params$Resource$Projects$Locations$Translatedocument extends StandardParameters {
3678
3880
  /**
3679
3881
  * Required. Location to make a regional call. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have the same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
3680
3882
  */
@@ -3685,8 +3887,7 @@ export namespace translate_v3 {
3685
3887
  */
3686
3888
  requestBody?: Schema$TranslateDocumentRequest;
3687
3889
  }
3688
- export interface Params$Resource$Projects$Locations$Translatetext
3689
- extends StandardParameters {
3890
+ export interface Params$Resource$Projects$Locations$Translatetext extends StandardParameters {
3690
3891
  /**
3691
3892
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}` or `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
3692
3893
  */
@@ -4468,8 +4669,7 @@ export namespace translate_v3 {
4468
4669
  }
4469
4670
  }
4470
4671
 
4471
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Create
4472
- extends StandardParameters {
4672
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Create extends StandardParameters {
4473
4673
  /**
4474
4674
  * Required. Name of the parent project. In form of `projects/{project-number-or-id\}/locations/{location-id\}`
4475
4675
  */
@@ -4480,22 +4680,19 @@ export namespace translate_v3 {
4480
4680
  */
4481
4681
  requestBody?: Schema$AdaptiveMtDataset;
4482
4682
  }
4483
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete
4484
- extends StandardParameters {
4683
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete extends StandardParameters {
4485
4684
  /**
4486
4685
  * Required. Name of the dataset. In the form of `projects/{project-number-or-id\}/locations/{location-id\}/adaptiveMtDatasets/{adaptive-mt-dataset-id\}`
4487
4686
  */
4488
4687
  name?: string;
4489
4688
  }
4490
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Get
4491
- extends StandardParameters {
4689
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Get extends StandardParameters {
4492
4690
  /**
4493
4691
  * Required. Name of the dataset. In the form of `projects/{project-number-or-id\}/locations/{location-id\}/adaptiveMtDatasets/{adaptive-mt-dataset-id\}`
4494
4692
  */
4495
4693
  name?: string;
4496
4694
  }
4497
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile
4498
- extends StandardParameters {
4695
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile extends StandardParameters {
4499
4696
  /**
4500
4697
  * Required. The resource name of the file, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset\}`
4501
4698
  */
@@ -4506,8 +4703,7 @@ export namespace translate_v3 {
4506
4703
  */
4507
4704
  requestBody?: Schema$ImportAdaptiveMtFileRequest;
4508
4705
  }
4509
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$List
4510
- extends StandardParameters {
4706
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$List extends StandardParameters {
4511
4707
  /**
4512
4708
  * Optional. An expression for filtering the results of the request. Filter is not supported yet.
4513
4709
  */
@@ -4972,22 +5168,19 @@ export namespace translate_v3 {
4972
5168
  }
4973
5169
  }
4974
5170
 
4975
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete
4976
- extends StandardParameters {
5171
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete extends StandardParameters {
4977
5172
  /**
4978
5173
  * Required. The resource name of the file to delete, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset\}/adaptiveMtFiles/{file\}`
4979
5174
  */
4980
5175
  name?: string;
4981
5176
  }
4982
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get
4983
- extends StandardParameters {
5177
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get extends StandardParameters {
4984
5178
  /**
4985
5179
  * Required. The resource name of the file, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset\}/adaptiveMtFiles/{file\}`
4986
5180
  */
4987
5181
  name?: string;
4988
5182
  }
4989
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List
4990
- extends StandardParameters {
5183
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List extends StandardParameters {
4991
5184
  /**
4992
5185
  * Optional.
4993
5186
  */
@@ -5164,8 +5357,7 @@ export namespace translate_v3 {
5164
5357
  }
5165
5358
  }
5166
5359
 
5167
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List
5168
- extends StandardParameters {
5360
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List extends StandardParameters {
5169
5361
  /**
5170
5362
  *
5171
5363
  */
@@ -5342,8 +5534,7 @@ export namespace translate_v3 {
5342
5534
  }
5343
5535
  }
5344
5536
 
5345
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List
5346
- extends StandardParameters {
5537
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List extends StandardParameters {
5347
5538
  /**
5348
5539
  *
5349
5540
  */
@@ -6268,8 +6459,7 @@ export namespace translate_v3 {
6268
6459
  }
6269
6460
  }
6270
6461
 
6271
- export interface Params$Resource$Projects$Locations$Datasets$Create
6272
- extends StandardParameters {
6462
+ export interface Params$Resource$Projects$Locations$Datasets$Create extends StandardParameters {
6273
6463
  /**
6274
6464
  * Required. The project name.
6275
6465
  */
@@ -6280,15 +6470,13 @@ export namespace translate_v3 {
6280
6470
  */
6281
6471
  requestBody?: Schema$Dataset;
6282
6472
  }
6283
- export interface Params$Resource$Projects$Locations$Datasets$Delete
6284
- extends StandardParameters {
6473
+ export interface Params$Resource$Projects$Locations$Datasets$Delete extends StandardParameters {
6285
6474
  /**
6286
6475
  * Required. The name of the dataset to delete.
6287
6476
  */
6288
6477
  name?: string;
6289
6478
  }
6290
- export interface Params$Resource$Projects$Locations$Datasets$Exportdata
6291
- extends StandardParameters {
6479
+ export interface Params$Resource$Projects$Locations$Datasets$Exportdata extends StandardParameters {
6292
6480
  /**
6293
6481
  * Required. Name of the dataset. In form of `projects/{project-number-or-id\}/locations/{location-id\}/datasets/{dataset-id\}`
6294
6482
  */
@@ -6299,15 +6487,13 @@ export namespace translate_v3 {
6299
6487
  */
6300
6488
  requestBody?: Schema$ExportDataRequest;
6301
6489
  }
6302
- export interface Params$Resource$Projects$Locations$Datasets$Get
6303
- extends StandardParameters {
6490
+ export interface Params$Resource$Projects$Locations$Datasets$Get extends StandardParameters {
6304
6491
  /**
6305
6492
  * Required. The resource name of the dataset to retrieve.
6306
6493
  */
6307
6494
  name?: string;
6308
6495
  }
6309
- export interface Params$Resource$Projects$Locations$Datasets$Importdata
6310
- extends StandardParameters {
6496
+ export interface Params$Resource$Projects$Locations$Datasets$Importdata extends StandardParameters {
6311
6497
  /**
6312
6498
  * Required. Name of the dataset. In form of `projects/{project-number-or-id\}/locations/{location-id\}/datasets/{dataset-id\}`
6313
6499
  */
@@ -6318,8 +6504,7 @@ export namespace translate_v3 {
6318
6504
  */
6319
6505
  requestBody?: Schema$ImportDataRequest;
6320
6506
  }
6321
- export interface Params$Resource$Projects$Locations$Datasets$List
6322
- extends StandardParameters {
6507
+ export interface Params$Resource$Projects$Locations$Datasets$List extends StandardParameters {
6323
6508
  /**
6324
6509
  * Optional. Requested page size. The server can return fewer results than requested.
6325
6510
  */
@@ -6491,8 +6676,7 @@ export namespace translate_v3 {
6491
6676
  }
6492
6677
  }
6493
6678
 
6494
- export interface Params$Resource$Projects$Locations$Datasets$Examples$List
6495
- extends StandardParameters {
6679
+ export interface Params$Resource$Projects$Locations$Datasets$Examples$List extends StandardParameters {
6496
6680
  /**
6497
6681
  * Optional. An expression for filtering the examples that will be returned. Example filter: * `usage=TRAIN`
6498
6682
  */
@@ -7149,9 +7333,9 @@ export namespace translate_v3 {
7149
7333
  *
7150
7334
  * // Do the magic
7151
7335
  * const res = await translate.projects.locations.glossaries.patch({
7152
- * // Required. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id\}/locations/{location-id\}/glossaries/{glossary-id\}`.
7336
+ * // Identifier. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id\}/locations/{location-id\}/glossaries/{glossary-id\}`.
7153
7337
  * name: 'projects/my-project/locations/my-location/glossaries/my-glossarie',
7154
- * // The list of fields to be updated. Currently only `display_name` and 'input_config'
7338
+ * // The list of fields to be updated. Currently, only `display_name` and `input_config` are supported.
7155
7339
  * updateMask: 'placeholder-value',
7156
7340
  *
7157
7341
  * // Request body metadata
@@ -7274,8 +7458,7 @@ export namespace translate_v3 {
7274
7458
  }
7275
7459
  }
7276
7460
 
7277
- export interface Params$Resource$Projects$Locations$Glossaries$Create
7278
- extends StandardParameters {
7461
+ export interface Params$Resource$Projects$Locations$Glossaries$Create extends StandardParameters {
7279
7462
  /**
7280
7463
  * Required. The project name.
7281
7464
  */
@@ -7286,22 +7469,19 @@ export namespace translate_v3 {
7286
7469
  */
7287
7470
  requestBody?: Schema$Glossary;
7288
7471
  }
7289
- export interface Params$Resource$Projects$Locations$Glossaries$Delete
7290
- extends StandardParameters {
7472
+ export interface Params$Resource$Projects$Locations$Glossaries$Delete extends StandardParameters {
7291
7473
  /**
7292
7474
  * Required. The name of the glossary to delete.
7293
7475
  */
7294
7476
  name?: string;
7295
7477
  }
7296
- export interface Params$Resource$Projects$Locations$Glossaries$Get
7297
- extends StandardParameters {
7478
+ export interface Params$Resource$Projects$Locations$Glossaries$Get extends StandardParameters {
7298
7479
  /**
7299
7480
  * Required. The name of the glossary to retrieve.
7300
7481
  */
7301
7482
  name?: string;
7302
7483
  }
7303
- export interface Params$Resource$Projects$Locations$Glossaries$List
7304
- extends StandardParameters {
7484
+ export interface Params$Resource$Projects$Locations$Glossaries$List extends StandardParameters {
7305
7485
  /**
7306
7486
  * Optional. Filter specifying constraints of a list operation. Specify the constraint by the format of "key=value", where key must be "src" or "tgt", and the value must be a valid language code. For multiple restrictions, concatenate them by "AND" (uppercase only), such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used here, which means using 'en-US' and 'en' can lead to different results, which depends on the language code you used when you create the glossary. For the unidirectional glossaries, the "src" and "tgt" add restrictions on the source and target language code separately. For the equivalent term set glossaries, the "src" and/or "tgt" add restrictions on the term set. For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional glossaries which exactly match the source language code as "en-US" and the target language code "zh-CN", but all equivalent term set glossaries which contain "en-US" and "zh-CN" in their language set will be picked. If missing, no filtering is performed.
7307
7487
  */
@@ -7319,14 +7499,13 @@ export namespace translate_v3 {
7319
7499
  */
7320
7500
  parent?: string;
7321
7501
  }
7322
- export interface Params$Resource$Projects$Locations$Glossaries$Patch
7323
- extends StandardParameters {
7502
+ export interface Params$Resource$Projects$Locations$Glossaries$Patch extends StandardParameters {
7324
7503
  /**
7325
- * Required. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id\}/locations/{location-id\}/glossaries/{glossary-id\}`.
7504
+ * Identifier. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id\}/locations/{location-id\}/glossaries/{glossary-id\}`.
7326
7505
  */
7327
7506
  name?: string;
7328
7507
  /**
7329
- * The list of fields to be updated. Currently only `display_name` and 'input_config'
7508
+ * The list of fields to be updated. Currently, only `display_name` and `input_config` are supported.
7330
7509
  */
7331
7510
  updateMask?: string;
7332
7511
 
@@ -8085,8 +8264,7 @@ export namespace translate_v3 {
8085
8264
  }
8086
8265
  }
8087
8266
 
8088
- export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create
8089
- extends StandardParameters {
8267
+ export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create extends StandardParameters {
8090
8268
  /**
8091
8269
  * Required. The resource name of the glossary to create the entry under.
8092
8270
  */
@@ -8097,22 +8275,19 @@ export namespace translate_v3 {
8097
8275
  */
8098
8276
  requestBody?: Schema$GlossaryEntry;
8099
8277
  }
8100
- export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete
8101
- extends StandardParameters {
8278
+ export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete extends StandardParameters {
8102
8279
  /**
8103
8280
  * Required. The resource name of the glossary entry to delete
8104
8281
  */
8105
8282
  name?: string;
8106
8283
  }
8107
- export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get
8108
- extends StandardParameters {
8284
+ export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get extends StandardParameters {
8109
8285
  /**
8110
8286
  * Required. The resource name of the glossary entry to get
8111
8287
  */
8112
8288
  name?: string;
8113
8289
  }
8114
- export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List
8115
- extends StandardParameters {
8290
+ export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List extends StandardParameters {
8116
8291
  /**
8117
8292
  * Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.
8118
8293
  */
@@ -8126,8 +8301,7 @@ export namespace translate_v3 {
8126
8301
  */
8127
8302
  parent?: string;
8128
8303
  }
8129
- export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch
8130
- extends StandardParameters {
8304
+ export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch extends StandardParameters {
8131
8305
  /**
8132
8306
  * Identifier. The resource name of the entry. Format: `projects/x/locations/x/glossaries/x/glossaryEntries/x`
8133
8307
  */
@@ -8741,8 +8915,7 @@ export namespace translate_v3 {
8741
8915
  }
8742
8916
  }
8743
8917
 
8744
- export interface Params$Resource$Projects$Locations$Models$Create
8745
- extends StandardParameters {
8918
+ export interface Params$Resource$Projects$Locations$Models$Create extends StandardParameters {
8746
8919
  /**
8747
8920
  * Required. The project name, in form of `projects/{project\}/locations/{location\}`
8748
8921
  */
@@ -8753,22 +8926,19 @@ export namespace translate_v3 {
8753
8926
  */
8754
8927
  requestBody?: Schema$Model;
8755
8928
  }
8756
- export interface Params$Resource$Projects$Locations$Models$Delete
8757
- extends StandardParameters {
8929
+ export interface Params$Resource$Projects$Locations$Models$Delete extends StandardParameters {
8758
8930
  /**
8759
8931
  * Required. The name of the model to delete.
8760
8932
  */
8761
8933
  name?: string;
8762
8934
  }
8763
- export interface Params$Resource$Projects$Locations$Models$Get
8764
- extends StandardParameters {
8935
+ export interface Params$Resource$Projects$Locations$Models$Get extends StandardParameters {
8765
8936
  /**
8766
8937
  * Required. The resource name of the model to retrieve.
8767
8938
  */
8768
8939
  name?: string;
8769
8940
  }
8770
- export interface Params$Resource$Projects$Locations$Models$List
8771
- extends StandardParameters {
8941
+ export interface Params$Resource$Projects$Locations$Models$List extends StandardParameters {
8772
8942
  /**
8773
8943
  * Optional. An expression for filtering the models that will be returned. Supported filter: `dataset_id=${dataset_id\}`
8774
8944
  */
@@ -9252,13 +9422,16 @@ export namespace translate_v3 {
9252
9422
  * pageSize: 'placeholder-value',
9253
9423
  * // The standard list page token.
9254
9424
  * pageToken: 'placeholder-value',
9425
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
9426
+ * returnPartialSuccess: 'placeholder-value',
9255
9427
  * });
9256
9428
  * console.log(res.data);
9257
9429
  *
9258
9430
  * // Example response
9259
9431
  * // {
9260
9432
  * // "nextPageToken": "my_nextPageToken",
9261
- * // "operations": []
9433
+ * // "operations": [],
9434
+ * // "unreachable": []
9262
9435
  * // }
9263
9436
  * }
9264
9437
  *
@@ -9509,8 +9682,7 @@ export namespace translate_v3 {
9509
9682
  }
9510
9683
  }
9511
9684
 
9512
- export interface Params$Resource$Projects$Locations$Operations$Cancel
9513
- extends StandardParameters {
9685
+ export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
9514
9686
  /**
9515
9687
  * The name of the operation resource to be cancelled.
9516
9688
  */
@@ -9521,22 +9693,19 @@ export namespace translate_v3 {
9521
9693
  */
9522
9694
  requestBody?: Schema$CancelOperationRequest;
9523
9695
  }
9524
- export interface Params$Resource$Projects$Locations$Operations$Delete
9525
- extends StandardParameters {
9696
+ export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
9526
9697
  /**
9527
9698
  * The name of the operation resource to be deleted.
9528
9699
  */
9529
9700
  name?: string;
9530
9701
  }
9531
- export interface Params$Resource$Projects$Locations$Operations$Get
9532
- extends StandardParameters {
9702
+ export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
9533
9703
  /**
9534
9704
  * The name of the operation resource.
9535
9705
  */
9536
9706
  name?: string;
9537
9707
  }
9538
- export interface Params$Resource$Projects$Locations$Operations$List
9539
- extends StandardParameters {
9708
+ export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
9540
9709
  /**
9541
9710
  * The standard list filter.
9542
9711
  */
@@ -9553,9 +9722,12 @@ export namespace translate_v3 {
9553
9722
  * The standard list page token.
9554
9723
  */
9555
9724
  pageToken?: string;
9725
+ /**
9726
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
9727
+ */
9728
+ returnPartialSuccess?: boolean;
9556
9729
  }
9557
- export interface Params$Resource$Projects$Locations$Operations$Wait
9558
- extends StandardParameters {
9730
+ export interface Params$Resource$Projects$Locations$Operations$Wait extends StandardParameters {
9559
9731
  /**
9560
9732
  * The name of the operation resource to wait on.
9561
9733
  */