@googleapis/translate 3.4.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;
@@ -1612,6 +1612,10 @@ export declare namespace translate_v3 {
1612
1612
  parent?: string;
1613
1613
  }
1614
1614
  export interface Params$Resource$Projects$Locations$List extends StandardParameters {
1615
+ /**
1616
+ * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
1617
+ */
1618
+ extraLocationTypes?: string[];
1615
1619
  /**
1616
1620
  * 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).
1617
1621
  */
@@ -1672,8 +1676,8 @@ export declare namespace translate_v3 {
1672
1676
  * @param callback - Optional callback that handles the response.
1673
1677
  * @returns A promise if used with async/await, or void if used with a callback.
1674
1678
  */
1675
- create(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
1676
- 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>>;
1677
1681
  create(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1678
1682
  create(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, options: MethodOptions | BodyResponseCallback<Schema$AdaptiveMtDataset>, callback: BodyResponseCallback<Schema$AdaptiveMtDataset>): void;
1679
1683
  create(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Create, callback: BodyResponseCallback<Schema$AdaptiveMtDataset>): void;
@@ -1686,8 +1690,8 @@ export declare namespace translate_v3 {
1686
1690
  * @param callback - Optional callback that handles the response.
1687
1691
  * @returns A promise if used with async/await, or void if used with a callback.
1688
1692
  */
1689
- delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1690
- 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>>;
1691
1695
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1692
1696
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
1693
1697
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -1700,8 +1704,8 @@ export declare namespace translate_v3 {
1700
1704
  * @param callback - Optional callback that handles the response.
1701
1705
  * @returns A promise if used with async/await, or void if used with a callback.
1702
1706
  */
1703
- get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1704
- 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>>;
1705
1709
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1706
1710
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, options: MethodOptions | BodyResponseCallback<Schema$AdaptiveMtDataset>, callback: BodyResponseCallback<Schema$AdaptiveMtDataset>): void;
1707
1711
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Get, callback: BodyResponseCallback<Schema$AdaptiveMtDataset>): void;
@@ -1714,8 +1718,8 @@ export declare namespace translate_v3 {
1714
1718
  * @param callback - Optional callback that handles the response.
1715
1719
  * @returns A promise if used with async/await, or void if used with a callback.
1716
1720
  */
1717
- importAdaptiveMtFile(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options: StreamMethodOptions): GaxiosPromise<Readable>;
1718
- 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>>;
1719
1723
  importAdaptiveMtFile(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1720
1724
  importAdaptiveMtFile(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, options: MethodOptions | BodyResponseCallback<Schema$ImportAdaptiveMtFileResponse>, callback: BodyResponseCallback<Schema$ImportAdaptiveMtFileResponse>): void;
1721
1725
  importAdaptiveMtFile(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile, callback: BodyResponseCallback<Schema$ImportAdaptiveMtFileResponse>): void;
@@ -1728,8 +1732,8 @@ export declare namespace translate_v3 {
1728
1732
  * @param callback - Optional callback that handles the response.
1729
1733
  * @returns A promise if used with async/await, or void if used with a callback.
1730
1734
  */
1731
- list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1732
- 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>>;
1733
1737
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1734
1738
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, options: MethodOptions | BodyResponseCallback<Schema$ListAdaptiveMtDatasetsResponse>, callback: BodyResponseCallback<Schema$ListAdaptiveMtDatasetsResponse>): void;
1735
1739
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$List, callback: BodyResponseCallback<Schema$ListAdaptiveMtDatasetsResponse>): void;
@@ -1797,8 +1801,8 @@ export declare namespace translate_v3 {
1797
1801
  * @param callback - Optional callback that handles the response.
1798
1802
  * @returns A promise if used with async/await, or void if used with a callback.
1799
1803
  */
1800
- delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1801
- 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>>;
1802
1806
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1803
1807
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
1804
1808
  delete(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -1811,8 +1815,8 @@ export declare namespace translate_v3 {
1811
1815
  * @param callback - Optional callback that handles the response.
1812
1816
  * @returns A promise if used with async/await, or void if used with a callback.
1813
1817
  */
1814
- get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1815
- 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>>;
1816
1820
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1817
1821
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, options: MethodOptions | BodyResponseCallback<Schema$AdaptiveMtFile>, callback: BodyResponseCallback<Schema$AdaptiveMtFile>): void;
1818
1822
  get(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get, callback: BodyResponseCallback<Schema$AdaptiveMtFile>): void;
@@ -1825,8 +1829,8 @@ export declare namespace translate_v3 {
1825
1829
  * @param callback - Optional callback that handles the response.
1826
1830
  * @returns A promise if used with async/await, or void if used with a callback.
1827
1831
  */
1828
- list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1829
- 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>>;
1830
1834
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1831
1835
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, options: MethodOptions | BodyResponseCallback<Schema$ListAdaptiveMtFilesResponse>, callback: BodyResponseCallback<Schema$ListAdaptiveMtFilesResponse>): void;
1832
1836
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List, callback: BodyResponseCallback<Schema$ListAdaptiveMtFilesResponse>): void;
@@ -1869,8 +1873,8 @@ export declare namespace translate_v3 {
1869
1873
  * @param callback - Optional callback that handles the response.
1870
1874
  * @returns A promise if used with async/await, or void if used with a callback.
1871
1875
  */
1872
- list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1873
- 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>>;
1874
1878
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1875
1879
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, options: MethodOptions | BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>, callback: BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>): void;
1876
1880
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List, callback: BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>): void;
@@ -1901,8 +1905,8 @@ export declare namespace translate_v3 {
1901
1905
  * @param callback - Optional callback that handles the response.
1902
1906
  * @returns A promise if used with async/await, or void if used with a callback.
1903
1907
  */
1904
- list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
1905
- 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>>;
1906
1910
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1907
1911
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, options: MethodOptions | BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>, callback: BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>): void;
1908
1912
  list(params: Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List, callback: BodyResponseCallback<Schema$ListAdaptiveMtSentencesResponse>): void;
@@ -1934,8 +1938,8 @@ export declare namespace translate_v3 {
1934
1938
  * @param callback - Optional callback that handles the response.
1935
1939
  * @returns A promise if used with async/await, or void if used with a callback.
1936
1940
  */
1937
- create(params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
1938
- 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>>;
1939
1943
  create(params: Params$Resource$Projects$Locations$Datasets$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1940
1944
  create(params: Params$Resource$Projects$Locations$Datasets$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1941
1945
  create(params: Params$Resource$Projects$Locations$Datasets$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1948,8 +1952,8 @@ export declare namespace translate_v3 {
1948
1952
  * @param callback - Optional callback that handles the response.
1949
1953
  * @returns A promise if used with async/await, or void if used with a callback.
1950
1954
  */
1951
- delete(params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
1952
- 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>>;
1953
1957
  delete(params: Params$Resource$Projects$Locations$Datasets$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1954
1958
  delete(params: Params$Resource$Projects$Locations$Datasets$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1955
1959
  delete(params: Params$Resource$Projects$Locations$Datasets$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1962,8 +1966,8 @@ export declare namespace translate_v3 {
1962
1966
  * @param callback - Optional callback that handles the response.
1963
1967
  * @returns A promise if used with async/await, or void if used with a callback.
1964
1968
  */
1965
- exportData(params: Params$Resource$Projects$Locations$Datasets$Exportdata, options: StreamMethodOptions): GaxiosPromise<Readable>;
1966
- 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>>;
1967
1971
  exportData(params: Params$Resource$Projects$Locations$Datasets$Exportdata, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1968
1972
  exportData(params: Params$Resource$Projects$Locations$Datasets$Exportdata, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1969
1973
  exportData(params: Params$Resource$Projects$Locations$Datasets$Exportdata, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -1976,8 +1980,8 @@ export declare namespace translate_v3 {
1976
1980
  * @param callback - Optional callback that handles the response.
1977
1981
  * @returns A promise if used with async/await, or void if used with a callback.
1978
1982
  */
1979
- get(params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
1980
- 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>>;
1981
1985
  get(params: Params$Resource$Projects$Locations$Datasets$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1982
1986
  get(params: Params$Resource$Projects$Locations$Datasets$Get, options: MethodOptions | BodyResponseCallback<Schema$Dataset>, callback: BodyResponseCallback<Schema$Dataset>): void;
1983
1987
  get(params: Params$Resource$Projects$Locations$Datasets$Get, callback: BodyResponseCallback<Schema$Dataset>): void;
@@ -1990,8 +1994,8 @@ export declare namespace translate_v3 {
1990
1994
  * @param callback - Optional callback that handles the response.
1991
1995
  * @returns A promise if used with async/await, or void if used with a callback.
1992
1996
  */
1993
- importData(params: Params$Resource$Projects$Locations$Datasets$Importdata, options: StreamMethodOptions): GaxiosPromise<Readable>;
1994
- 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>>;
1995
1999
  importData(params: Params$Resource$Projects$Locations$Datasets$Importdata, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
1996
2000
  importData(params: Params$Resource$Projects$Locations$Datasets$Importdata, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
1997
2001
  importData(params: Params$Resource$Projects$Locations$Datasets$Importdata, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2004,8 +2008,8 @@ export declare namespace translate_v3 {
2004
2008
  * @param callback - Optional callback that handles the response.
2005
2009
  * @returns A promise if used with async/await, or void if used with a callback.
2006
2010
  */
2007
- list(params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2008
- 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>>;
2009
2013
  list(params: Params$Resource$Projects$Locations$Datasets$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2010
2014
  list(params: Params$Resource$Projects$Locations$Datasets$List, options: MethodOptions | BodyResponseCallback<Schema$ListDatasetsResponse>, callback: BodyResponseCallback<Schema$ListDatasetsResponse>): void;
2011
2015
  list(params: Params$Resource$Projects$Locations$Datasets$List, callback: BodyResponseCallback<Schema$ListDatasetsResponse>): void;
@@ -2078,8 +2082,8 @@ export declare namespace translate_v3 {
2078
2082
  * @param callback - Optional callback that handles the response.
2079
2083
  * @returns A promise if used with async/await, or void if used with a callback.
2080
2084
  */
2081
- list(params: Params$Resource$Projects$Locations$Datasets$Examples$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2082
- 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>>;
2083
2087
  list(params: Params$Resource$Projects$Locations$Datasets$Examples$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2084
2088
  list(params: Params$Resource$Projects$Locations$Datasets$Examples$List, options: MethodOptions | BodyResponseCallback<Schema$ListExamplesResponse>, callback: BodyResponseCallback<Schema$ListExamplesResponse>): void;
2085
2089
  list(params: Params$Resource$Projects$Locations$Datasets$Examples$List, callback: BodyResponseCallback<Schema$ListExamplesResponse>): void;
@@ -2115,8 +2119,8 @@ export declare namespace translate_v3 {
2115
2119
  * @param callback - Optional callback that handles the response.
2116
2120
  * @returns A promise if used with async/await, or void if used with a callback.
2117
2121
  */
2118
- create(params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2119
- 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>>;
2120
2124
  create(params: Params$Resource$Projects$Locations$Glossaries$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2121
2125
  create(params: Params$Resource$Projects$Locations$Glossaries$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2122
2126
  create(params: Params$Resource$Projects$Locations$Glossaries$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2129,8 +2133,8 @@ export declare namespace translate_v3 {
2129
2133
  * @param callback - Optional callback that handles the response.
2130
2134
  * @returns A promise if used with async/await, or void if used with a callback.
2131
2135
  */
2132
- delete(params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2133
- 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>>;
2134
2138
  delete(params: Params$Resource$Projects$Locations$Glossaries$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2135
2139
  delete(params: Params$Resource$Projects$Locations$Glossaries$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2136
2140
  delete(params: Params$Resource$Projects$Locations$Glossaries$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2143,8 +2147,8 @@ export declare namespace translate_v3 {
2143
2147
  * @param callback - Optional callback that handles the response.
2144
2148
  * @returns A promise if used with async/await, or void if used with a callback.
2145
2149
  */
2146
- get(params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2147
- 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>>;
2148
2152
  get(params: Params$Resource$Projects$Locations$Glossaries$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2149
2153
  get(params: Params$Resource$Projects$Locations$Glossaries$Get, options: MethodOptions | BodyResponseCallback<Schema$Glossary>, callback: BodyResponseCallback<Schema$Glossary>): void;
2150
2154
  get(params: Params$Resource$Projects$Locations$Glossaries$Get, callback: BodyResponseCallback<Schema$Glossary>): void;
@@ -2157,8 +2161,8 @@ export declare namespace translate_v3 {
2157
2161
  * @param callback - Optional callback that handles the response.
2158
2162
  * @returns A promise if used with async/await, or void if used with a callback.
2159
2163
  */
2160
- list(params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2161
- 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>>;
2162
2166
  list(params: Params$Resource$Projects$Locations$Glossaries$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2163
2167
  list(params: Params$Resource$Projects$Locations$Glossaries$List, options: MethodOptions | BodyResponseCallback<Schema$ListGlossariesResponse>, callback: BodyResponseCallback<Schema$ListGlossariesResponse>): void;
2164
2168
  list(params: Params$Resource$Projects$Locations$Glossaries$List, callback: BodyResponseCallback<Schema$ListGlossariesResponse>): void;
@@ -2171,8 +2175,8 @@ export declare namespace translate_v3 {
2171
2175
  * @param callback - Optional callback that handles the response.
2172
2176
  * @returns A promise if used with async/await, or void if used with a callback.
2173
2177
  */
2174
- patch(params: Params$Resource$Projects$Locations$Glossaries$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2175
- 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>>;
2176
2180
  patch(params: Params$Resource$Projects$Locations$Glossaries$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2177
2181
  patch(params: Params$Resource$Projects$Locations$Glossaries$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2178
2182
  patch(params: Params$Resource$Projects$Locations$Glossaries$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2243,8 +2247,8 @@ export declare namespace translate_v3 {
2243
2247
  * @param callback - Optional callback that handles the response.
2244
2248
  * @returns A promise if used with async/await, or void if used with a callback.
2245
2249
  */
2246
- create(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2247
- 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>>;
2248
2252
  create(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2249
2253
  create(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, options: MethodOptions | BodyResponseCallback<Schema$GlossaryEntry>, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
2250
2254
  create(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
@@ -2257,8 +2261,8 @@ export declare namespace translate_v3 {
2257
2261
  * @param callback - Optional callback that handles the response.
2258
2262
  * @returns A promise if used with async/await, or void if used with a callback.
2259
2263
  */
2260
- delete(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2261
- 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>>;
2262
2266
  delete(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2263
2267
  delete(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2264
2268
  delete(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -2271,8 +2275,8 @@ export declare namespace translate_v3 {
2271
2275
  * @param callback - Optional callback that handles the response.
2272
2276
  * @returns A promise if used with async/await, or void if used with a callback.
2273
2277
  */
2274
- get(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2275
- 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>>;
2276
2280
  get(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2277
2281
  get(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, options: MethodOptions | BodyResponseCallback<Schema$GlossaryEntry>, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
2278
2282
  get(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
@@ -2285,8 +2289,8 @@ export declare namespace translate_v3 {
2285
2289
  * @param callback - Optional callback that handles the response.
2286
2290
  * @returns A promise if used with async/await, or void if used with a callback.
2287
2291
  */
2288
- list(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2289
- 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>>;
2290
2294
  list(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2291
2295
  list(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, options: MethodOptions | BodyResponseCallback<Schema$ListGlossaryEntriesResponse>, callback: BodyResponseCallback<Schema$ListGlossaryEntriesResponse>): void;
2292
2296
  list(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List, callback: BodyResponseCallback<Schema$ListGlossaryEntriesResponse>): void;
@@ -2299,8 +2303,8 @@ export declare namespace translate_v3 {
2299
2303
  * @param callback - Optional callback that handles the response.
2300
2304
  * @returns A promise if used with async/await, or void if used with a callback.
2301
2305
  */
2302
- patch(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2303
- 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>>;
2304
2308
  patch(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2305
2309
  patch(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, options: MethodOptions | BodyResponseCallback<Schema$GlossaryEntry>, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
2306
2310
  patch(params: Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch, callback: BodyResponseCallback<Schema$GlossaryEntry>): void;
@@ -2363,8 +2367,8 @@ export declare namespace translate_v3 {
2363
2367
  * @param callback - Optional callback that handles the response.
2364
2368
  * @returns A promise if used with async/await, or void if used with a callback.
2365
2369
  */
2366
- create(params: Params$Resource$Projects$Locations$Models$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2367
- 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>>;
2368
2372
  create(params: Params$Resource$Projects$Locations$Models$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2369
2373
  create(params: Params$Resource$Projects$Locations$Models$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2370
2374
  create(params: Params$Resource$Projects$Locations$Models$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2377,8 +2381,8 @@ export declare namespace translate_v3 {
2377
2381
  * @param callback - Optional callback that handles the response.
2378
2382
  * @returns A promise if used with async/await, or void if used with a callback.
2379
2383
  */
2380
- delete(params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2381
- 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>>;
2382
2386
  delete(params: Params$Resource$Projects$Locations$Models$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2383
2387
  delete(params: Params$Resource$Projects$Locations$Models$Delete, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2384
2388
  delete(params: Params$Resource$Projects$Locations$Models$Delete, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2391,8 +2395,8 @@ export declare namespace translate_v3 {
2391
2395
  * @param callback - Optional callback that handles the response.
2392
2396
  * @returns A promise if used with async/await, or void if used with a callback.
2393
2397
  */
2394
- get(params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2395
- 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>>;
2396
2400
  get(params: Params$Resource$Projects$Locations$Models$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2397
2401
  get(params: Params$Resource$Projects$Locations$Models$Get, options: MethodOptions | BodyResponseCallback<Schema$Model>, callback: BodyResponseCallback<Schema$Model>): void;
2398
2402
  get(params: Params$Resource$Projects$Locations$Models$Get, callback: BodyResponseCallback<Schema$Model>): void;
@@ -2405,8 +2409,8 @@ export declare namespace translate_v3 {
2405
2409
  * @param callback - Optional callback that handles the response.
2406
2410
  * @returns A promise if used with async/await, or void if used with a callback.
2407
2411
  */
2408
- list(params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2409
- 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>>;
2410
2414
  list(params: Params$Resource$Projects$Locations$Models$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2411
2415
  list(params: Params$Resource$Projects$Locations$Models$List, options: MethodOptions | BodyResponseCallback<Schema$ListModelsResponse>, callback: BodyResponseCallback<Schema$ListModelsResponse>): void;
2412
2416
  list(params: Params$Resource$Projects$Locations$Models$List, callback: BodyResponseCallback<Schema$ListModelsResponse>): void;
@@ -2463,8 +2467,8 @@ export declare namespace translate_v3 {
2463
2467
  * @param callback - Optional callback that handles the response.
2464
2468
  * @returns A promise if used with async/await, or void if used with a callback.
2465
2469
  */
2466
- cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
2467
- 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>>;
2468
2472
  cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2469
2473
  cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2470
2474
  cancel(params: Params$Resource$Projects$Locations$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -2477,8 +2481,8 @@ export declare namespace translate_v3 {
2477
2481
  * @param callback - Optional callback that handles the response.
2478
2482
  * @returns A promise if used with async/await, or void if used with a callback.
2479
2483
  */
2480
- delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2481
- 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>>;
2482
2486
  delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2483
2487
  delete(params: Params$Resource$Projects$Locations$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2484
2488
  delete(params: Params$Resource$Projects$Locations$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -2491,8 +2495,8 @@ export declare namespace translate_v3 {
2491
2495
  * @param callback - Optional callback that handles the response.
2492
2496
  * @returns A promise if used with async/await, or void if used with a callback.
2493
2497
  */
2494
- get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2495
- 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>>;
2496
2500
  get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2497
2501
  get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2498
2502
  get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2505,8 +2509,8 @@ export declare namespace translate_v3 {
2505
2509
  * @param callback - Optional callback that handles the response.
2506
2510
  * @returns A promise if used with async/await, or void if used with a callback.
2507
2511
  */
2508
- list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2509
- 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>>;
2510
2514
  list(params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2511
2515
  list(params: Params$Resource$Projects$Locations$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
2512
2516
  list(params: Params$Resource$Projects$Locations$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
@@ -2519,8 +2523,8 @@ export declare namespace translate_v3 {
2519
2523
  * @param callback - Optional callback that handles the response.
2520
2524
  * @returns A promise if used with async/await, or void if used with a callback.
2521
2525
  */
2522
- wait(params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions): GaxiosPromise<Readable>;
2523
- 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>>;
2524
2528
  wait(params: Params$Resource$Projects$Locations$Operations$Wait, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2525
2529
  wait(params: Params$Resource$Projects$Locations$Operations$Wait, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2526
2530
  wait(params: Params$Resource$Projects$Locations$Operations$Wait, callback: BodyResponseCallback<Schema$Operation>): void;