@@ -384,7 +384,7 @@ export class TranslationServiceClient {
384
384
// -- Service calls --
385
385
// -------------------
386
386
translateText (
387
- request : protos . google . cloud . translation . v3beta1 . ITranslateTextRequest ,
387
+ request ? : protos . google . cloud . translation . v3beta1 . ITranslateTextRequest ,
388
388
options ?: CallOptions
389
389
) : Promise <
390
390
[
@@ -493,7 +493,7 @@ export class TranslationServiceClient {
493
493
* const [response] = await client.translateText(request);
494
494
*/
495
495
translateText (
496
- request : protos . google . cloud . translation . v3beta1 . ITranslateTextRequest ,
496
+ request ? : protos . google . cloud . translation . v3beta1 . ITranslateTextRequest ,
497
497
optionsOrCallback ?:
498
498
| CallOptions
499
499
| Callback <
@@ -536,7 +536,7 @@ export class TranslationServiceClient {
536
536
return this . innerApiCalls . translateText ( request , options , callback ) ;
537
537
}
538
538
detectLanguage (
539
- request : protos . google . cloud . translation . v3beta1 . IDetectLanguageRequest ,
539
+ request ? : protos . google . cloud . translation . v3beta1 . IDetectLanguageRequest ,
540
540
options ?: CallOptions
541
541
) : Promise <
542
542
[
@@ -621,7 +621,7 @@ export class TranslationServiceClient {
621
621
* const [response] = await client.detectLanguage(request);
622
622
*/
623
623
detectLanguage (
624
- request : protos . google . cloud . translation . v3beta1 . IDetectLanguageRequest ,
624
+ request ? : protos . google . cloud . translation . v3beta1 . IDetectLanguageRequest ,
625
625
optionsOrCallback ?:
626
626
| CallOptions
627
627
| Callback <
@@ -667,7 +667,7 @@ export class TranslationServiceClient {
667
667
return this . innerApiCalls . detectLanguage ( request , options , callback ) ;
668
668
}
669
669
getSupportedLanguages (
670
- request : protos . google . cloud . translation . v3beta1 . IGetSupportedLanguagesRequest ,
670
+ request ? : protos . google . cloud . translation . v3beta1 . IGetSupportedLanguagesRequest ,
671
671
options ?: CallOptions
672
672
) : Promise <
673
673
[
@@ -749,7 +749,7 @@ export class TranslationServiceClient {
749
749
* const [response] = await client.getSupportedLanguages(request);
750
750
*/
751
751
getSupportedLanguages (
752
- request : protos . google . cloud . translation . v3beta1 . IGetSupportedLanguagesRequest ,
752
+ request ? : protos . google . cloud . translation . v3beta1 . IGetSupportedLanguagesRequest ,
753
753
optionsOrCallback ?:
754
754
| CallOptions
755
755
| Callback <
@@ -795,7 +795,7 @@ export class TranslationServiceClient {
795
795
return this . innerApiCalls . getSupportedLanguages ( request , options , callback ) ;
796
796
}
797
797
translateDocument (
798
- request : protos . google . cloud . translation . v3beta1 . ITranslateDocumentRequest ,
798
+ request ? : protos . google . cloud . translation . v3beta1 . ITranslateDocumentRequest ,
799
799
options ?: CallOptions
800
800
) : Promise <
801
801
[
@@ -904,7 +904,7 @@ export class TranslationServiceClient {
904
904
* const [response] = await client.translateDocument(request);
905
905
*/
906
906
translateDocument (
907
- request : protos . google . cloud . translation . v3beta1 . ITranslateDocumentRequest ,
907
+ request ? : protos . google . cloud . translation . v3beta1 . ITranslateDocumentRequest ,
908
908
optionsOrCallback ?:
909
909
| CallOptions
910
910
| Callback <
@@ -950,7 +950,7 @@ export class TranslationServiceClient {
950
950
return this . innerApiCalls . translateDocument ( request , options , callback ) ;
951
951
}
952
952
getGlossary (
953
- request : protos . google . cloud . translation . v3beta1 . IGetGlossaryRequest ,
953
+ request ? : protos . google . cloud . translation . v3beta1 . IGetGlossaryRequest ,
954
954
options ?: CallOptions
955
955
) : Promise <
956
956
[
@@ -999,7 +999,7 @@ export class TranslationServiceClient {
999
999
* const [response] = await client.getGlossary(request);
1000
1000
*/
1001
1001
getGlossary (
1002
- request : protos . google . cloud . translation . v3beta1 . IGetGlossaryRequest ,
1002
+ request ? : protos . google . cloud . translation . v3beta1 . IGetGlossaryRequest ,
1003
1003
optionsOrCallback ?:
1004
1004
| CallOptions
1005
1005
| Callback <
@@ -1043,7 +1043,7 @@ export class TranslationServiceClient {
1043
1043
}
1044
1044
1045
1045
batchTranslateText (
1046
- request : protos . google . cloud . translation . v3beta1 . IBatchTranslateTextRequest ,
1046
+ request ? : protos . google . cloud . translation . v3beta1 . IBatchTranslateTextRequest ,
1047
1047
options ?: CallOptions
1048
1048
) : Promise <
1049
1049
[
@@ -1155,7 +1155,7 @@ export class TranslationServiceClient {
1155
1155
* const [response] = await operation.promise();
1156
1156
*/
1157
1157
batchTranslateText (
1158
- request : protos . google . cloud . translation . v3beta1 . IBatchTranslateTextRequest ,
1158
+ request ? : protos . google . cloud . translation . v3beta1 . IBatchTranslateTextRequest ,
1159
1159
optionsOrCallback ?:
1160
1160
| CallOptions
1161
1161
| Callback <
@@ -1240,7 +1240,7 @@ export class TranslationServiceClient {
1240
1240
> ;
1241
1241
}
1242
1242
batchTranslateDocument (
1243
- request : protos . google . cloud . translation . v3beta1 . IBatchTranslateDocumentRequest ,
1243
+ request ? : protos . google . cloud . translation . v3beta1 . IBatchTranslateDocumentRequest ,
1244
1244
options ?: CallOptions
1245
1245
) : Promise <
1246
1246
[
@@ -1345,7 +1345,7 @@ export class TranslationServiceClient {
1345
1345
* const [response] = await operation.promise();
1346
1346
*/
1347
1347
batchTranslateDocument (
1348
- request : protos . google . cloud . translation . v3beta1 . IBatchTranslateDocumentRequest ,
1348
+ request ? : protos . google . cloud . translation . v3beta1 . IBatchTranslateDocumentRequest ,
1349
1349
optionsOrCallback ?:
1350
1350
| CallOptions
1351
1351
| Callback <
@@ -1434,7 +1434,7 @@ export class TranslationServiceClient {
1434
1434
> ;
1435
1435
}
1436
1436
createGlossary (
1437
- request : protos . google . cloud . translation . v3beta1 . ICreateGlossaryRequest ,
1437
+ request ? : protos . google . cloud . translation . v3beta1 . ICreateGlossaryRequest ,
1438
1438
options ?: CallOptions
1439
1439
) : Promise <
1440
1440
[
@@ -1493,7 +1493,7 @@ export class TranslationServiceClient {
1493
1493
* const [response] = await operation.promise();
1494
1494
*/
1495
1495
createGlossary (
1496
- request : protos . google . cloud . translation . v3beta1 . ICreateGlossaryRequest ,
1496
+ request ? : protos . google . cloud . translation . v3beta1 . ICreateGlossaryRequest ,
1497
1497
optionsOrCallback ?:
1498
1498
| CallOptions
1499
1499
| Callback <
@@ -1578,7 +1578,7 @@ export class TranslationServiceClient {
1578
1578
> ;
1579
1579
}
1580
1580
deleteGlossary (
1581
- request : protos . google . cloud . translation . v3beta1 . IDeleteGlossaryRequest ,
1581
+ request ? : protos . google . cloud . translation . v3beta1 . IDeleteGlossaryRequest ,
1582
1582
options ?: CallOptions
1583
1583
) : Promise <
1584
1584
[
@@ -1636,7 +1636,7 @@ export class TranslationServiceClient {
1636
1636
* const [response] = await operation.promise();
1637
1637
*/
1638
1638
deleteGlossary (
1639
- request : protos . google . cloud . translation . v3beta1 . IDeleteGlossaryRequest ,
1639
+ request ? : protos . google . cloud . translation . v3beta1 . IDeleteGlossaryRequest ,
1640
1640
optionsOrCallback ?:
1641
1641
| CallOptions
1642
1642
| Callback <
@@ -1721,7 +1721,7 @@ export class TranslationServiceClient {
1721
1721
> ;
1722
1722
}
1723
1723
listGlossaries (
1724
- request : protos . google . cloud . translation . v3beta1 . IListGlossariesRequest ,
1724
+ request ? : protos . google . cloud . translation . v3beta1 . IListGlossariesRequest ,
1725
1725
options ?: CallOptions
1726
1726
) : Promise <
1727
1727
[
@@ -1798,7 +1798,7 @@ export class TranslationServiceClient {
1798
1798
* for more details and examples.
1799
1799
*/
1800
1800
listGlossaries (
1801
- request : protos . google . cloud . translation . v3beta1 . IListGlossariesRequest ,
1801
+ request ? : protos . google . cloud . translation . v3beta1 . IListGlossariesRequest ,
1802
1802
optionsOrCallback ?:
1803
1803
| CallOptions
1804
1804
| PaginationCallback <
0 commit comments