Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
yoshi-automation committed Nov 1, 2022
1 parent 3dd7507 commit 83da452
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/dyn/translate_v3.projects.locations.html
Expand Up @@ -427,6 +427,7 @@ <h3>Method Details</h3>
&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}`
&quot;ignoreCase&quot;: True or False, # Optional. Indicates match is case-insensitive. Default value is false if missing.
},
&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.
&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.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down
1 change: 1 addition & 0 deletions docs/dyn/translate_v3beta1.projects.locations.html
Expand Up @@ -427,6 +427,7 @@ <h3>Method Details</h3>
&quot;glossary&quot;: &quot;A String&quot;, # Required. Specifies the glossary used for this translation. Use this format: projects/*/locations/*/glossaries/*
&quot;ignoreCase&quot;: True or False, # Optional. Indicates match is case-insensitive. Default value is false if missing.
},
&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.
&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.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down
6 changes: 5 additions & 1 deletion googleapiclient/discovery_cache/documents/translate.v3.json
Expand Up @@ -931,7 +931,7 @@
}
}
},
"revision": "20220916",
"revision": "20221021",
"rootUrl": "https://translation.googleapis.com/",
"schemas": {
"BatchDocumentInputConfig": {
Expand Down Expand Up @@ -1607,6 +1607,10 @@
"$ref": "TranslateTextGlossaryConfig",
"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."
},
"isTranslateNativePdfOnly": {
"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.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
Expand Down
Expand Up @@ -744,7 +744,7 @@
}
}
},
"revision": "20220916",
"revision": "20221021",
"rootUrl": "https://translation.googleapis.com/",
"schemas": {
"BatchDocumentInputConfig": {
Expand Down Expand Up @@ -1331,6 +1331,10 @@
"$ref": "TranslateTextGlossaryConfig",
"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."
},
"isTranslateNativePdfOnly": {
"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.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
Expand Down

0 comments on commit 83da452

Please sign in to comment.