@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20230503 → 0.0.20230605
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 +14 -8
- package/package.json +1 -1
- package/tests.ts +5 -3
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://workloadmanager.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230605
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -32,6 +32,9 @@ declare namespace gapi.client {
|
|
|
32
32
|
/** Output only. [Output only] Create time stamp */
|
|
33
33
|
createTime?:
|
|
34
34
|
string;
|
|
35
|
+
/** The Cloud Storage bucket name for custom rules. */
|
|
36
|
+
customRulesBucket?:
|
|
37
|
+
string;
|
|
35
38
|
/** Description of the Evaluation */
|
|
36
39
|
description?:
|
|
37
40
|
string;
|
|
@@ -53,7 +56,7 @@ declare namespace gapi.client {
|
|
|
53
56
|
/** Output only. [Output only] The updated rule ids if exist. */
|
|
54
57
|
ruleVersions?:
|
|
55
58
|
string[];
|
|
56
|
-
/** crontab format schedule for scheduled evaluation,
|
|
59
|
+
/** crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *", */
|
|
57
60
|
schedule?:
|
|
58
61
|
string;
|
|
59
62
|
/** Output only. [Output only] Update time stamp */
|
|
@@ -112,6 +115,9 @@ declare namespace gapi.client {
|
|
|
112
115
|
string[];
|
|
113
116
|
}
|
|
114
117
|
interface Insight {
|
|
118
|
+
/** Required. The instance id where the insight is generated from */
|
|
119
|
+
instanceId?:
|
|
120
|
+
string;
|
|
115
121
|
/** The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes. */
|
|
116
122
|
sapDiscovery?:
|
|
117
123
|
SapDiscovery;
|
|
@@ -283,7 +289,7 @@ declare namespace gapi.client {
|
|
|
283
289
|
string[];
|
|
284
290
|
}
|
|
285
291
|
interface ResourceStatus {
|
|
286
|
-
/** the new version of rule id if exists */
|
|
292
|
+
/** Historical: Used before 2023-05-22 the new version of rule id if exists */
|
|
287
293
|
rulesNewerVersions?:
|
|
288
294
|
string[];
|
|
289
295
|
/** State of the resource */
|
|
@@ -431,12 +437,9 @@ declare namespace gapi.client {
|
|
|
431
437
|
SqlserverValidationValidationDetail[];
|
|
432
438
|
}
|
|
433
439
|
interface SqlserverValidationValidationDetail {
|
|
434
|
-
/**
|
|
435
|
-
|
|
440
|
+
/** pairs of metrics data: column name & column value. */
|
|
441
|
+
fields?:
|
|
436
442
|
{ [P in string]: string };
|
|
437
|
-
/** The instance id where the ValidationDetail is generated from */
|
|
438
|
-
instanceId?:
|
|
439
|
-
string;
|
|
440
443
|
/** The Sqlserver system that the validation data is from. */
|
|
441
444
|
type?:
|
|
442
445
|
string;
|
|
@@ -1280,6 +1283,9 @@ declare namespace gapi.client {
|
|
|
1280
1283
|
/** JSONP */
|
|
1281
1284
|
callback?:
|
|
1282
1285
|
string;
|
|
1286
|
+
/** The Cloud Storage bucket name for custom rules. */
|
|
1287
|
+
customRulesBucket?:
|
|
1288
|
+
string;
|
|
1283
1289
|
/** Selector specifying which fields to include in a partial response. */
|
|
1284
1290
|
fields?:
|
|
1285
1291
|
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: 20230605
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -47,6 +47,7 @@ gapi.load('client', async () => {
|
|
|
47
47
|
requestId: "Test string",
|
|
48
48
|
}, {
|
|
49
49
|
createTime: "Test string",
|
|
50
|
+
customRulesBucket: "Test string",
|
|
50
51
|
description: "Test string",
|
|
51
52
|
labels: {
|
|
52
53
|
A: "Test string"
|
|
@@ -147,6 +148,7 @@ gapi.load('client', async () => {
|
|
|
147
148
|
location: "Test string",
|
|
148
149
|
}, {
|
|
149
150
|
insight: {
|
|
151
|
+
instanceId: "Test string",
|
|
150
152
|
sapDiscovery: {
|
|
151
153
|
applicationLayer: {
|
|
152
154
|
applicationType: "Test string",
|
|
@@ -206,10 +208,9 @@ gapi.load('client', async () => {
|
|
|
206
208
|
agentVersion: "Test string",
|
|
207
209
|
validationDetails: [
|
|
208
210
|
{
|
|
209
|
-
|
|
211
|
+
fields: {
|
|
210
212
|
A: "Test string"
|
|
211
213
|
},
|
|
212
|
-
instanceId: "Test string",
|
|
213
214
|
type: "Test string",
|
|
214
215
|
}
|
|
215
216
|
],
|
|
@@ -247,6 +248,7 @@ gapi.load('client', async () => {
|
|
|
247
248
|
});
|
|
248
249
|
/** Lists rules in a given project. */
|
|
249
250
|
await gapi.client.workloadmanager.projects.locations.rules.list({
|
|
251
|
+
customRulesBucket: "Test string",
|
|
250
252
|
filter: "Test string",
|
|
251
253
|
pageSize: 42,
|
|
252
254
|
pageToken: "Test string",
|