@maxim_mazurok/gapi.client.dataflow-v1b3 0.0.20221128 → 0.0.20221214
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.
- package/index.d.ts +13 -1
- package/package.json +1 -1
- package/tests.ts +7 -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:
|
|
12
|
+
// Revision: 20221214
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1770,6 +1770,8 @@ declare namespace gapi.client {
|
|
|
1770
1770
|
workerMetrics?: ResourceUtilizationReport;
|
|
1771
1771
|
/** Shutdown notice by workers. */
|
|
1772
1772
|
workerShutdownNotice?: WorkerShutdownNotice;
|
|
1773
|
+
/** Thread scaling information reported by workers. */
|
|
1774
|
+
workerThreadScalingReport?: WorkerThreadScalingReport;
|
|
1773
1775
|
}
|
|
1774
1776
|
interface WorkerMessageCode {
|
|
1775
1777
|
/**
|
|
@@ -1794,6 +1796,8 @@ declare namespace gapi.client {
|
|
|
1794
1796
|
workerMetricsResponse?: any;
|
|
1795
1797
|
/** Service's response to shutdown notice (currently empty). */
|
|
1796
1798
|
workerShutdownNoticeResponse?: any;
|
|
1799
|
+
/** Service's thread scaling recommendation for workers. */
|
|
1800
|
+
workerThreadScalingReportResponse?: WorkerThreadScalingReportResponse;
|
|
1797
1801
|
}
|
|
1798
1802
|
interface WorkerPool {
|
|
1799
1803
|
/** Settings for autoscaling of this WorkerPool. */
|
|
@@ -1887,6 +1891,14 @@ declare namespace gapi.client {
|
|
|
1887
1891
|
// tslint:disable-next-line:no-empty-interface
|
|
1888
1892
|
interface WorkerShutdownNoticeResponse {
|
|
1889
1893
|
}
|
|
1894
|
+
interface WorkerThreadScalingReport {
|
|
1895
|
+
/** Current number of active threads in a worker. */
|
|
1896
|
+
currentThreadCount?: number;
|
|
1897
|
+
}
|
|
1898
|
+
interface WorkerThreadScalingReportResponse {
|
|
1899
|
+
/** Recommended number of threads for a worker. */
|
|
1900
|
+
recommendedThreadCount?: number;
|
|
1901
|
+
}
|
|
1890
1902
|
interface WorkItem {
|
|
1891
1903
|
/** Work item-specific configuration as an opaque blob. */
|
|
1892
1904
|
configuration?: string;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20221214
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -100,6 +100,9 @@ gapi.load('client', async () => {
|
|
|
100
100
|
workerShutdownNotice: {
|
|
101
101
|
reason: "Test string",
|
|
102
102
|
},
|
|
103
|
+
workerThreadScalingReport: {
|
|
104
|
+
currentThreadCount: 42,
|
|
105
|
+
},
|
|
103
106
|
}
|
|
104
107
|
],
|
|
105
108
|
});
|
|
@@ -1293,6 +1296,9 @@ gapi.load('client', async () => {
|
|
|
1293
1296
|
workerShutdownNotice: {
|
|
1294
1297
|
reason: "Test string",
|
|
1295
1298
|
},
|
|
1299
|
+
workerThreadScalingReport: {
|
|
1300
|
+
currentThreadCount: 42,
|
|
1301
|
+
},
|
|
1296
1302
|
}
|
|
1297
1303
|
],
|
|
1298
1304
|
});
|