@maxim_mazurok/gapi.client.dataflow-v1b3 0.0.20250120 → 0.0.20250131

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 +25 -23
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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: 20250120
12
+ // Revision: 20250131
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Dataflow API v1b3 */
18
18
  function load(
19
- urlOrObject: 'https://dataflow.googleapis.com/$discovery/rest?version=v1b3'
19
+ urlOrObject: 'https://dataflow.googleapis.com/$discovery/rest?version=v1b3',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'dataflow', version: 'v1b3'): Promise<void>;
@@ -1711,6 +1711,8 @@ declare namespace gapi.client {
1711
1711
  supportsAtLeastOnce?: boolean;
1712
1712
  /** Optional. Indicates if the streaming template supports exactly once mode. */
1713
1713
  supportsExactlyOnce?: boolean;
1714
+ /** Optional. For future use. */
1715
+ yamlDefinition?: string;
1714
1716
  }
1715
1717
  interface TopologyConfig {
1716
1718
  /** The computations associated with a streaming Dataflow job. */
@@ -2056,7 +2058,7 @@ declare namespace gapi.client {
2056
2058
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2057
2059
  uploadType?: string;
2058
2060
  },
2059
- body: GetDebugConfigRequest
2061
+ body: GetDebugConfigRequest,
2060
2062
  ): Request<GetDebugConfigResponse>;
2061
2063
  /** Send encoded debug capture data for component. */
2062
2064
  sendCapture(request: {
@@ -2118,7 +2120,7 @@ declare namespace gapi.client {
2118
2120
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2119
2121
  uploadType?: string;
2120
2122
  },
2121
- body: SendDebugCaptureRequest
2123
+ body: SendDebugCaptureRequest,
2122
2124
  ): Request<{}>;
2123
2125
  }
2124
2126
  interface MessagesResource {
@@ -2225,7 +2227,7 @@ declare namespace gapi.client {
2225
2227
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2226
2228
  uploadType?: string;
2227
2229
  },
2228
- body: LeaseWorkItemRequest
2230
+ body: LeaseWorkItemRequest,
2229
2231
  ): Request<LeaseWorkItemResponse>;
2230
2232
  /** Reports the status of dataflow WorkItems leased by a worker. */
2231
2233
  reportStatus(request: {
@@ -2287,7 +2289,7 @@ declare namespace gapi.client {
2287
2289
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2288
2290
  uploadType?: string;
2289
2291
  },
2290
- body: ReportWorkItemStatusRequest
2292
+ body: ReportWorkItemStatusRequest,
2291
2293
  ): Request<ReportWorkItemStatusResponse>;
2292
2294
  }
2293
2295
  interface JobsResource {
@@ -2398,7 +2400,7 @@ declare namespace gapi.client {
2398
2400
  /** The level of information requested in response. */
2399
2401
  view?: string;
2400
2402
  },
2401
- body: Job
2403
+ body: Job,
2402
2404
  ): Request<Job>;
2403
2405
  /** Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`. */
2404
2406
  get(request?: {
@@ -2565,7 +2567,7 @@ declare namespace gapi.client {
2565
2567
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2566
2568
  uploadType?: string;
2567
2569
  },
2568
- body: SnapshotJobRequest
2570
+ body: SnapshotJobRequest,
2569
2571
  ): Request<Snapshot>;
2570
2572
  /** Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`. */
2571
2573
  update(request: {
@@ -2635,7 +2637,7 @@ declare namespace gapi.client {
2635
2637
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2636
2638
  uploadType?: string;
2637
2639
  },
2638
- body: Job
2640
+ body: Job,
2639
2641
  ): Request<Job>;
2640
2642
  debug: DebugResource;
2641
2643
  messages: MessagesResource;
@@ -2702,7 +2704,7 @@ declare namespace gapi.client {
2702
2704
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2703
2705
  uploadType?: string;
2704
2706
  },
2705
- body: LaunchFlexTemplateRequest
2707
+ body: LaunchFlexTemplateRequest,
2706
2708
  ): Request<LaunchFlexTemplateResponse>;
2707
2709
  }
2708
2710
  interface DebugResource {
@@ -2770,7 +2772,7 @@ declare namespace gapi.client {
2770
2772
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2771
2773
  uploadType?: string;
2772
2774
  },
2773
- body: GetDebugConfigRequest
2775
+ body: GetDebugConfigRequest,
2774
2776
  ): Request<GetDebugConfigResponse>;
2775
2777
  /** Send encoded debug capture data for component. */
2776
2778
  sendCapture(request: {
@@ -2836,7 +2838,7 @@ declare namespace gapi.client {
2836
2838
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2837
2839
  uploadType?: string;
2838
2840
  },
2839
- body: SendDebugCaptureRequest
2841
+ body: SendDebugCaptureRequest,
2840
2842
  ): Request<{}>;
2841
2843
  }
2842
2844
  interface MessagesResource {
@@ -3023,7 +3025,7 @@ declare namespace gapi.client {
3023
3025
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3024
3026
  uploadType?: string;
3025
3027
  },
3026
- body: LeaseWorkItemRequest
3028
+ body: LeaseWorkItemRequest,
3027
3029
  ): Request<LeaseWorkItemResponse>;
3028
3030
  /** Reports the status of dataflow WorkItems leased by a worker. */
3029
3031
  reportStatus(request: {
@@ -3089,7 +3091,7 @@ declare namespace gapi.client {
3089
3091
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3090
3092
  uploadType?: string;
3091
3093
  },
3092
- body: ReportWorkItemStatusRequest
3094
+ body: ReportWorkItemStatusRequest,
3093
3095
  ): Request<ReportWorkItemStatusResponse>;
3094
3096
  }
3095
3097
  interface JobsResource {
@@ -3161,7 +3163,7 @@ declare namespace gapi.client {
3161
3163
  /** The level of information requested in response. */
3162
3164
  view?: string;
3163
3165
  },
3164
- body: Job
3166
+ body: Job,
3165
3167
  ): Request<Job>;
3166
3168
  /** Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`. */
3167
3169
  get(request?: {
@@ -3367,7 +3369,7 @@ declare namespace gapi.client {
3367
3369
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3368
3370
  uploadType?: string;
3369
3371
  },
3370
- body: SnapshotJobRequest
3372
+ body: SnapshotJobRequest,
3371
3373
  ): Request<Snapshot>;
3372
3374
  /** Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`. */
3373
3375
  update(request: {
@@ -3437,7 +3439,7 @@ declare namespace gapi.client {
3437
3439
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3438
3440
  uploadType?: string;
3439
3441
  },
3440
- body: Job
3442
+ body: Job,
3441
3443
  ): Request<Job>;
3442
3444
  debug: DebugResource;
3443
3445
  messages: MessagesResource;
@@ -3601,7 +3603,7 @@ declare namespace gapi.client {
3601
3603
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3602
3604
  uploadType?: string;
3603
3605
  },
3604
- body: CreateJobFromTemplateRequest
3606
+ body: CreateJobFromTemplateRequest,
3605
3607
  ): Request<Job>;
3606
3608
  /** Get the template associated with a template. To get the template, we recommend using `projects.locations.templates.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.get` is not recommended, because only templates that are running in `us-central1` are retrieved. */
3607
3609
  get(request?: {
@@ -3712,7 +3714,7 @@ declare namespace gapi.client {
3712
3714
  /** If true, the request is validated but not actually executed. Defaults to false. */
3713
3715
  validateOnly?: boolean;
3714
3716
  },
3715
- body: LaunchTemplateParameters
3717
+ body: LaunchTemplateParameters,
3716
3718
  ): Request<LaunchTemplateResponse>;
3717
3719
  }
3718
3720
  interface LocationsResource {
@@ -3776,7 +3778,7 @@ declare namespace gapi.client {
3776
3778
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3777
3779
  uploadType?: string;
3778
3780
  },
3779
- body: SendWorkerMessagesRequest
3781
+ body: SendWorkerMessagesRequest,
3780
3782
  ): Request<SendWorkerMessagesResponse>;
3781
3783
  flexTemplates: FlexTemplatesResource;
3782
3784
  jobs: JobsResource;
@@ -3904,7 +3906,7 @@ declare namespace gapi.client {
3904
3906
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3905
3907
  uploadType?: string;
3906
3908
  },
3907
- body: CreateJobFromTemplateRequest
3909
+ body: CreateJobFromTemplateRequest,
3908
3910
  ): Request<Job>;
3909
3911
  /** Get the template associated with a template. To get the template, we recommend using `projects.locations.templates.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.get` is not recommended, because only templates that are running in `us-central1` are retrieved. */
3910
3912
  get(request?: {
@@ -4015,7 +4017,7 @@ declare namespace gapi.client {
4015
4017
  /** If true, the request is validated but not actually executed. Defaults to false. */
4016
4018
  validateOnly?: boolean;
4017
4019
  },
4018
- body: LaunchTemplateParameters
4020
+ body: LaunchTemplateParameters,
4019
4021
  ): Request<LaunchTemplateResponse>;
4020
4022
  }
4021
4023
  interface ProjectsResource {
@@ -4106,7 +4108,7 @@ declare namespace gapi.client {
4106
4108
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4107
4109
  uploadType?: string;
4108
4110
  },
4109
- body: SendWorkerMessagesRequest
4111
+ body: SendWorkerMessagesRequest,
4110
4112
  ): Request<SendWorkerMessagesResponse>;
4111
4113
  jobs: JobsResource;
4112
4114
  locations: LocationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataflow-v1b3",
3
- "version": "0.0.20250120",
3
+ "version": "0.0.20250131",
4
4
  "description": "TypeScript typings for Dataflow API v1b3",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.dataflow
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -65,7 +65,7 @@ gapi.auth.authorize(
65
65
  } else {
66
66
  /* handle authorization error */
67
67
  }
68
- }
68
+ },
69
69
  );
70
70
  ```
71
71