@googleapis/translate 3.5.0 → 4.0.1

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/build/v3.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace translate_v3 {
5
5
  export interface Options extends GlobalOptions {
@@ -1309,8 +1309,8 @@ export declare namespace translate_v3 {
1309
1309
  * @param callback - Optional callback that handles the response.
1310
1310
  * @returns A promise if used with async/await, or void if used with a callback.
1311
1311
  */
1312
- detectLanguage(params: Params$Resource$Projects$Detectlanguage, options: StreamMethodOptions): GaxiosPromise<Readable>;
1313
- detectLanguage(params?: Params$Resource$Projects$Detectlanguage, options?: MethodOptions): GaxiosPromise<Schema$DetectLanguageResponse>;
1312
+ detectLanguage(params: Params$Resource$Projects$Detectlanguage, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1313
+ detectLanguage(params?: Params$Resource$Projects$Detectlanguage, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$DetectLanguageResponse>>;
1314
1314
  detectLanguage(params: Params$Resource$Projects$Detectlanguage, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1315
1315
  detectLanguage(params: Params$Resource$Projects$Detectlanguage, options: MethodOptions | BodyResponseCallback<Schema$DetectLanguageResponse>, callback: BodyResponseCallback<Schema$DetectLanguageResponse>): void;
1316
1316
  detectLanguage(params: Params$Resource$Projects$Detectlanguage, callback: BodyResponseCallback<Schema$DetectLanguageResponse>): void;
@@ -1323,8 +1323,8 @@ export declare namespace translate_v3 {
1323
1323
  * @param callback - Optional callback that handles the response.
1324
1324
  * @returns A promise if used with async/await, or void if used with a callback.
1325
1325
  */
1326
- getSupportedLanguages(params: Params$Resource$Projects$Getsupportedlanguages, options: StreamMethodOptions): GaxiosPromise<Readable>;
1327
- getSupportedLanguages(params?: Params$Resource$Projects$Getsupportedlanguages, options?: MethodOptions): GaxiosPromise<Schema$SupportedLanguages>;
1326
+ getSupportedLanguages(params: Params$Resource$Projects$Getsupportedlanguages, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1327
+ getSupportedLanguages(params?: Params$Resource$Projects$Getsupportedlanguages, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SupportedLanguages>>;
1328
1328
  getSupportedLanguages(params: Params$Resource$Projects$Getsupportedlanguages, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1329
1329
  getSupportedLanguages(params: Params$Resource$Projects$Getsupportedlanguages, options: MethodOptions | BodyResponseCallback<Schema$SupportedLanguages>, callback: BodyResponseCallback<Schema$SupportedLanguages>): void;
1330
1330
  getSupportedLanguages(params: Params$Resource$Projects$Getsupportedlanguages, callback: BodyResponseCallback<Schema$SupportedLanguages>): void;
@@ -1337,8 +1337,8 @@ export declare namespace translate_v3 {
1337
1337
  * @param callback - Optional callback that handles the response.
1338
1338
  * @returns A promise if used with async/await, or void if used with a callback.
1339
1339
  */
1340
- romanizeText(params: Params$Resource$Projects$Romanizetext, options: StreamMethodOptions): GaxiosPromise<Readable>;
1341
- romanizeText(params?: Params$Resource$Projects$Romanizetext, options?: MethodOptions): GaxiosPromise<Schema$RomanizeTextResponse>;
1340
+ romanizeText(params: Params$Resource$Projects$Romanizetext, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1341
+ romanizeText(params?: Params$Resource$Projects$Romanizetext, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$RomanizeTextResponse>>;
1342
1342
  romanizeText(params: Params$Resource$Projects$Romanizetext, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1343
1343
  romanizeText(params: Params$Resource$Projects$Romanizetext, options: MethodOptions | BodyResponseCallback<Schema$RomanizeTextResponse>, callback: BodyResponseCallback<Schema$RomanizeTextResponse>): void;
1344
1344
  romanizeText(params: Params$Resource$Projects$Romanizetext, callback: BodyResponseCallback<Schema$RomanizeTextResponse>): void;
@@ -1351,8 +1351,8 @@ export declare namespace translate_v3 {
1351
1351
  * @param callback - Optional callback that handles the response.
1352
1352
  * @returns A promise if used with async/await, or void if used with a callback.
1353
1353
  */
1354
- translateText(params: Params$Resource$Projects$Translatetext, options: StreamMethodOptions): GaxiosPromise<Readable>;
1355
- translateText(params?: Params$Resource$Projects$Translatetext, options?: MethodOptions): GaxiosPromise<Schema$TranslateTextResponse>;
1354
+ translateText(params: Params$Resource$Projects$Translatetext, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1355
+ translateText(params?: Params$Resource$Projects$Translatetext, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TranslateTextResponse>>;
1356
1356
  translateText(params: Params$Resource$Projects$Translatetext, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1357
1357
  translateText(params: Params$Resource$Projects$Translatetext, options: MethodOptions | BodyResponseCallback<Schema$TranslateTextResponse>, callback: BodyResponseCallback<Schema$TranslateTextResponse>): void;
1358
1358
  translateText(params: Params$Resource$Projects$Translatetext, callback: BodyResponseCallback<Schema$TranslateTextResponse>): void;
@@ -1418,8 +1418,8 @@ export declare namespace translate_v3 {
1418
1418
  * @param callback - Optional callback that handles the response.
1419
1419
  * @returns A promise if used with async/await, or void if used with a callback.
1420
1420
  */
1421
- adaptiveMtTranslate(params: Params$Resource$Projects$Locations$Adaptivemttranslate, options: StreamMethodOptions): GaxiosPromise<Readable>;
1422
- adaptiveMtTranslate(params?: Params$Resource$Projects$Locations$Adaptivemttranslate, options?: MethodOptions): GaxiosPromise<Schema$AdaptiveMtTranslateResponse>;
1421
+ adaptiveMtTranslate(params: Params$Resource$Projects$Locations$Adaptivemttranslate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1422
+ adaptiveMtTranslate(params?: Params$Resource$Projects$Locations$Adaptivemttranslate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AdaptiveMtTranslateResponse>>;
1423
1423
  adaptiveMtTranslate(params: Params$Resource$Projects$Locations$Adaptivemttranslate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1424
1424
  adaptiveMtTranslate(params: Params$Resource$Projects$Locations$Adaptivemttranslate, options: MethodOptions | BodyResponseCallback<Schema$AdaptiveMtTranslateResponse>, callback: BodyResponseCallback<Schema$AdaptiveMtTranslateResponse>): void;
1425
1425
  adaptiveMtTranslate(params: Params$Resource$Projects$Locations$Adaptivemttranslate, callback: BodyResponseCallback<Schema$AdaptiveMtTranslateResponse>): void;
@@ -1432,8 +1432,8 @@ export declare namespace translate_v3 {
1432
1432
  * @param callback - Optional callback that handles the response.
1433
1433
  * @returns A promise if used with async/await, or void if used with a callback.
1434
1434
  */
1435
- batchTranslateDocument(params: Params$Resource$Projects$Locations$Batchtranslatedocument, options: StreamMethodOptions): GaxiosPromise<Readable>;
1436
- batchTranslateDocument(params?: Params$Resource$Projects$Locations$Batchtranslatedocument, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
1435
+ batchTranslateDocument(params: Params$Resource$Projects$Locations$Batchtranslatedocument, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1436
+ batchTranslateDocument(params?: Params$Resource$Projects$Locations$Batchtranslatedocument, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1437
1437
  batchTranslateDocument(params: Params$Resource$Projects$Locations$Batchtranslatedocument, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1438
1438
  batchTranslateDocument(params: Params$Resource$Projects$Locations$Batchtranslatedocument, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1439
1439
  batchTranslateDocument(params: Params$Resource$Projects$Locations$Batchtranslatedocument, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1446,8 +1446,8 @@ export declare namespace translate_v3 {
1446
1446
  * @param callback - Optional callback that handles the response.
1447
1447
  * @returns A promise if used with async/await, or void if used with a callback.
1448
1448
  */
1449
- batchTranslateText(params: Params$Resource$Projects$Locations$Batchtranslatetext, options: StreamMethodOptions): GaxiosPromise<Readable>;
1450
- batchTranslateText(params?: Params$Resource$Projects$Locations$Batchtranslatetext, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
1449
+ batchTranslateText(params: Params$Resource$Projects$Locations$Batchtranslatetext, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1450
+ batchTranslateText(params?: Params$Resource$Projects$Locations$Batchtranslatetext, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1451
1451
  batchTranslateText(params: Params$Resource$Projects$Locations$Batchtranslatetext, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1452
1452
  batchTranslateText(params: Params$Resource$Projects$Locations$Batchtranslatetext, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1453
1453
  batchTranslateText(params: Params$Resource$Projects$Locations$Batchtranslatetext, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1460,8 +1460,8 @@ export declare namespace translate_v3 {
1460
1460
  * @param callback - Optional callback that handles the response.
1461
1461
  * @returns A promise if used with async/await, or void if used with a callback.
1462
1462
  */
1463
- detectLanguage(params: Params$Resource$Projects$Locations$Detectlanguage, options: StreamMethodOptions): GaxiosPromise<Readable>;
1464
- detectLanguage(params?: Params$Resource$Projects$Locations$Detectlanguage, options?: MethodOptions): GaxiosPromise<Schema$DetectLanguageResponse>;
1463
+ detectLanguage(params: Params$Resource$Projects$Locations$Detectlanguage, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1464
+ detectLanguage(params?: Params$Resource$Projects$Locations$Detectlanguage, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$DetectLanguageResponse>>;
1465
1465
  detectLanguage(params: Params$Resource$Projects$Locations$Detectlanguage, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1466
1466
  detectLanguage(params: Params$Resource$Projects$Locations$Detectlanguage, options: MethodOptions | BodyResponseCallback<Schema$DetectLanguageResponse>, callback: BodyResponseCallback<Schema$DetectLanguageResponse>): void;
1467
1467
  detectLanguage(params: Params$Resource$Projects$Locations$Detectlanguage, callback: BodyResponseCallback<Schema$DetectLanguageResponse>): void;
@@ -1474,8 +1474,8 @@ export declare namespace translate_v3 {
1474
1474
  * @param callback - Optional callback that handles the response.
1475
1475
  * @returns A promise if used with async/await, or void if used with a callback.
1476
1476
  */
1477
- get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1478
- get(params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions): GaxiosPromise<Schema$Location>;
1477
+ get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1478
+ get(params?: Params$Resource$Projects$Locations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Location>>;
1479
1479
  get(params: Params$Resource$Projects$Locations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1480
1480
  get(params: Params$Resource$Projects$Locations$Get, options: MethodOptions | BodyResponseCallback<Schema$Location>, callback: BodyResponseCallback<Schema$Location>): void;
1481
1481
  get(params: Params$Resource$Projects$Locations$Get, callback: BodyResponseCallback<Schema$Location>): void;
@@ -1488,8 +1488,8 @@ export declare namespace translate_v3 {
1488
1488
  * @param callback - Optional callback that handles the response.
1489
1489
  * @returns A promise if used with async/await, or void if used with a callback.
1490
1490
  */
1491
- getSupportedLanguages(params: Params$Resource$Projects$Locations$Getsupportedlanguages, options: StreamMethodOptions): GaxiosPromise<Readable>;
1492
- getSupportedLanguages(params?: Params$Resource$Projects$Locations$Getsupportedlanguages, options?: MethodOptions): GaxiosPromise<Schema$SupportedLanguages>;
1491
+ getSupportedLanguages(params: Params$Resource$Projects$Locations$Getsupportedlanguages, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1492
+ getSupportedLanguages(params?: Params$Resource$Projects$Locations$Getsupportedlanguages, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$SupportedLanguages>>;
1493
1493
  getSupportedLanguages(params: Params$Resource$Projects$Locations$Getsupportedlanguages, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1494
1494
  getSupportedLanguages(params: Params$Resource$Projects$Locations$Getsupportedlanguages, options: MethodOptions | BodyResponseCallback<Schema$SupportedLanguages>, callback: BodyResponseCallback<Schema$SupportedLanguages>): void;
1495
1495
  getSupportedLanguages(params: Params$Resource$Projects$Locations$Getsupportedlanguages, callback: BodyResponseCallback<Schema$SupportedLanguages>): void;
@@ -1502,8 +1502,8 @@ export declare namespace translate_v3 {
1502
1502
  * @param callback - Optional callback that handles the response.
1503
1503
  * @returns A promise if used with async/await, or void if used with a callback.
1504
1504
  */
1505
- list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1506
- list(params?: Params$Resource$Projects$Locations$List, options?: MethodOptions): GaxiosPromise<Schema$ListLocationsResponse>;
1505
+ list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1506
+ list(params?: Params$Resource$Projects$Locations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListLocationsResponse>>;
1507
1507
  list(params: Params$Resource$Projects$Locations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1508
1508
  list(params: Params$Resource$Projects$Locations$List, options: MethodOptions | BodyResponseCallback<Schema$ListLocationsResponse>, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
1509
1509
  list(params: Params$Resource$Projects$Locations$List, callback: BodyResponseCallback<Schema$ListLocationsResponse>): void;
@@ -1516,8 +1516,8 @@ export declare namespace translate_v3 {
1516
1516
  * @param callback - Optional callback that handles the response.
1517
1517
  * @returns A promise if used with async/await, or void if used with a callback.
1518
1518
  */
1519
- romanizeText(params: Params$Resource$Projects$Locations$Romanizetext, options: StreamMethodOptions): GaxiosPromise<Readable>;
1520
- romanizeText(params?: Params$Resource$Projects$Locations$Romanizetext, options?: MethodOptions): GaxiosPromise<Schema$RomanizeTextResponse>;
1519
+ romanizeText(params: Params$Resource$Projects$Locations$Romanizetext, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1520
+ romanizeText(params?: Params$Resource$Projects$Locations$Romanizetext, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$RomanizeTextResponse>>;
1521
1521
  romanizeText(params: Params$Resource$Projects$Locations$Romanizetext, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1522
1522
  romanizeText(params: Params$Resource$Projects$Locations$Romanizetext, options: MethodOptions | BodyResponseCallback<Schema$RomanizeTextResponse>, callback: BodyResponseCallback<Schema$RomanizeTextResponse>): void;
1523
1523
  romanizeText(params: Params$Resource$Projects$Locations$Romanizetext, callback: BodyResponseCallback<Schema$RomanizeTextResponse>): void;
@@ -1530,8 +1530,8 @@ export declare namespace translate_v3 {
1530
1530
  * @param callback - Optional callback that handles the response.
1531
1531
  * @returns A promise if used with async/await, or void if used with a callback.
1532
1532
  */
1533
- translateDocument(params: Params$Resource$Projects$Locations$Translatedocument, options: StreamMethodOptions): GaxiosPromise<Readable>;
1534
- translateDocument(params?: Params$Resource$Projects$Locations$Translatedocument, options?: MethodOptions): GaxiosPromise<Schema$TranslateDocumentResponse>;
1533
+ translateDocument(params: Params$Resource$Projects$Locations$Translatedocument, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1534
+ translateDocument(params?: Params$Resource$Projects$Locations$Translatedocument, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TranslateDocumentResponse>>;
1535
1535
  translateDocument(params: Params$Resource$Projects$Locations$Translatedocument, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1536
1536
  translateDocument(params: Params$Resource$Projects$Locations$Translatedocument, options: MethodOptions | BodyResponseCallback<Schema$TranslateDocumentResponse>, callback: BodyResponseCallback<Schema$TranslateDocumentResponse>): void;
1537
1537
  translateDocument(params: Params$Resource$Projects$Locations$Translatedocument, callback: BodyResponseCallback<Schema$TranslateDocumentResponse>): void;
@@ -1544,8 +1544,8 @@ export declare namespace translate_v3 {
1544
1544
  * @param callback - Optional callback that handles the response.
1545
1545
  * @returns A promise if used with async/await, or void if used with a callback.
1546
1546
  */
1547
- translateText(params: Params$Resource$Projects$Locations$Translatetext, options: StreamMethodOptions): GaxiosPromise<Readable>;
1548
- translateText(params?: Params$Resource$Projects$Locations$Translatetext, options?: MethodOptions): GaxiosPromise<Schema$TranslateTextResponse>;
1547
+ translateText(params: Params$Resource$Projects$Locations$Translatetext, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1548
+ translateText(params?: Params$Resource$Projects$Locations$Translatetext, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TranslateTextResponse>>;
1549
1549
  translateText(params: Params$Resource$Projects$Locations$Translatetext, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1550
1550
  translateText(params: Params$Resource$Projects$Locations$Translatetext, options: MethodOptions | BodyResponseCallback<Schema$TranslateTextResponse>, callback: BodyResponseCallback<Schema$TranslateTextResponse>): void;
1551
1551
  translateText(params: Params$Resource$Projects$Locations$Translatetext, callback: BodyResponseCallback<Schema$TranslateTextResponse>): void;
@@ -1676,8 +1676,8 @@ export declare namespace translate_v3 {
1676
1676
  * @param callback - Optional callback that handles the response.
1677
1677
  * @returns A promise if used with async/await, or void if used with a callback.
1678
1678
  */
1679
- create(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
1680
- create(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options?: MethodOptions): GaxiosPromise<Schema$AdaptiveMtDataset>;
1679
+ create(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1680
+ create(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AdaptiveMtDataset>>;
1681
1681
  create(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1682
1682
  create(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options: MethodOptions | BodyResponseCallback<Schema$AdaptiveMtDataset>, callback: BodyResponseCallback<Schema$AdaptiveMtDataset>): void;
1683
1683
  create(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, callback: BodyResponseCallback<Schema$AdaptiveMtDataset>): void;
@@ -1690,8 +1690,8 @@ export declare namespace translate_v3 {
1690
1690
  * @param callback - Optional callback that handles the response.
1691
1691
  * @returns A promise if used with async/await, or void if used with a callback.
1692
1692
  */
1693
- delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1694
- delete(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
1693
+ delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1694
+ delete(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
1695
1695
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1696
1696
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
1697
1697
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -1704,8 +1704,8 @@ export declare namespace translate_v3 {
1704
1704
  * @param callback - Optional callback that handles the response.
1705
1705
  * @returns A promise if used with async/await, or void if used with a callback.
1706
1706
  */
1707
- get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1708
- get(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options?: MethodOptions): GaxiosPromise<Schema$AdaptiveMtDataset>;
1707
+ get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1708
+ get(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AdaptiveMtDataset>>;
1709
1709
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1710
1710
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options: MethodOptions | BodyResponseCallback<Schema$AdaptiveMtDataset>, callback: BodyResponseCallback<Schema$AdaptiveMtDataset>): void;
1711
1711
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, callback: BodyResponseCallback<Schema$AdaptiveMtDataset>): void;
@@ -1718,8 +1718,8 @@ export declare namespace translate_v3 {
1718
1718
  * @param callback - Optional callback that handles the response.
1719
1719
  * @returns A promise if used with async/await, or void if used with a callback.
1720
1720
  */
1721
- importAdaptiveMtFile(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options: StreamMethodOptions): GaxiosPromise<Readable>;
1722
- importAdaptiveMtFile(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options?: MethodOptions): GaxiosPromise<Schema$ImportAdaptiveMtFileResponse>;
1721
+ importAdaptiveMtFile(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1722
+ importAdaptiveMtFile(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ImportAdaptiveMtFileResponse>>;
1723
1723
  importAdaptiveMtFile(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1724
1724
  importAdaptiveMtFile(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options: MethodOptions | BodyResponseCallback<Schema$ImportAdaptiveMtFileResponse>, callback: BodyResponseCallback<Schema$ImportAdaptiveMtFileResponse>): void;
1725
1725
  importAdaptiveMtFile(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, callback: BodyResponseCallback<Schema$ImportAdaptiveMtFileResponse>): void;
@@ -1732,8 +1732,8 @@ export declare namespace translate_v3 {
1732
1732
  * @param callback - Optional callback that handles the response.
1733
1733
  * @returns A promise if used with async/await, or void if used with a callback.
1734
1734
  */
1735
- list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1736
- list(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options?: MethodOptions): GaxiosPromise<Schema$ListAdaptiveMtDatasetsResponse>;
1735
+ list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1736
+ list(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAdaptiveMtDatasetsResponse>>;
1737
1737
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1738
1738
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options: MethodOptions | BodyResponseCallback<Schema$ListAdaptiveMtDatasetsResponse>, callback: BodyResponseCallback<Schema$ListAdaptiveMtDatasetsResponse>): void;
1739
1739
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, callback: BodyResponseCallback<Schema$ListAdaptiveMtDatasetsResponse>): void;
@@ -1801,8 +1801,8 @@ export declare namespace translate_v3 {
1801
1801
  * @param callback - Optional callback that handles the response.
1802
1802
  * @returns A promise if used with async/await, or void if used with a callback.
1803
1803
  */
1804
- delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1805
- delete(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
1804
+ delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1805
+ delete(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
1806
1806
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1807
1807
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
1808
1808
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -1815,8 +1815,8 @@ export declare namespace translate_v3 {
1815
1815
  * @param callback - Optional callback that handles the response.
1816
1816
  * @returns A promise if used with async/await, or void if used with a callback.
1817
1817
  */
1818
- get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1819
- get(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options?: MethodOptions): GaxiosPromise<Schema$AdaptiveMtFile>;
1818
+ get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1819
+ get(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AdaptiveMtFile>>;
1820
1820
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1821
1821
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options: MethodOptions | BodyResponseCallback<Schema$AdaptiveMtFile>, callback: BodyResponseCallback<Schema$AdaptiveMtFile>): void;
1822
1822
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, callback: BodyResponseCallback<Schema$AdaptiveMtFile>): void;
@@ -1829,8 +1829,8 @@ export declare namespace translate_v3 {
1829
1829
  * @param callback - Optional callback that handles the response.
1830
1830
  * @returns A promise if used with async/await, or void if used with a callback.
1831
1831
  */
1832
- list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1833
- list(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options?: MethodOptions): GaxiosPromise<Schema$ListAdaptiveMtFilesResponse>;
1832
+ list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1833
+ list(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAdaptiveMtFilesResponse>>;
1834
1834
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1835
1835
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options: MethodOptions | BodyResponseCallback<Schema$ListAdaptiveMtFilesResponse>, callback: BodyResponseCallback<Schema$ListAdaptiveMtFilesResponse>): void;
1836
1836
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, callback: BodyResponseCallback<Schema$ListAdaptiveMtFilesResponse>): void;
@@ -1873,8 +1873,8 @@ export declare namespace translate_v3 {
1873
1873
  * @param callback - Optional callback that handles the response.
1874
1874
  * @returns A promise if used with async/await, or void if used with a callback.
1875
1875
  */
1876
- list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1877
- list(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options?: MethodOptions): GaxiosPromise<Schema$ListAdaptiveMtSentencesResponse>;
1876
+ list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1877
+ list(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAdaptiveMtSentencesResponse>>;
1878
1878
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1879
1879
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options: MethodOptions | BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>, callback: BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>): void;
1880
1880
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, callback: BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>): void;
@@ -1905,8 +1905,8 @@ export declare namespace translate_v3 {
1905
1905
  * @param callback - Optional callback that handles the response.
1906
1906
  * @returns A promise if used with async/await, or void if used with a callback.
1907
1907
  */
1908
- list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1909
- list(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options?: MethodOptions): GaxiosPromise<Schema$ListAdaptiveMtSentencesResponse>;
1908
+ list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1909
+ list(params?: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListAdaptiveMtSentencesResponse>>;
1910
1910
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1911
1911
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options: MethodOptions | BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>, callback: BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>): void;
1912
1912
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, callback: BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>): void;
@@ -1938,8 +1938,8 @@ export declare namespace translate_v3 {
1938
1938
  * @param callback - Optional callback that handles the response.
1939
1939
  * @returns A promise if used with async/await, or void if used with a callback.
1940
1940
  */
1941
- create(params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
1942
- create(params?: Params$Resource$Projects$Locations$Datasets$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
1941
+ create(params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1942
+ create(params?: Params$Resource$Projects$Locations$Datasets$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1943
1943
  create(params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1944
1944
  create(params: Params$Resource$Projects$Locations$Datasets$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1945
1945
  create(params: Params$Resource$Projects$Locations$Datasets$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1952,8 +1952,8 @@ export declare namespace translate_v3 {
1952
1952
  * @param callback - Optional callback that handles the response.
1953
1953
  * @returns A promise if used with async/await, or void if used with a callback.
1954
1954
  */
1955
- delete(params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1956
- delete(params?: Params$Resource$Projects$Locations$Datasets$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
1955
+ delete(params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1956
+ delete(params?: Params$Resource$Projects$Locations$Datasets$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1957
1957
  delete(params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1958
1958
  delete(params: Params$Resource$Projects$Locations$Datasets$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1959
1959
  delete(params: Params$Resource$Projects$Locations$Datasets$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1966,8 +1966,8 @@ export declare namespace translate_v3 {
1966
1966
  * @param callback - Optional callback that handles the response.
1967
1967
  * @returns A promise if used with async/await, or void if used with a callback.
1968
1968
  */
1969
- exportData(params: Params$Resource$Projects$Locations$Datasets$Exportdata, options: StreamMethodOptions): GaxiosPromise<Readable>;
1970
- exportData(params?: Params$Resource$Projects$Locations$Datasets$Exportdata, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
1969
+ exportData(params: Params$Resource$Projects$Locations$Datasets$Exportdata, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1970
+ exportData(params?: Params$Resource$Projects$Locations$Datasets$Exportdata, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1971
1971
  exportData(params: Params$Resource$Projects$Locations$Datasets$Exportdata, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1972
1972
  exportData(params: Params$Resource$Projects$Locations$Datasets$Exportdata, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1973
1973
  exportData(params: Params$Resource$Projects$Locations$Datasets$Exportdata, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1980,8 +1980,8 @@ export declare namespace translate_v3 {
1980
1980
  * @param callback - Optional callback that handles the response.
1981
1981
  * @returns A promise if used with async/await, or void if used with a callback.
1982
1982
  */
1983
- get(params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1984
- get(params?: Params$Resource$Projects$Locations$Datasets$Get, options?: MethodOptions): GaxiosPromise<Schema$Dataset>;
1983
+ get(params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1984
+ get(params?: Params$Resource$Projects$Locations$Datasets$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Dataset>>;
1985
1985
  get(params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1986
1986
  get(params: Params$Resource$Projects$Locations$Datasets$Get, options: MethodOptions | BodyResponseCallback<Schema$Dataset>, callback: BodyResponseCallback<Schema$Dataset>): void;
1987
1987
  get(params: Params$Resource$Projects$Locations$Datasets$Get, callback: BodyResponseCallback<Schema$Dataset>): void;
@@ -1994,8 +1994,8 @@ export declare namespace translate_v3 {
1994
1994
  * @param callback - Optional callback that handles the response.
1995
1995
  * @returns A promise if used with async/await, or void if used with a callback.
1996
1996
  */
1997
- importData(params: Params$Resource$Projects$Locations$Datasets$Importdata, options: StreamMethodOptions): GaxiosPromise<Readable>;
1998
- importData(params?: Params$Resource$Projects$Locations$Datasets$Importdata, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
1997
+ importData(params: Params$Resource$Projects$Locations$Datasets$Importdata, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
1998
+ importData(params?: Params$Resource$Projects$Locations$Datasets$Importdata, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
1999
1999
  importData(params: Params$Resource$Projects$Locations$Datasets$Importdata, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2000
2000
  importData(params: Params$Resource$Projects$Locations$Datasets$Importdata, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2001
2001
  importData(params: Params$Resource$Projects$Locations$Datasets$Importdata, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2008,8 +2008,8 @@ export declare namespace translate_v3 {
2008
2008
  * @param callback - Optional callback that handles the response.
2009
2009
  * @returns A promise if used with async/await, or void if used with a callback.
2010
2010
  */
2011
- list(params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2012
- list(params?: Params$Resource$Projects$Locations$Datasets$List, options?: MethodOptions): GaxiosPromise<Schema$ListDatasetsResponse>;
2011
+ list(params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2012
+ list(params?: Params$Resource$Projects$Locations$Datasets$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListDatasetsResponse>>;
2013
2013
  list(params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2014
2014
  list(params: Params$Resource$Projects$Locations$Datasets$List, options: MethodOptions | BodyResponseCallback<Schema$ListDatasetsResponse>, callback: BodyResponseCallback<Schema$ListDatasetsResponse>): void;
2015
2015
  list(params: Params$Resource$Projects$Locations$Datasets$List, callback: BodyResponseCallback<Schema$ListDatasetsResponse>): void;
@@ -2082,8 +2082,8 @@ export declare namespace translate_v3 {
2082
2082
  * @param callback - Optional callback that handles the response.
2083
2083
  * @returns A promise if used with async/await, or void if used with a callback.
2084
2084
  */
2085
- list(params: Params$Resource$Projects$Locations$Datasets$Examples$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2086
- list(params?: Params$Resource$Projects$Locations$Datasets$Examples$List, options?: MethodOptions): GaxiosPromise<Schema$ListExamplesResponse>;
2085
+ list(params: Params$Resource$Projects$Locations$Datasets$Examples$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2086
+ list(params?: Params$Resource$Projects$Locations$Datasets$Examples$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListExamplesResponse>>;
2087
2087
  list(params: Params$Resource$Projects$Locations$Datasets$Examples$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2088
2088
  list(params: Params$Resource$Projects$Locations$Datasets$Examples$List, options: MethodOptions | BodyResponseCallback<Schema$ListExamplesResponse>, callback: BodyResponseCallback<Schema$ListExamplesResponse>): void;
2089
2089
  list(params: Params$Resource$Projects$Locations$Datasets$Examples$List, callback: BodyResponseCallback<Schema$ListExamplesResponse>): void;
@@ -2119,8 +2119,8 @@ export declare namespace translate_v3 {
2119
2119
  * @param callback - Optional callback that handles the response.
2120
2120
  * @returns A promise if used with async/await, or void if used with a callback.
2121
2121
  */
2122
- create(params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2123
- create(params?: Params$Resource$Projects$Locations$Glossaries$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2122
+ create(params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2123
+ create(params?: Params$Resource$Projects$Locations$Glossaries$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2124
2124
  create(params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2125
2125
  create(params: Params$Resource$Projects$Locations$Glossaries$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2126
2126
  create(params: Params$Resource$Projects$Locations$Glossaries$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2133,8 +2133,8 @@ export declare namespace translate_v3 {
2133
2133
  * @param callback - Optional callback that handles the response.
2134
2134
  * @returns A promise if used with async/await, or void if used with a callback.
2135
2135
  */
2136
- delete(params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2137
- delete(params?: Params$Resource$Projects$Locations$Glossaries$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2136
+ delete(params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2137
+ delete(params?: Params$Resource$Projects$Locations$Glossaries$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2138
2138
  delete(params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2139
2139
  delete(params: Params$Resource$Projects$Locations$Glossaries$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2140
2140
  delete(params: Params$Resource$Projects$Locations$Glossaries$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2147,8 +2147,8 @@ export declare namespace translate_v3 {
2147
2147
  * @param callback - Optional callback that handles the response.
2148
2148
  * @returns A promise if used with async/await, or void if used with a callback.
2149
2149
  */
2150
- get(params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2151
- get(params?: Params$Resource$Projects$Locations$Glossaries$Get, options?: MethodOptions): GaxiosPromise<Schema$Glossary>;
2150
+ get(params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2151
+ get(params?: Params$Resource$Projects$Locations$Glossaries$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Glossary>>;
2152
2152
  get(params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2153
2153
  get(params: Params$Resource$Projects$Locations$Glossaries$Get, options: MethodOptions | BodyResponseCallback<Schema$Glossary>, callback: BodyResponseCallback<Schema$Glossary>): void;
2154
2154
  get(params: Params$Resource$Projects$Locations$Glossaries$Get, callback: BodyResponseCallback<Schema$Glossary>): void;
@@ -2161,8 +2161,8 @@ export declare namespace translate_v3 {
2161
2161
  * @param callback - Optional callback that handles the response.
2162
2162
  * @returns A promise if used with async/await, or void if used with a callback.
2163
2163
  */
2164
- list(params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2165
- list(params?: Params$Resource$Projects$Locations$Glossaries$List, options?: MethodOptions): GaxiosPromise<Schema$ListGlossariesResponse>;
2164
+ list(params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2165
+ list(params?: Params$Resource$Projects$Locations$Glossaries$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListGlossariesResponse>>;
2166
2166
  list(params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2167
2167
  list(params: Params$Resource$Projects$Locations$Glossaries$List, options: MethodOptions | BodyResponseCallback<Schema$ListGlossariesResponse>, callback: BodyResponseCallback<Schema$ListGlossariesResponse>): void;
2168
2168
  list(params: Params$Resource$Projects$Locations$Glossaries$List, callback: BodyResponseCallback<Schema$ListGlossariesResponse>): void;
@@ -2175,8 +2175,8 @@ export declare namespace translate_v3 {
2175
2175
  * @param callback - Optional callback that handles the response.
2176
2176
  * @returns A promise if used with async/await, or void if used with a callback.
2177
2177
  */
2178
- patch(params: Params$Resource$Projects$Locations$Glossaries$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2179
- patch(params?: Params$Resource$Projects$Locations$Glossaries$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2178
+ patch(params: Params$Resource$Projects$Locations$Glossaries$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2179
+ patch(params?: Params$Resource$Projects$Locations$Glossaries$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2180
2180
  patch(params: Params$Resource$Projects$Locations$Glossaries$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2181
2181
  patch(params: Params$Resource$Projects$Locations$Glossaries$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2182
2182
  patch(params: Params$Resource$Projects$Locations$Glossaries$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2247,8 +2247,8 @@ export declare namespace translate_v3 {
2247
2247
  * @param callback - Optional callback that handles the response.
2248
2248
  * @returns A promise if used with async/await, or void if used with a callback.
2249
2249
  */
2250
- create(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2251
- create(params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options?: MethodOptions): GaxiosPromise<Schema$GlossaryEntry>;
2250
+ create(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2251
+ create(params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GlossaryEntry>>;
2252
2252
  create(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2253
2253
  create(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options: MethodOptions | BodyResponseCallback<Schema$GlossaryEntry>, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
2254
2254
  create(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
@@ -2261,8 +2261,8 @@ export declare namespace translate_v3 {
2261
2261
  * @param callback - Optional callback that handles the response.
2262
2262
  * @returns A promise if used with async/await, or void if used with a callback.
2263
2263
  */
2264
- delete(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2265
- delete(params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
2264
+ delete(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2265
+ delete(params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2266
2266
  delete(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2267
2267
  delete(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2268
2268
  delete(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -2275,8 +2275,8 @@ export declare namespace translate_v3 {
2275
2275
  * @param callback - Optional callback that handles the response.
2276
2276
  * @returns A promise if used with async/await, or void if used with a callback.
2277
2277
  */
2278
- get(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2279
- get(params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options?: MethodOptions): GaxiosPromise<Schema$GlossaryEntry>;
2278
+ get(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2279
+ get(params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GlossaryEntry>>;
2280
2280
  get(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2281
2281
  get(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options: MethodOptions | BodyResponseCallback<Schema$GlossaryEntry>, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
2282
2282
  get(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
@@ -2289,8 +2289,8 @@ export declare namespace translate_v3 {
2289
2289
  * @param callback - Optional callback that handles the response.
2290
2290
  * @returns A promise if used with async/await, or void if used with a callback.
2291
2291
  */
2292
- list(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2293
- list(params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options?: MethodOptions): GaxiosPromise<Schema$ListGlossaryEntriesResponse>;
2292
+ list(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2293
+ list(params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListGlossaryEntriesResponse>>;
2294
2294
  list(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2295
2295
  list(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options: MethodOptions | BodyResponseCallback<Schema$ListGlossaryEntriesResponse>, callback: BodyResponseCallback<Schema$ListGlossaryEntriesResponse>): void;
2296
2296
  list(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, callback: BodyResponseCallback<Schema$ListGlossaryEntriesResponse>): void;
@@ -2303,8 +2303,8 @@ export declare namespace translate_v3 {
2303
2303
  * @param callback - Optional callback that handles the response.
2304
2304
  * @returns A promise if used with async/await, or void if used with a callback.
2305
2305
  */
2306
- patch(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2307
- patch(params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options?: MethodOptions): GaxiosPromise<Schema$GlossaryEntry>;
2306
+ patch(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2307
+ patch(params?: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GlossaryEntry>>;
2308
2308
  patch(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2309
2309
  patch(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options: MethodOptions | BodyResponseCallback<Schema$GlossaryEntry>, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
2310
2310
  patch(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
@@ -2367,8 +2367,8 @@ export declare namespace translate_v3 {
2367
2367
  * @param callback - Optional callback that handles the response.
2368
2368
  * @returns A promise if used with async/await, or void if used with a callback.
2369
2369
  */
2370
- create(params: Params$Resource$Projects$Locations$Models$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2371
- create(params?: Params$Resource$Projects$Locations$Models$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2370
+ create(params: Params$Resource$Projects$Locations$Models$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2371
+ create(params?: Params$Resource$Projects$Locations$Models$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2372
2372
  create(params: Params$Resource$Projects$Locations$Models$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2373
2373
  create(params: Params$Resource$Projects$Locations$Models$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2374
2374
  create(params: Params$Resource$Projects$Locations$Models$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2381,8 +2381,8 @@ export declare namespace translate_v3 {
2381
2381
  * @param callback - Optional callback that handles the response.
2382
2382
  * @returns A promise if used with async/await, or void if used with a callback.
2383
2383
  */
2384
- delete(params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2385
- delete(params?: Params$Resource$Projects$Locations$Models$Delete, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2384
+ delete(params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2385
+ delete(params?: Params$Resource$Projects$Locations$Models$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2386
2386
  delete(params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2387
2387
  delete(params: Params$Resource$Projects$Locations$Models$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2388
2388
  delete(params: Params$Resource$Projects$Locations$Models$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2395,8 +2395,8 @@ export declare namespace translate_v3 {
2395
2395
  * @param callback - Optional callback that handles the response.
2396
2396
  * @returns A promise if used with async/await, or void if used with a callback.
2397
2397
  */
2398
- get(params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2399
- get(params?: Params$Resource$Projects$Locations$Models$Get, options?: MethodOptions): GaxiosPromise<Schema$Model>;
2398
+ get(params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2399
+ get(params?: Params$Resource$Projects$Locations$Models$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Model>>;
2400
2400
  get(params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2401
2401
  get(params: Params$Resource$Projects$Locations$Models$Get, options: MethodOptions | BodyResponseCallback<Schema$Model>, callback: BodyResponseCallback<Schema$Model>): void;
2402
2402
  get(params: Params$Resource$Projects$Locations$Models$Get, callback: BodyResponseCallback<Schema$Model>): void;
@@ -2409,8 +2409,8 @@ export declare namespace translate_v3 {
2409
2409
  * @param callback - Optional callback that handles the response.
2410
2410
  * @returns A promise if used with async/await, or void if used with a callback.
2411
2411
  */
2412
- list(params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2413
- list(params?: Params$Resource$Projects$Locations$Models$List, options?: MethodOptions): GaxiosPromise<Schema$ListModelsResponse>;
2412
+ list(params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2413
+ list(params?: Params$Resource$Projects$Locations$Models$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListModelsResponse>>;
2414
2414
  list(params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2415
2415
  list(params: Params$Resource$Projects$Locations$Models$List, options: MethodOptions | BodyResponseCallback<Schema$ListModelsResponse>, callback: BodyResponseCallback<Schema$ListModelsResponse>): void;
2416
2416
  list(params: Params$Resource$Projects$Locations$Models$List, callback: BodyResponseCallback<Schema$ListModelsResponse>): void;
@@ -2467,8 +2467,8 @@ export declare namespace translate_v3 {
2467
2467
  * @param callback - Optional callback that handles the response.
2468
2468
  * @returns A promise if used with async/await, or void if used with a callback.
2469
2469
  */
2470
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
2471
- cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
2470
+ cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2471
+ cancel(params?: Params$Resource$Projects$Locations$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2472
2472
  cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2473
2473
  cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2474
2474
  cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -2481,8 +2481,8 @@ export declare namespace translate_v3 {
2481
2481
  * @param callback - Optional callback that handles the response.
2482
2482
  * @returns A promise if used with async/await, or void if used with a callback.
2483
2483
  */
2484
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2485
- delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
2484
+ delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2485
+ delete(params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2486
2486
  delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2487
2487
  delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2488
2488
  delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -2495,8 +2495,8 @@ export declare namespace translate_v3 {
2495
2495
  * @param callback - Optional callback that handles the response.
2496
2496
  * @returns A promise if used with async/await, or void if used with a callback.
2497
2497
  */
2498
- get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2499
- get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2498
+ get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2499
+ get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2500
2500
  get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2501
2501
  get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2502
2502
  get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2509,8 +2509,8 @@ export declare namespace translate_v3 {
2509
2509
  * @param callback - Optional callback that handles the response.
2510
2510
  * @returns A promise if used with async/await, or void if used with a callback.
2511
2511
  */
2512
- list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2513
- list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$ListOperationsResponse>;
2512
+ list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2513
+ list(params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
2514
2514
  list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2515
2515
  list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2516
2516
  list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
@@ -2523,8 +2523,8 @@ export declare namespace translate_v3 {
2523
2523
  * @param callback - Optional callback that handles the response.
2524
2524
  * @returns A promise if used with async/await, or void if used with a callback.
2525
2525
  */
2526
- wait(params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions): GaxiosPromise<Readable>;
2527
- wait(params?: Params$Resource$Projects$Locations$Operations$Wait, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
2526
+ wait(params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
2527
+ wait(params?: Params$Resource$Projects$Locations$Operations$Wait, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2528
2528
  wait(params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2529
2529
  wait(params: Params$Resource$Projects$Locations$Operations$Wait, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2530
2530
  wait(params: Params$Resource$Projects$Locations$Operations$Wait, callback: BodyResponseCallback<Schema$Operation>): void;