@maxim_mazurok/gapi.client.dataflow-v1b3 0.0.20250512 → 0.0.20250604

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 +89 -1
  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://dataflow.googleapis.com/$discovery/rest?version=v1b3
12
- // Revision: 20250512
12
+ // Revision: 20250604
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -543,6 +543,14 @@ declare namespace gapi.client {
543
543
  /** Template Type. */
544
544
  templateType?: string;
545
545
  }
546
+ interface GetWorkerStacktracesRequest {
547
+ /** The worker for which to get stacktraces. The returned stacktraces will be for the SDK harness running on this worker. */
548
+ workerId?: string;
549
+ }
550
+ interface GetWorkerStacktracesResponse {
551
+ /** Repeated as unified worker may have multiple SDK processes. */
552
+ sdks?: Sdk[];
553
+ }
546
554
  interface GPUUsage {
547
555
  /** Required. Timestamp of the measurement. */
548
556
  timestamp?: string;
@@ -1206,6 +1214,12 @@ declare namespace gapi.client {
1206
1214
  /** Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog. For more information, see [Update an existing pipeline](https://cloud.google.com/dataflow/docs/guides/updating-a-pipeline). */
1207
1215
  workerUtilizationHint?: number;
1208
1216
  }
1217
+ interface Sdk {
1218
+ /** The SDK harness id. */
1219
+ sdkId?: string;
1220
+ /** The stacktraces for the processes running on the SDK harness. */
1221
+ stacks?: Stack[];
1222
+ }
1209
1223
  interface SdkBug {
1210
1224
  /** Output only. How severe the SDK bug is. */
1211
1225
  severity?: string;
@@ -1437,6 +1451,18 @@ declare namespace gapi.client {
1437
1451
  /** The low order bits: n & 0xffffffff. */
1438
1452
  lowBits?: number;
1439
1453
  }
1454
+ interface Stack {
1455
+ /** The raw stack trace. */
1456
+ stackContent?: string;
1457
+ /** With java thread dumps we may get collapsed stacks e.g., N threads in stack "". Instead of having to copy over the same stack trace N times, this int field captures this. */
1458
+ threadCount?: number;
1459
+ /** Thread name. For example, "CommitThread-0,10,main" */
1460
+ threadName?: string;
1461
+ /** The state of the thread. For example, "WAITING". */
1462
+ threadState?: string;
1463
+ /** Timestamp at which the stack was captured. */
1464
+ timestamp?: string;
1465
+ }
1440
1466
  interface StageExecutionDetails {
1441
1467
  /** If present, this response does not contain all requested tasks. To obtain the next page of results, repeat the request with page_token set to this value. */
1442
1468
  nextPageToken?: string;
@@ -2068,6 +2094,68 @@ declare namespace gapi.client {
2068
2094
  },
2069
2095
  body: GetDebugConfigRequest,
2070
2096
  ): Request<GetDebugConfigResponse>;
2097
+ /** Get worker stacktraces from debug capture. */
2098
+ getWorkerStacktraces(request: {
2099
+ /** V1 error format. */
2100
+ '$.xgafv'?: string;
2101
+ /** OAuth access token. */
2102
+ access_token?: string;
2103
+ /** Data format for response. */
2104
+ alt?: string;
2105
+ /** JSONP */
2106
+ callback?: string;
2107
+ /** Selector specifying which fields to include in a partial response. */
2108
+ fields?: string;
2109
+ /** The job for which to get stacktraces. */
2110
+ jobId: string;
2111
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2112
+ key?: string;
2113
+ /** OAuth 2.0 token for the current user. */
2114
+ oauth_token?: string;
2115
+ /** Returns response with indentations and line breaks. */
2116
+ prettyPrint?: boolean;
2117
+ /** The project id. */
2118
+ projectId: string;
2119
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2120
+ quotaUser?: string;
2121
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2122
+ upload_protocol?: string;
2123
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2124
+ uploadType?: string;
2125
+ /** Request body */
2126
+ resource: GetWorkerStacktracesRequest;
2127
+ }): Request<GetWorkerStacktracesResponse>;
2128
+ getWorkerStacktraces(
2129
+ request: {
2130
+ /** V1 error format. */
2131
+ '$.xgafv'?: string;
2132
+ /** OAuth access token. */
2133
+ access_token?: string;
2134
+ /** Data format for response. */
2135
+ alt?: string;
2136
+ /** JSONP */
2137
+ callback?: string;
2138
+ /** Selector specifying which fields to include in a partial response. */
2139
+ fields?: string;
2140
+ /** The job for which to get stacktraces. */
2141
+ jobId: string;
2142
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
2143
+ key?: string;
2144
+ /** OAuth 2.0 token for the current user. */
2145
+ oauth_token?: string;
2146
+ /** Returns response with indentations and line breaks. */
2147
+ prettyPrint?: boolean;
2148
+ /** The project id. */
2149
+ projectId: string;
2150
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2151
+ quotaUser?: string;
2152
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2153
+ upload_protocol?: string;
2154
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2155
+ uploadType?: string;
2156
+ },
2157
+ body: GetWorkerStacktracesRequest,
2158
+ ): Request<GetWorkerStacktracesResponse>;
2071
2159
  /** Send encoded debug capture data for component. */
2072
2160
  sendCapture(request: {
2073
2161
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataflow-v1b3",
3
- "version": "0.0.20250512",
3
+ "version": "0.0.20250604",
4
4
  "description": "TypeScript typings for Dataflow API v1b3",
5
5
  "repository": {
6
6
  "type": "git",