@maxim_mazurok/gapi.client.translate-v3beta1 0.0.20241029 → 0.0.20250103

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 +4 -2
  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: 20241029
12
+ // Revision: 20250103
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -265,6 +265,8 @@ declare namespace gapi.client {
265
265
  model?: string;
266
266
  }
267
267
  interface TranslateTextGlossaryConfig {
268
+ /** Optional. If set to true, the glossary will be used for contextual translation. */
269
+ contextualTranslationEnabled?: boolean;
268
270
  /** Required. Specifies the glossary used for this translation. Use this format: projects/*‍/locations/*‍/glossaries/* */
269
271
  glossary?: string;
270
272
  /** Optional. Indicates match is case-insensitive. Default value is false if missing. */
@@ -454,7 +456,7 @@ declare namespace gapi.client {
454
456
  }): Request<ListGlossariesResponse>;
455
457
  }
456
458
  interface OperationsResource {
457
- /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
459
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
458
460
  cancel(request: {
459
461
  /** V1 error format. */
460
462
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.translate-v3beta1",
3
- "version": "0.0.20241029",
3
+ "version": "0.0.20250103",
4
4
  "description": "TypeScript typings for Cloud Translation API v3beta1",
5
5
  "repository": {
6
6
  "type": "git",