@@ -384,7 +384,7 @@ export class TranslationServiceClient {
384384 // -- Service calls --
385385 // -------------------
386386 translateText (
387- request : protos . google . cloud . translation . v3beta1 . ITranslateTextRequest ,
387+ request ? : protos . google . cloud . translation . v3beta1 . ITranslateTextRequest ,
388388 options ?: CallOptions
389389 ) : Promise <
390390 [
@@ -493,7 +493,7 @@ export class TranslationServiceClient {
493493 * const [response] = await client.translateText(request);
494494 */
495495 translateText (
496- request : protos . google . cloud . translation . v3beta1 . ITranslateTextRequest ,
496+ request ? : protos . google . cloud . translation . v3beta1 . ITranslateTextRequest ,
497497 optionsOrCallback ?:
498498 | CallOptions
499499 | Callback <
@@ -536,7 +536,7 @@ export class TranslationServiceClient {
536536 return this . innerApiCalls . translateText ( request , options , callback ) ;
537537 }
538538 detectLanguage (
539- request : protos . google . cloud . translation . v3beta1 . IDetectLanguageRequest ,
539+ request ? : protos . google . cloud . translation . v3beta1 . IDetectLanguageRequest ,
540540 options ?: CallOptions
541541 ) : Promise <
542542 [
@@ -621,7 +621,7 @@ export class TranslationServiceClient {
621621 * const [response] = await client.detectLanguage(request);
622622 */
623623 detectLanguage (
624- request : protos . google . cloud . translation . v3beta1 . IDetectLanguageRequest ,
624+ request ? : protos . google . cloud . translation . v3beta1 . IDetectLanguageRequest ,
625625 optionsOrCallback ?:
626626 | CallOptions
627627 | Callback <
@@ -667,7 +667,7 @@ export class TranslationServiceClient {
667667 return this . innerApiCalls . detectLanguage ( request , options , callback ) ;
668668 }
669669 getSupportedLanguages (
670- request : protos . google . cloud . translation . v3beta1 . IGetSupportedLanguagesRequest ,
670+ request ? : protos . google . cloud . translation . v3beta1 . IGetSupportedLanguagesRequest ,
671671 options ?: CallOptions
672672 ) : Promise <
673673 [
@@ -749,7 +749,7 @@ export class TranslationServiceClient {
749749 * const [response] = await client.getSupportedLanguages(request);
750750 */
751751 getSupportedLanguages (
752- request : protos . google . cloud . translation . v3beta1 . IGetSupportedLanguagesRequest ,
752+ request ? : protos . google . cloud . translation . v3beta1 . IGetSupportedLanguagesRequest ,
753753 optionsOrCallback ?:
754754 | CallOptions
755755 | Callback <
@@ -795,7 +795,7 @@ export class TranslationServiceClient {
795795 return this . innerApiCalls . getSupportedLanguages ( request , options , callback ) ;
796796 }
797797 translateDocument (
798- request : protos . google . cloud . translation . v3beta1 . ITranslateDocumentRequest ,
798+ request ? : protos . google . cloud . translation . v3beta1 . ITranslateDocumentRequest ,
799799 options ?: CallOptions
800800 ) : Promise <
801801 [
@@ -904,7 +904,7 @@ export class TranslationServiceClient {
904904 * const [response] = await client.translateDocument(request);
905905 */
906906 translateDocument (
907- request : protos . google . cloud . translation . v3beta1 . ITranslateDocumentRequest ,
907+ request ? : protos . google . cloud . translation . v3beta1 . ITranslateDocumentRequest ,
908908 optionsOrCallback ?:
909909 | CallOptions
910910 | Callback <
@@ -950,7 +950,7 @@ export class TranslationServiceClient {
950950 return this . innerApiCalls . translateDocument ( request , options , callback ) ;
951951 }
952952 getGlossary (
953- request : protos . google . cloud . translation . v3beta1 . IGetGlossaryRequest ,
953+ request ? : protos . google . cloud . translation . v3beta1 . IGetGlossaryRequest ,
954954 options ?: CallOptions
955955 ) : Promise <
956956 [
@@ -999,7 +999,7 @@ export class TranslationServiceClient {
999999 * const [response] = await client.getGlossary(request);
10001000 */
10011001 getGlossary (
1002- request : protos . google . cloud . translation . v3beta1 . IGetGlossaryRequest ,
1002+ request ? : protos . google . cloud . translation . v3beta1 . IGetGlossaryRequest ,
10031003 optionsOrCallback ?:
10041004 | CallOptions
10051005 | Callback <
@@ -1043,7 +1043,7 @@ export class TranslationServiceClient {
10431043 }
10441044
10451045 batchTranslateText (
1046- request : protos . google . cloud . translation . v3beta1 . IBatchTranslateTextRequest ,
1046+ request ? : protos . google . cloud . translation . v3beta1 . IBatchTranslateTextRequest ,
10471047 options ?: CallOptions
10481048 ) : Promise <
10491049 [
@@ -1155,7 +1155,7 @@ export class TranslationServiceClient {
11551155 * const [response] = await operation.promise();
11561156 */
11571157 batchTranslateText (
1158- request : protos . google . cloud . translation . v3beta1 . IBatchTranslateTextRequest ,
1158+ request ? : protos . google . cloud . translation . v3beta1 . IBatchTranslateTextRequest ,
11591159 optionsOrCallback ?:
11601160 | CallOptions
11611161 | Callback <
@@ -1240,7 +1240,7 @@ export class TranslationServiceClient {
12401240 > ;
12411241 }
12421242 batchTranslateDocument (
1243- request : protos . google . cloud . translation . v3beta1 . IBatchTranslateDocumentRequest ,
1243+ request ? : protos . google . cloud . translation . v3beta1 . IBatchTranslateDocumentRequest ,
12441244 options ?: CallOptions
12451245 ) : Promise <
12461246 [
@@ -1345,7 +1345,7 @@ export class TranslationServiceClient {
13451345 * const [response] = await operation.promise();
13461346 */
13471347 batchTranslateDocument (
1348- request : protos . google . cloud . translation . v3beta1 . IBatchTranslateDocumentRequest ,
1348+ request ? : protos . google . cloud . translation . v3beta1 . IBatchTranslateDocumentRequest ,
13491349 optionsOrCallback ?:
13501350 | CallOptions
13511351 | Callback <
@@ -1434,7 +1434,7 @@ export class TranslationServiceClient {
14341434 > ;
14351435 }
14361436 createGlossary (
1437- request : protos . google . cloud . translation . v3beta1 . ICreateGlossaryRequest ,
1437+ request ? : protos . google . cloud . translation . v3beta1 . ICreateGlossaryRequest ,
14381438 options ?: CallOptions
14391439 ) : Promise <
14401440 [
@@ -1493,7 +1493,7 @@ export class TranslationServiceClient {
14931493 * const [response] = await operation.promise();
14941494 */
14951495 createGlossary (
1496- request : protos . google . cloud . translation . v3beta1 . ICreateGlossaryRequest ,
1496+ request ? : protos . google . cloud . translation . v3beta1 . ICreateGlossaryRequest ,
14971497 optionsOrCallback ?:
14981498 | CallOptions
14991499 | Callback <
@@ -1578,7 +1578,7 @@ export class TranslationServiceClient {
15781578 > ;
15791579 }
15801580 deleteGlossary (
1581- request : protos . google . cloud . translation . v3beta1 . IDeleteGlossaryRequest ,
1581+ request ? : protos . google . cloud . translation . v3beta1 . IDeleteGlossaryRequest ,
15821582 options ?: CallOptions
15831583 ) : Promise <
15841584 [
@@ -1636,7 +1636,7 @@ export class TranslationServiceClient {
16361636 * const [response] = await operation.promise();
16371637 */
16381638 deleteGlossary (
1639- request : protos . google . cloud . translation . v3beta1 . IDeleteGlossaryRequest ,
1639+ request ? : protos . google . cloud . translation . v3beta1 . IDeleteGlossaryRequest ,
16401640 optionsOrCallback ?:
16411641 | CallOptions
16421642 | Callback <
@@ -1721,7 +1721,7 @@ export class TranslationServiceClient {
17211721 > ;
17221722 }
17231723 listGlossaries (
1724- request : protos . google . cloud . translation . v3beta1 . IListGlossariesRequest ,
1724+ request ? : protos . google . cloud . translation . v3beta1 . IListGlossariesRequest ,
17251725 options ?: CallOptions
17261726 ) : Promise <
17271727 [
@@ -1798,7 +1798,7 @@ export class TranslationServiceClient {
17981798 * for more details and examples.
17991799 */
18001800 listGlossaries (
1801- request : protos . google . cloud . translation . v3beta1 . IListGlossariesRequest ,
1801+ request ? : protos . google . cloud . translation . v3beta1 . IListGlossariesRequest ,
18021802 optionsOrCallback ?:
18031803 | CallOptions
18041804 | PaginationCallback <
0 commit comments