@googleapis/translate 5.0.1 → 7.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/v3.ts CHANGED
@@ -1944,8 +1944,7 @@ export namespace translate_v3 {
1944
1944
  }
1945
1945
  }
1946
1946
 
1947
- export interface Params$Resource$Projects$Detectlanguage
1948
- extends StandardParameters {
1947
+ export interface Params$Resource$Projects$Detectlanguage extends StandardParameters {
1949
1948
  /**
1950
1949
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}` or `projects/{project-number-or-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.
1951
1950
  */
@@ -1956,8 +1955,7 @@ export namespace translate_v3 {
1956
1955
  */
1957
1956
  requestBody?: Schema$DetectLanguageRequest;
1958
1957
  }
1959
- export interface Params$Resource$Projects$Getsupportedlanguages
1960
- extends StandardParameters {
1958
+ export interface Params$Resource$Projects$Getsupportedlanguages extends StandardParameters {
1961
1959
  /**
1962
1960
  * Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.
1963
1961
  */
@@ -1971,8 +1969,7 @@ export namespace translate_v3 {
1971
1969
  */
1972
1970
  parent?: string;
1973
1971
  }
1974
- export interface Params$Resource$Projects$Romanizetext
1975
- extends StandardParameters {
1972
+ export interface Params$Resource$Projects$Romanizetext extends StandardParameters {
1976
1973
  /**
1977
1974
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}` or `projects/{project-number-or-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`.
1978
1975
  */
@@ -1983,8 +1980,7 @@ export namespace translate_v3 {
1983
1980
  */
1984
1981
  requestBody?: Schema$RomanizeTextRequest;
1985
1982
  }
1986
- export interface Params$Resource$Projects$Translatetext
1987
- extends StandardParameters {
1983
+ export interface Params$Resource$Projects$Translatetext extends StandardParameters {
1988
1984
  /**
1989
1985
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}` or `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
1990
1986
  */
@@ -3568,8 +3564,7 @@ export namespace translate_v3 {
3568
3564
  }
3569
3565
  }
3570
3566
 
3571
- export interface Params$Resource$Projects$Locations$Adaptivemttranslate
3572
- extends StandardParameters {
3567
+ export interface Params$Resource$Projects$Locations$Adaptivemttranslate extends StandardParameters {
3573
3568
  /**
3574
3569
  * Required. Location to make a regional call. Format: `projects/{project-number-or-id\}/locations/{location-id\}`.
3575
3570
  */
@@ -3580,8 +3575,7 @@ export namespace translate_v3 {
3580
3575
  */
3581
3576
  requestBody?: Schema$AdaptiveMtTranslateRequest;
3582
3577
  }
3583
- export interface Params$Resource$Projects$Locations$Batchtranslatedocument
3584
- extends StandardParameters {
3578
+ export interface Params$Resource$Projects$Locations$Batchtranslatedocument extends StandardParameters {
3585
3579
  /**
3586
3580
  * Required. Location to make a regional call. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.
3587
3581
  */
@@ -3592,8 +3586,7 @@ export namespace translate_v3 {
3592
3586
  */
3593
3587
  requestBody?: Schema$BatchTranslateDocumentRequest;
3594
3588
  }
3595
- export interface Params$Resource$Projects$Locations$Batchtranslatetext
3596
- extends StandardParameters {
3589
+ export interface Params$Resource$Projects$Locations$Batchtranslatetext extends StandardParameters {
3597
3590
  /**
3598
3591
  * Required. Location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.
3599
3592
  */
@@ -3604,8 +3597,7 @@ export namespace translate_v3 {
3604
3597
  */
3605
3598
  requestBody?: Schema$BatchTranslateTextRequest;
3606
3599
  }
3607
- export interface Params$Resource$Projects$Locations$Detectlanguage
3608
- extends StandardParameters {
3600
+ export interface Params$Resource$Projects$Locations$Detectlanguage extends StandardParameters {
3609
3601
  /**
3610
3602
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}` or `projects/{project-number-or-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.
3611
3603
  */
@@ -3616,15 +3608,13 @@ export namespace translate_v3 {
3616
3608
  */
3617
3609
  requestBody?: Schema$DetectLanguageRequest;
3618
3610
  }
3619
- export interface Params$Resource$Projects$Locations$Get
3620
- extends StandardParameters {
3611
+ export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
3621
3612
  /**
3622
3613
  * Resource name for the location.
3623
3614
  */
3624
3615
  name?: string;
3625
3616
  }
3626
- export interface Params$Resource$Projects$Locations$Getsupportedlanguages
3627
- extends StandardParameters {
3617
+ export interface Params$Resource$Projects$Locations$Getsupportedlanguages extends StandardParameters {
3628
3618
  /**
3629
3619
  * Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.
3630
3620
  */
@@ -3638,8 +3628,7 @@ export namespace translate_v3 {
3638
3628
  */
3639
3629
  parent?: string;
3640
3630
  }
3641
- export interface Params$Resource$Projects$Locations$List
3642
- extends StandardParameters {
3631
+ export interface Params$Resource$Projects$Locations$List extends StandardParameters {
3643
3632
  /**
3644
3633
  * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
3645
3634
  */
@@ -3661,8 +3650,7 @@ export namespace translate_v3 {
3661
3650
  */
3662
3651
  pageToken?: string;
3663
3652
  }
3664
- export interface Params$Resource$Projects$Locations$Romanizetext
3665
- extends StandardParameters {
3653
+ export interface Params$Resource$Projects$Locations$Romanizetext extends StandardParameters {
3666
3654
  /**
3667
3655
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}` or `projects/{project-number-or-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`.
3668
3656
  */
@@ -3673,8 +3661,7 @@ export namespace translate_v3 {
3673
3661
  */
3674
3662
  requestBody?: Schema$RomanizeTextRequest;
3675
3663
  }
3676
- export interface Params$Resource$Projects$Locations$Translatedocument
3677
- extends StandardParameters {
3664
+ export interface Params$Resource$Projects$Locations$Translatedocument extends StandardParameters {
3678
3665
  /**
3679
3666
  * Required. Location to make a regional call. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have the same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
3680
3667
  */
@@ -3685,8 +3672,7 @@ export namespace translate_v3 {
3685
3672
  */
3686
3673
  requestBody?: Schema$TranslateDocumentRequest;
3687
3674
  }
3688
- export interface Params$Resource$Projects$Locations$Translatetext
3689
- extends StandardParameters {
3675
+ export interface Params$Resource$Projects$Locations$Translatetext extends StandardParameters {
3690
3676
  /**
3691
3677
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}` or `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
3692
3678
  */
@@ -4468,8 +4454,7 @@ export namespace translate_v3 {
4468
4454
  }
4469
4455
  }
4470
4456
 
4471
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Create
4472
- extends StandardParameters {
4457
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Create extends StandardParameters {
4473
4458
  /**
4474
4459
  * Required. Name of the parent project. In form of `projects/{project-number-or-id\}/locations/{location-id\}`
4475
4460
  */
@@ -4480,22 +4465,19 @@ export namespace translate_v3 {
4480
4465
  */
4481
4466
  requestBody?: Schema$AdaptiveMtDataset;
4482
4467
  }
4483
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete
4484
- extends StandardParameters {
4468
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Delete extends StandardParameters {
4485
4469
  /**
4486
4470
  * Required. Name of the dataset. In the form of `projects/{project-number-or-id\}/locations/{location-id\}/adaptiveMtDatasets/{adaptive-mt-dataset-id\}`
4487
4471
  */
4488
4472
  name?: string;
4489
4473
  }
4490
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Get
4491
- extends StandardParameters {
4474
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Get extends StandardParameters {
4492
4475
  /**
4493
4476
  * Required. Name of the dataset. In the form of `projects/{project-number-or-id\}/locations/{location-id\}/adaptiveMtDatasets/{adaptive-mt-dataset-id\}`
4494
4477
  */
4495
4478
  name?: string;
4496
4479
  }
4497
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile
4498
- extends StandardParameters {
4480
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Importadaptivemtfile extends StandardParameters {
4499
4481
  /**
4500
4482
  * Required. The resource name of the file, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset\}`
4501
4483
  */
@@ -4506,8 +4488,7 @@ export namespace translate_v3 {
4506
4488
  */
4507
4489
  requestBody?: Schema$ImportAdaptiveMtFileRequest;
4508
4490
  }
4509
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$List
4510
- extends StandardParameters {
4491
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$List extends StandardParameters {
4511
4492
  /**
4512
4493
  * Optional. An expression for filtering the results of the request. Filter is not supported yet.
4513
4494
  */
@@ -4972,22 +4953,19 @@ export namespace translate_v3 {
4972
4953
  }
4973
4954
  }
4974
4955
 
4975
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete
4976
- extends StandardParameters {
4956
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Delete extends StandardParameters {
4977
4957
  /**
4978
4958
  * Required. The resource name of the file to delete, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset\}/adaptiveMtFiles/{file\}`
4979
4959
  */
4980
4960
  name?: string;
4981
4961
  }
4982
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get
4983
- extends StandardParameters {
4962
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Get extends StandardParameters {
4984
4963
  /**
4985
4964
  * Required. The resource name of the file, in form of `projects/{project-number-or-id\}/locations/{location_id\}/adaptiveMtDatasets/{dataset\}/adaptiveMtFiles/{file\}`
4986
4965
  */
4987
4966
  name?: string;
4988
4967
  }
4989
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List
4990
- extends StandardParameters {
4968
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$List extends StandardParameters {
4991
4969
  /**
4992
4970
  * Optional.
4993
4971
  */
@@ -5164,8 +5142,7 @@ export namespace translate_v3 {
5164
5142
  }
5165
5143
  }
5166
5144
 
5167
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List
5168
- extends StandardParameters {
5145
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtfiles$Adaptivemtsentences$List extends StandardParameters {
5169
5146
  /**
5170
5147
  *
5171
5148
  */
@@ -5342,8 +5319,7 @@ export namespace translate_v3 {
5342
5319
  }
5343
5320
  }
5344
5321
 
5345
- export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List
5346
- extends StandardParameters {
5322
+ export interface Params$Resource$Projects$Locations$Adaptivemtdatasets$Adaptivemtsentences$List extends StandardParameters {
5347
5323
  /**
5348
5324
  *
5349
5325
  */
@@ -6268,8 +6244,7 @@ export namespace translate_v3 {
6268
6244
  }
6269
6245
  }
6270
6246
 
6271
- export interface Params$Resource$Projects$Locations$Datasets$Create
6272
- extends StandardParameters {
6247
+ export interface Params$Resource$Projects$Locations$Datasets$Create extends StandardParameters {
6273
6248
  /**
6274
6249
  * Required. The project name.
6275
6250
  */
@@ -6280,15 +6255,13 @@ export namespace translate_v3 {
6280
6255
  */
6281
6256
  requestBody?: Schema$Dataset;
6282
6257
  }
6283
- export interface Params$Resource$Projects$Locations$Datasets$Delete
6284
- extends StandardParameters {
6258
+ export interface Params$Resource$Projects$Locations$Datasets$Delete extends StandardParameters {
6285
6259
  /**
6286
6260
  * Required. The name of the dataset to delete.
6287
6261
  */
6288
6262
  name?: string;
6289
6263
  }
6290
- export interface Params$Resource$Projects$Locations$Datasets$Exportdata
6291
- extends StandardParameters {
6264
+ export interface Params$Resource$Projects$Locations$Datasets$Exportdata extends StandardParameters {
6292
6265
  /**
6293
6266
  * Required. Name of the dataset. In form of `projects/{project-number-or-id\}/locations/{location-id\}/datasets/{dataset-id\}`
6294
6267
  */
@@ -6299,15 +6272,13 @@ export namespace translate_v3 {
6299
6272
  */
6300
6273
  requestBody?: Schema$ExportDataRequest;
6301
6274
  }
6302
- export interface Params$Resource$Projects$Locations$Datasets$Get
6303
- extends StandardParameters {
6275
+ export interface Params$Resource$Projects$Locations$Datasets$Get extends StandardParameters {
6304
6276
  /**
6305
6277
  * Required. The resource name of the dataset to retrieve.
6306
6278
  */
6307
6279
  name?: string;
6308
6280
  }
6309
- export interface Params$Resource$Projects$Locations$Datasets$Importdata
6310
- extends StandardParameters {
6281
+ export interface Params$Resource$Projects$Locations$Datasets$Importdata extends StandardParameters {
6311
6282
  /**
6312
6283
  * Required. Name of the dataset. In form of `projects/{project-number-or-id\}/locations/{location-id\}/datasets/{dataset-id\}`
6313
6284
  */
@@ -6318,8 +6289,7 @@ export namespace translate_v3 {
6318
6289
  */
6319
6290
  requestBody?: Schema$ImportDataRequest;
6320
6291
  }
6321
- export interface Params$Resource$Projects$Locations$Datasets$List
6322
- extends StandardParameters {
6292
+ export interface Params$Resource$Projects$Locations$Datasets$List extends StandardParameters {
6323
6293
  /**
6324
6294
  * Optional. Requested page size. The server can return fewer results than requested.
6325
6295
  */
@@ -6491,8 +6461,7 @@ export namespace translate_v3 {
6491
6461
  }
6492
6462
  }
6493
6463
 
6494
- export interface Params$Resource$Projects$Locations$Datasets$Examples$List
6495
- extends StandardParameters {
6464
+ export interface Params$Resource$Projects$Locations$Datasets$Examples$List extends StandardParameters {
6496
6465
  /**
6497
6466
  * Optional. An expression for filtering the examples that will be returned. Example filter: * `usage=TRAIN`
6498
6467
  */
@@ -7274,8 +7243,7 @@ export namespace translate_v3 {
7274
7243
  }
7275
7244
  }
7276
7245
 
7277
- export interface Params$Resource$Projects$Locations$Glossaries$Create
7278
- extends StandardParameters {
7246
+ export interface Params$Resource$Projects$Locations$Glossaries$Create extends StandardParameters {
7279
7247
  /**
7280
7248
  * Required. The project name.
7281
7249
  */
@@ -7286,22 +7254,19 @@ export namespace translate_v3 {
7286
7254
  */
7287
7255
  requestBody?: Schema$Glossary;
7288
7256
  }
7289
- export interface Params$Resource$Projects$Locations$Glossaries$Delete
7290
- extends StandardParameters {
7257
+ export interface Params$Resource$Projects$Locations$Glossaries$Delete extends StandardParameters {
7291
7258
  /**
7292
7259
  * Required. The name of the glossary to delete.
7293
7260
  */
7294
7261
  name?: string;
7295
7262
  }
7296
- export interface Params$Resource$Projects$Locations$Glossaries$Get
7297
- extends StandardParameters {
7263
+ export interface Params$Resource$Projects$Locations$Glossaries$Get extends StandardParameters {
7298
7264
  /**
7299
7265
  * Required. The name of the glossary to retrieve.
7300
7266
  */
7301
7267
  name?: string;
7302
7268
  }
7303
- export interface Params$Resource$Projects$Locations$Glossaries$List
7304
- extends StandardParameters {
7269
+ export interface Params$Resource$Projects$Locations$Glossaries$List extends StandardParameters {
7305
7270
  /**
7306
7271
  * Optional. Filter specifying constraints of a list operation. Specify the constraint by the format of "key=value", where key must be "src" or "tgt", and the value must be a valid language code. For multiple restrictions, concatenate them by "AND" (uppercase only), such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used here, which means using 'en-US' and 'en' can lead to different results, which depends on the language code you used when you create the glossary. For the unidirectional glossaries, the "src" and "tgt" add restrictions on the source and target language code separately. For the equivalent term set glossaries, the "src" and/or "tgt" add restrictions on the term set. For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional glossaries which exactly match the source language code as "en-US" and the target language code "zh-CN", but all equivalent term set glossaries which contain "en-US" and "zh-CN" in their language set will be picked. If missing, no filtering is performed.
7307
7272
  */
@@ -7319,8 +7284,7 @@ export namespace translate_v3 {
7319
7284
  */
7320
7285
  parent?: string;
7321
7286
  }
7322
- export interface Params$Resource$Projects$Locations$Glossaries$Patch
7323
- extends StandardParameters {
7287
+ export interface Params$Resource$Projects$Locations$Glossaries$Patch extends StandardParameters {
7324
7288
  /**
7325
7289
  * Required. The resource name of the glossary. Glossary names have the form `projects/{project-number-or-id\}/locations/{location-id\}/glossaries/{glossary-id\}`.
7326
7290
  */
@@ -8085,8 +8049,7 @@ export namespace translate_v3 {
8085
8049
  }
8086
8050
  }
8087
8051
 
8088
- export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create
8089
- extends StandardParameters {
8052
+ export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Create extends StandardParameters {
8090
8053
  /**
8091
8054
  * Required. The resource name of the glossary to create the entry under.
8092
8055
  */
@@ -8097,22 +8060,19 @@ export namespace translate_v3 {
8097
8060
  */
8098
8061
  requestBody?: Schema$GlossaryEntry;
8099
8062
  }
8100
- export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete
8101
- extends StandardParameters {
8063
+ export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Delete extends StandardParameters {
8102
8064
  /**
8103
8065
  * Required. The resource name of the glossary entry to delete
8104
8066
  */
8105
8067
  name?: string;
8106
8068
  }
8107
- export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get
8108
- extends StandardParameters {
8069
+ export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Get extends StandardParameters {
8109
8070
  /**
8110
8071
  * Required. The resource name of the glossary entry to get
8111
8072
  */
8112
8073
  name?: string;
8113
8074
  }
8114
- export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List
8115
- extends StandardParameters {
8075
+ export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$List extends StandardParameters {
8116
8076
  /**
8117
8077
  * Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an appropriate default.
8118
8078
  */
@@ -8126,8 +8086,7 @@ export namespace translate_v3 {
8126
8086
  */
8127
8087
  parent?: string;
8128
8088
  }
8129
- export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch
8130
- extends StandardParameters {
8089
+ export interface Params$Resource$Projects$Locations$Glossaries$Glossaryentries$Patch extends StandardParameters {
8131
8090
  /**
8132
8091
  * Identifier. The resource name of the entry. Format: `projects/x/locations/x/glossaries/x/glossaryEntries/x`
8133
8092
  */
@@ -8741,8 +8700,7 @@ export namespace translate_v3 {
8741
8700
  }
8742
8701
  }
8743
8702
 
8744
- export interface Params$Resource$Projects$Locations$Models$Create
8745
- extends StandardParameters {
8703
+ export interface Params$Resource$Projects$Locations$Models$Create extends StandardParameters {
8746
8704
  /**
8747
8705
  * Required. The project name, in form of `projects/{project\}/locations/{location\}`
8748
8706
  */
@@ -8753,22 +8711,19 @@ export namespace translate_v3 {
8753
8711
  */
8754
8712
  requestBody?: Schema$Model;
8755
8713
  }
8756
- export interface Params$Resource$Projects$Locations$Models$Delete
8757
- extends StandardParameters {
8714
+ export interface Params$Resource$Projects$Locations$Models$Delete extends StandardParameters {
8758
8715
  /**
8759
8716
  * Required. The name of the model to delete.
8760
8717
  */
8761
8718
  name?: string;
8762
8719
  }
8763
- export interface Params$Resource$Projects$Locations$Models$Get
8764
- extends StandardParameters {
8720
+ export interface Params$Resource$Projects$Locations$Models$Get extends StandardParameters {
8765
8721
  /**
8766
8722
  * Required. The resource name of the model to retrieve.
8767
8723
  */
8768
8724
  name?: string;
8769
8725
  }
8770
- export interface Params$Resource$Projects$Locations$Models$List
8771
- extends StandardParameters {
8726
+ export interface Params$Resource$Projects$Locations$Models$List extends StandardParameters {
8772
8727
  /**
8773
8728
  * Optional. An expression for filtering the models that will be returned. Supported filter: `dataset_id=${dataset_id\}`
8774
8729
  */
@@ -9509,8 +9464,7 @@ export namespace translate_v3 {
9509
9464
  }
9510
9465
  }
9511
9466
 
9512
- export interface Params$Resource$Projects$Locations$Operations$Cancel
9513
- extends StandardParameters {
9467
+ export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
9514
9468
  /**
9515
9469
  * The name of the operation resource to be cancelled.
9516
9470
  */
@@ -9521,22 +9475,19 @@ export namespace translate_v3 {
9521
9475
  */
9522
9476
  requestBody?: Schema$CancelOperationRequest;
9523
9477
  }
9524
- export interface Params$Resource$Projects$Locations$Operations$Delete
9525
- extends StandardParameters {
9478
+ export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
9526
9479
  /**
9527
9480
  * The name of the operation resource to be deleted.
9528
9481
  */
9529
9482
  name?: string;
9530
9483
  }
9531
- export interface Params$Resource$Projects$Locations$Operations$Get
9532
- extends StandardParameters {
9484
+ export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
9533
9485
  /**
9534
9486
  * The name of the operation resource.
9535
9487
  */
9536
9488
  name?: string;
9537
9489
  }
9538
- export interface Params$Resource$Projects$Locations$Operations$List
9539
- extends StandardParameters {
9490
+ export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
9540
9491
  /**
9541
9492
  * The standard list filter.
9542
9493
  */
@@ -9554,8 +9505,7 @@ export namespace translate_v3 {
9554
9505
  */
9555
9506
  pageToken?: string;
9556
9507
  }
9557
- export interface Params$Resource$Projects$Locations$Operations$Wait
9558
- extends StandardParameters {
9508
+ export interface Params$Resource$Projects$Locations$Operations$Wait extends StandardParameters {
9559
9509
  /**
9560
9510
  * The name of the operation resource to wait on.
9561
9511
  */
package/v3beta1.ts CHANGED
@@ -1188,8 +1188,7 @@ export namespace translate_v3beta1 {
1188
1188
  }
1189
1189
  }
1190
1190
 
1191
- export interface Params$Resource$Projects$Detectlanguage
1192
- extends StandardParameters {
1191
+ export interface Params$Resource$Projects$Detectlanguage extends StandardParameters {
1193
1192
  /**
1194
1193
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}` or `projects/{project-number-or-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.
1195
1194
  */
@@ -1200,8 +1199,7 @@ export namespace translate_v3beta1 {
1200
1199
  */
1201
1200
  requestBody?: Schema$DetectLanguageRequest;
1202
1201
  }
1203
- export interface Params$Resource$Projects$Getsupportedlanguages
1204
- extends StandardParameters {
1202
+ export interface Params$Resource$Projects$Getsupportedlanguages extends StandardParameters {
1205
1203
  /**
1206
1204
  * Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.
1207
1205
  */
@@ -1215,8 +1213,7 @@ export namespace translate_v3beta1 {
1215
1213
  */
1216
1214
  parent?: string;
1217
1215
  }
1218
- export interface Params$Resource$Projects$Translatetext
1219
- extends StandardParameters {
1216
+ export interface Params$Resource$Projects$Translatetext extends StandardParameters {
1220
1217
  /**
1221
1218
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}` or `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
1222
1219
  */
@@ -2481,8 +2478,7 @@ export namespace translate_v3beta1 {
2481
2478
  }
2482
2479
  }
2483
2480
 
2484
- export interface Params$Resource$Projects$Locations$Batchtranslatedocument
2485
- extends StandardParameters {
2481
+ export interface Params$Resource$Projects$Locations$Batchtranslatedocument extends StandardParameters {
2486
2482
  /**
2487
2483
  * Required. Location to make a regional call. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.
2488
2484
  */
@@ -2493,8 +2489,7 @@ export namespace translate_v3beta1 {
2493
2489
  */
2494
2490
  requestBody?: Schema$BatchTranslateDocumentRequest;
2495
2491
  }
2496
- export interface Params$Resource$Projects$Locations$Batchtranslatetext
2497
- extends StandardParameters {
2492
+ export interface Params$Resource$Projects$Locations$Batchtranslatetext extends StandardParameters {
2498
2493
  /**
2499
2494
  * Required. Location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. The `global` location is not supported for batch translation. Only AutoML Translation models or glossaries within the same region (have the same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error is returned.
2500
2495
  */
@@ -2505,8 +2500,7 @@ export namespace translate_v3beta1 {
2505
2500
  */
2506
2501
  requestBody?: Schema$BatchTranslateTextRequest;
2507
2502
  }
2508
- export interface Params$Resource$Projects$Locations$Detectlanguage
2509
- extends StandardParameters {
2503
+ export interface Params$Resource$Projects$Locations$Detectlanguage extends StandardParameters {
2510
2504
  /**
2511
2505
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}/locations/{location-id\}` or `projects/{project-number-or-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Only models within the same region (has same location-id) can be used. Otherwise an INVALID_ARGUMENT (400) error is returned.
2512
2506
  */
@@ -2517,15 +2511,13 @@ export namespace translate_v3beta1 {
2517
2511
  */
2518
2512
  requestBody?: Schema$DetectLanguageRequest;
2519
2513
  }
2520
- export interface Params$Resource$Projects$Locations$Get
2521
- extends StandardParameters {
2514
+ export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
2522
2515
  /**
2523
2516
  * Resource name for the location.
2524
2517
  */
2525
2518
  name?: string;
2526
2519
  }
2527
- export interface Params$Resource$Projects$Locations$Getsupportedlanguages
2528
- extends StandardParameters {
2520
+ export interface Params$Resource$Projects$Locations$Getsupportedlanguages extends StandardParameters {
2529
2521
  /**
2530
2522
  * Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not returned in a response.
2531
2523
  */
@@ -2539,8 +2531,7 @@ export namespace translate_v3beta1 {
2539
2531
  */
2540
2532
  parent?: string;
2541
2533
  }
2542
- export interface Params$Resource$Projects$Locations$List
2543
- extends StandardParameters {
2534
+ export interface Params$Resource$Projects$Locations$List extends StandardParameters {
2544
2535
  /**
2545
2536
  * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2546
2537
  */
@@ -2562,8 +2553,7 @@ export namespace translate_v3beta1 {
2562
2553
  */
2563
2554
  pageToken?: string;
2564
2555
  }
2565
- export interface Params$Resource$Projects$Locations$Translatedocument
2566
- extends StandardParameters {
2556
+ export interface Params$Resource$Projects$Locations$Translatedocument extends StandardParameters {
2567
2557
  /**
2568
2558
  * Required. Location to make a regional call. Format: `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have the same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
2569
2559
  */
@@ -2574,8 +2564,7 @@ export namespace translate_v3beta1 {
2574
2564
  */
2575
2565
  requestBody?: Schema$TranslateDocumentRequest;
2576
2566
  }
2577
- export interface Params$Resource$Projects$Locations$Translatetext
2578
- extends StandardParameters {
2567
+ export interface Params$Resource$Projects$Locations$Translatetext extends StandardParameters {
2579
2568
  /**
2580
2569
  * Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id\}` or `projects/{project-number-or-id\}/locations/{location-id\}`. For global calls, use `projects/{project-number-or-id\}/locations/global` or `projects/{project-number-or-id\}`. Non-global location is required for requests using AutoML models or custom glossaries. Models and glossaries must be within the same region (have same location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
2581
2570
  */
@@ -3185,8 +3174,7 @@ export namespace translate_v3beta1 {
3185
3174
  }
3186
3175
  }
3187
3176
 
3188
- export interface Params$Resource$Projects$Locations$Glossaries$Create
3189
- extends StandardParameters {
3177
+ export interface Params$Resource$Projects$Locations$Glossaries$Create extends StandardParameters {
3190
3178
  /**
3191
3179
  * Required. The project name.
3192
3180
  */
@@ -3197,22 +3185,19 @@ export namespace translate_v3beta1 {
3197
3185
  */
3198
3186
  requestBody?: Schema$Glossary;
3199
3187
  }
3200
- export interface Params$Resource$Projects$Locations$Glossaries$Delete
3201
- extends StandardParameters {
3188
+ export interface Params$Resource$Projects$Locations$Glossaries$Delete extends StandardParameters {
3202
3189
  /**
3203
3190
  * Required. The name of the glossary to delete.
3204
3191
  */
3205
3192
  name?: string;
3206
3193
  }
3207
- export interface Params$Resource$Projects$Locations$Glossaries$Get
3208
- extends StandardParameters {
3194
+ export interface Params$Resource$Projects$Locations$Glossaries$Get extends StandardParameters {
3209
3195
  /**
3210
3196
  * Required. The name of the glossary to retrieve.
3211
3197
  */
3212
3198
  name?: string;
3213
3199
  }
3214
- export interface Params$Resource$Projects$Locations$Glossaries$List
3215
- extends StandardParameters {
3200
+ export interface Params$Resource$Projects$Locations$Glossaries$List extends StandardParameters {
3216
3201
  /**
3217
3202
  * Optional. Filter specifying constraints of a list operation. Specify the constraint by the format of "key=value", where key must be "src" or "tgt", and the value must be a valid language code. For multiple restrictions, concatenate them by "AND" (uppercase only), such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used here, which means using 'en-US' and 'en' can lead to different results, which depends on the language code you used when you create the glossary. For the unidirectional glossaries, the "src" and "tgt" add restrictions on the source and target language code separately. For the equivalent term set glossaries, the "src" and/or "tgt" add restrictions on the term set. For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional glossaries which exactly match the source language code as "en-US" and the target language code "zh-CN", but all equivalent term set glossaries which contain "en-US" and "zh-CN" in their language set will be picked. If missing, no filtering is performed.
3218
3203
  */
@@ -3959,8 +3944,7 @@ export namespace translate_v3beta1 {
3959
3944
  }
3960
3945
  }
3961
3946
 
3962
- export interface Params$Resource$Projects$Locations$Operations$Cancel
3963
- extends StandardParameters {
3947
+ export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
3964
3948
  /**
3965
3949
  * The name of the operation resource to be cancelled.
3966
3950
  */
@@ -3971,22 +3955,19 @@ export namespace translate_v3beta1 {
3971
3955
  */
3972
3956
  requestBody?: Schema$CancelOperationRequest;
3973
3957
  }
3974
- export interface Params$Resource$Projects$Locations$Operations$Delete
3975
- extends StandardParameters {
3958
+ export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
3976
3959
  /**
3977
3960
  * The name of the operation resource to be deleted.
3978
3961
  */
3979
3962
  name?: string;
3980
3963
  }
3981
- export interface Params$Resource$Projects$Locations$Operations$Get
3982
- extends StandardParameters {
3964
+ export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
3983
3965
  /**
3984
3966
  * The name of the operation resource.
3985
3967
  */
3986
3968
  name?: string;
3987
3969
  }
3988
- export interface Params$Resource$Projects$Locations$Operations$List
3989
- extends StandardParameters {
3970
+ export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
3990
3971
  /**
3991
3972
  * The standard list filter.
3992
3973
  */
@@ -4004,8 +3985,7 @@ export namespace translate_v3beta1 {
4004
3985
  */
4005
3986
  pageToken?: string;
4006
3987
  }
4007
- export interface Params$Resource$Projects$Locations$Operations$Wait
4008
- extends StandardParameters {
3988
+ export interface Params$Resource$Projects$Locations$Operations$Wait extends StandardParameters {
4009
3989
  /**
4010
3990
  * The name of the operation resource to wait on.
4011
3991
  */