@maxim_mazurok/gapi.client.dataflow-v1b3 0.2.20260302 → 0.2.20260527

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 (3) hide show
  1. package/index.d.ts +11 -7
  2. package/package.json +1 -1
  3. package/readme.md +12 -0
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://dataflow.googleapis.com/$discovery/rest?version=v1b3
12
- // Revision: 20260302
12
+ // Revision: 20260527
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -553,7 +553,7 @@ declare namespace gapi.client {
553
553
  | 'WORKER_IP_PRIVATE';
554
554
  /** Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/ */
555
555
  kmsKeyName?: string;
556
- /** The machine type to use for launching the job. The default is n1-standard-1. */
556
+ /** The machine type to use for launching the job. If not set, Dataflow will select a default machine type. */
557
557
  launcherMachineType?: string;
558
558
  /** The machine type to use for the job. Defaults to the value from the template if not specified. */
559
559
  machineType?: string;
@@ -1076,6 +1076,8 @@ declare namespace gapi.client {
1076
1076
  location?: string;
1077
1077
  /** The name of the package. */
1078
1078
  name?: string;
1079
+ /** Optional. The hex-encoded SHA256 checksum of the package. If the checksum is provided, the worker will verify the checksum of the package before using it. If the checksum does not match, the worker will fail to start. */
1080
+ sha256?: string;
1079
1081
  }
1080
1082
  interface ParallelInstruction {
1081
1083
  /** Additional information for Flatten instructions. */
@@ -1362,10 +1364,12 @@ declare namespace gapi.client {
1362
1364
  sdkInfo?: SDKInfo;
1363
1365
  }
1364
1366
  interface RuntimeUpdatableParams {
1365
- /** Optional. Deprecated: Use `autoscaling_tier` instead. The backlog threshold duration in seconds for autoscaling. Value must be non-negative. */
1367
+ /** Optional. Deprecated: Use `latency_tier` instead. The backlog threshold duration in seconds for autoscaling. Value must be non-negative. */
1366
1368
  acceptableBacklogDuration?: string;
1367
- /** Optional. The backlog threshold tier for autoscaling. Value must be one of "low-latency", "medium-latency", or "high-latency". */
1369
+ /** Optional. Deprecated: Use `latency_tier` instead. The backlog threshold tier for autoscaling. Value must be one of "low-latency", "medium-latency", or "high-latency". */
1368
1370
  autoscalingTier?: string;
1371
+ /** Optional. The backlog threshold tier for autoscaling. Value must be one of "low-latency", "medium-latency", or "high-latency". */
1372
+ latencyTier?: string;
1369
1373
  /** The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs. */
1370
1374
  maxNumWorkers?: number;
1371
1375
  /** The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs. */
@@ -1530,7 +1534,7 @@ declare namespace gapi.client {
1530
1534
  }
1531
1535
  interface Source {
1532
1536
  /** While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs). */
1533
- baseSpecs?: Array<{[P in string]: any}>;
1537
+ baseSpecs?: {[P in string]: any}[];
1534
1538
  /** The codec to use to decode data read from the source. */
1535
1539
  codec?: {[P in string]: any};
1536
1540
  /** Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated. */
@@ -1693,7 +1697,7 @@ declare namespace gapi.client {
1693
1697
  /** The status code, which should be an enum value of google.rpc.Code. */
1694
1698
  code?: number;
1695
1699
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1696
- details?: Array<{[P in string]: any}>;
1700
+ details?: {[P in string]: any}[];
1697
1701
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
1698
1702
  message?: string;
1699
1703
  }
@@ -1986,7 +1990,7 @@ declare namespace gapi.client {
1986
1990
  /** Message describing any unusual health reports. */
1987
1991
  msg?: string;
1988
1992
  /** The pods running on the worker. See: http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod This field is used by the worker to send the status of the indvidual containers running on each worker. */
1989
- pods?: Array<{[P in string]: any}>;
1993
+ pods?: {[P in string]: any}[];
1990
1994
  /** The interval at which the worker is sending health reports. The default value of 0 should be interpreted as the field is not being explicitly set by the worker. */
1991
1995
  reportInterval?: string;
1992
1996
  /** Code to describe a specific reason, if known, that a VM has reported broken state. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataflow-v1b3",
3
- "version": "0.2.20260302",
3
+ "version": "0.2.20260527",
4
4
  "description": "TypeScript typings for Dataflow API v1b3",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,18 @@ Install typings for Dataflow API:
11
11
  npm install @types/gapi.client.dataflow-v1b3 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": ["gapi", "gapi.auth2", "gapi.client", "gapi.client.dataflow-v1b3"]
22
+ }
23
+ }
24
+ ```
25
+
14
26
  ## Usage
15
27
 
16
28
  You need to initialize Google API client in your code: