Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 83da452

Browse files
committedNov 1, 2022
feat(translate): update the api
#### translate:v3 The following keys were added: - schemas.TranslateDocumentRequest.properties.isTranslateNativePdfOnly.type (Total Keys: 1) #### translate:v3beta1 The following keys were added: - schemas.TranslateDocumentRequest.properties.isTranslateNativePdfOnly.type (Total Keys: 1)
1 parent 3dd7507 commit 83da452

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed
 

‎docs/dyn/translate_v3.projects.locations.html

+1
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ <h3>Method Details</h3>
427427
&quot;glossary&quot;: &quot;A String&quot;, # Required. The `glossary` to be applied for this translation. The format depends on glossary: - User provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`
428428
&quot;ignoreCase&quot;: True or False, # Optional. Indicates match is case-insensitive. Default value is false if missing.
429429
},
430+
&quot;isTranslateNativePdfOnly&quot;: True or False, # Optional. is_translate_native_pdf_only field for external customers. If true, the page limit of online native pdf translation is 300 and only native pdf pages will be translated.
430431
&quot;labels&quot;: { # Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.
431432
&quot;a_key&quot;: &quot;A String&quot;,
432433
},

‎docs/dyn/translate_v3beta1.projects.locations.html

+1
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ <h3>Method Details</h3>
427427
&quot;glossary&quot;: &quot;A String&quot;, # Required. Specifies the glossary used for this translation. Use this format: projects/*/locations/*/glossaries/*
428428
&quot;ignoreCase&quot;: True or False, # Optional. Indicates match is case-insensitive. Default value is false if missing.
429429
},
430+
&quot;isTranslateNativePdfOnly&quot;: True or False, # Optional. is_translate_native_pdf_only field for external customers. If true, the page limit of online native pdf translation is 300 and only native pdf pages will be translated.
430431
&quot;labels&quot;: { # Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.
431432
&quot;a_key&quot;: &quot;A String&quot;,
432433
},

‎googleapiclient/discovery_cache/documents/translate.v3.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@
931931
}
932932
}
933933
},
934-
"revision": "20220916",
934+
"revision": "20221021",
935935
"rootUrl": "https://translation.googleapis.com/",
936936
"schemas": {
937937
"BatchDocumentInputConfig": {
@@ -1607,6 +1607,10 @@
16071607
"$ref": "TranslateTextGlossaryConfig",
16081608
"description": "Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned."
16091609
},
1610+
"isTranslateNativePdfOnly": {
1611+
"description": "Optional. is_translate_native_pdf_only field for external customers. If true, the page limit of online native pdf translation is 300 and only native pdf pages will be translated.",
1612+
"type": "boolean"
1613+
},
16101614
"labels": {
16111615
"additionalProperties": {
16121616
"type": "string"

‎googleapiclient/discovery_cache/documents/translate.v3beta1.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@
744744
}
745745
}
746746
},
747-
"revision": "20220916",
747+
"revision": "20221021",
748748
"rootUrl": "https://translation.googleapis.com/",
749749
"schemas": {
750750
"BatchDocumentInputConfig": {
@@ -1331,6 +1331,10 @@
13311331
"$ref": "TranslateTextGlossaryConfig",
13321332
"description": "Optional. Glossary to be applied. The glossary must be within the same region (have the same location-id) as the model, otherwise an INVALID_ARGUMENT (400) error is returned."
13331333
},
1334+
"isTranslateNativePdfOnly": {
1335+
"description": "Optional. is_translate_native_pdf_only field for external customers. If true, the page limit of online native pdf translation is 300 and only native pdf pages will be translated.",
1336+
"type": "boolean"
1337+
},
13341338
"labels": {
13351339
"additionalProperties": {
13361340
"type": "string"

0 commit comments

Comments
 (0)
Please sign in to comment.