@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20230503 → 0.0.20230524
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 -7
- 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: 20230524
|
|
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;
|
|
@@ -283,7 +286,7 @@ declare namespace gapi.client {
|
|
|
283
286
|
string[];
|
|
284
287
|
}
|
|
285
288
|
interface ResourceStatus {
|
|
286
|
-
/** the new version of rule id if exists */
|
|
289
|
+
/** Historical: Used before 2023-05-22 the new version of rule id if exists */
|
|
287
290
|
rulesNewerVersions?:
|
|
288
291
|
string[];
|
|
289
292
|
/** State of the resource */
|
|
@@ -431,12 +434,9 @@ declare namespace gapi.client {
|
|
|
431
434
|
SqlserverValidationValidationDetail[];
|
|
432
435
|
}
|
|
433
436
|
interface SqlserverValidationValidationDetail {
|
|
434
|
-
/**
|
|
435
|
-
|
|
437
|
+
/** pairs of metrics data: column name & column value. */
|
|
438
|
+
fields?:
|
|
436
439
|
{ [P in string]: string };
|
|
437
|
-
/** The instance id where the ValidationDetail is generated from */
|
|
438
|
-
instanceId?:
|
|
439
|
-
string;
|
|
440
440
|
/** The Sqlserver system that the validation data is from. */
|
|
441
441
|
type?:
|
|
442
442
|
string;
|
|
@@ -470,6 +470,9 @@ declare namespace gapi.client {
|
|
|
470
470
|
/** Required. The metrics data details. */
|
|
471
471
|
insight?:
|
|
472
472
|
Insight;
|
|
473
|
+
/** Optional. The instance id where the insight is generated from */
|
|
474
|
+
instanceId?:
|
|
475
|
+
string;
|
|
473
476
|
/**
|
|
474
477
|
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
|
|
475
478
|
* already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
|
|
@@ -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: 20230524
|
|
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"
|
|
@@ -206,15 +207,15 @@ gapi.load('client', async () => {
|
|
|
206
207
|
agentVersion: "Test string",
|
|
207
208
|
validationDetails: [
|
|
208
209
|
{
|
|
209
|
-
|
|
210
|
+
fields: {
|
|
210
211
|
A: "Test string"
|
|
211
212
|
},
|
|
212
|
-
instanceId: "Test string",
|
|
213
213
|
type: "Test string",
|
|
214
214
|
}
|
|
215
215
|
],
|
|
216
216
|
},
|
|
217
217
|
},
|
|
218
|
+
instanceId: "Test string",
|
|
218
219
|
requestId: "Test string",
|
|
219
220
|
});
|
|
220
221
|
/**
|
|
@@ -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",
|