@maxim_mazurok/gapi.client.translate-v3beta1 0.0.20250424 → 0.0.20250729

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.
Files changed (2) hide show
  1. package/index.d.ts +10 -8
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://translation.googleapis.com/$discovery/rest?version=v3beta1
12
- // Revision: 20250424
12
+ // Revision: 20250729
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -53,9 +53,11 @@ declare namespace gapi.client {
53
53
  models?: {[P in string]: string};
54
54
  /** Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs. */
55
55
  outputConfig?: BatchDocumentOutputConfig;
56
+ /** Optional. If true, only native pdf pages will be translated. */
57
+ pdfNativeOnly?: boolean;
56
58
  /** Required. The BCP-47 language code of the input document if known, for example, "en-US" or "sr-Latn". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). */
57
59
  sourceLanguageCode?: string;
58
- /** Required. The BCP-47 language code to use for translation of the input document. Specify up to 10 language codes here. */
60
+ /** Required. The BCP-47 language code to use for translation of the input document. Specify up to 10 language codes here. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). */
59
61
  targetLanguageCodes?: string[];
60
62
  }
61
63
  interface BatchTranslateTextRequest {
@@ -69,9 +71,9 @@ declare namespace gapi.client {
69
71
  models?: {[P in string]: string};
70
72
  /** Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs. */
71
73
  outputConfig?: OutputConfig;
72
- /** Required. Source language code. */
74
+ /** Required. Source language code. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). */
73
75
  sourceLanguageCode?: string;
74
- /** Required. Specify up to 10 language codes here. */
76
+ /** Required. Specify up to 10 language codes here. Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). */
75
77
  targetLanguageCodes?: string[];
76
78
  }
77
79
  interface CancelOperationRequest {}
@@ -249,9 +251,9 @@ declare namespace gapi.client {
249
251
  labels?: {[P in string]: string};
250
252
  /** Optional. The `model` type requested for this translation. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, If not provided, the default Google model (NMT) will be used for translation. */
251
253
  model?: string;
252
- /** Optional. The BCP-47 language code of the input document if known, for example, "en-US" or "sr-Latn". Supported language codes are listed in Language Support. If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response. Source language must be specified if the request contains a glossary or a custom model. */
254
+ /** Optional. The BCP-47 language code of the input document if known, for example, "en-US" or "sr-Latn". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response. Source language must be specified if the request contains a glossary or a custom model. */
253
255
  sourceLanguageCode?: string;
254
- /** Required. The BCP-47 language code to use for translation of the input document, set to one of the language codes listed in Language Support. */
256
+ /** Required. The BCP-47 language code to use for translation of the input document, set to one of the language codes listed in [Language Support](https://cloud.google.com/translate/docs/languages). */
255
257
  targetLanguageCode?: string;
256
258
  }
257
259
  interface TranslateDocumentResponse {
@@ -283,9 +285,9 @@ declare namespace gapi.client {
283
285
  mimeType?: string;
284
286
  /** Optional. The `model` type requested for this translation. The format depends on model type: - AutoML Translation models: `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}` - General (built-in) models: `projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`, For global (non-regionalized) requests, use `location-id` `global`. For example, `projects/{project-number-or-id}/locations/global/models/general/nmt`. If not provided, the default Google model (NMT) will be used */
285
287
  model?: string;
286
- /** Optional. The BCP-47 language code of the input text if known, for example, "en-US" or "sr-Latn". Supported language codes are listed in Language Support. If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response. */
288
+ /** Optional. The BCP-47 language code of the input text if known, for example, "en-US" or "sr-Latn". Supported language codes are listed in [Language Support](https://cloud.google.com/translate/docs/languages). If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language within the response. */
287
289
  sourceLanguageCode?: string;
288
- /** Required. The BCP-47 language code to use for translation of the input text, set to one of the language codes listed in Language Support. */
290
+ /** Required. The BCP-47 language code to use for translation of the input text, set to one of the language codes listed in [Language Support](https://cloud.google.com/translate/docs/languages). */
289
291
  targetLanguageCode?: string;
290
292
  }
291
293
  interface TranslateTextResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.translate-v3beta1",
3
- "version": "0.0.20250424",
3
+ "version": "0.0.20250729",
4
4
  "description": "TypeScript typings for Cloud Translation API v3beta1",
5
5
  "repository": {
6
6
  "type": "git",