@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20230524 → 0.0.20230621

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 +12 -7
  2. package/package.json +1 -1
  3. package/tests.ts +9 -5
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: 20230524
12
+ // Revision: 20230621
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -56,7 +56,7 @@ declare namespace gapi.client {
56
56
  /** Output only. [Output only] The updated rule ids if exist. */
57
57
  ruleVersions?:
58
58
  string[];
59
- /** crontab format schedule for scheduled evaluation, example: 0 *‍/3 * * * */
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 * *", */
60
60
  schedule?:
61
61
  string;
62
62
  /** Output only. [Output only] Update time stamp */
@@ -115,6 +115,9 @@ declare namespace gapi.client {
115
115
  string[];
116
116
  }
117
117
  interface Insight {
118
+ /** Required. The instance id where the insight is generated from */
119
+ instanceId?:
120
+ string;
118
121
  /** The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes. */
119
122
  sapDiscovery?:
120
123
  SapDiscovery;
@@ -433,10 +436,15 @@ declare namespace gapi.client {
433
436
  validationDetails?:
434
437
  SqlserverValidationValidationDetail[];
435
438
  }
436
- interface SqlserverValidationValidationDetail {
437
- /** pairs of metrics data: column name & column value. */
439
+ interface SqlserverValidationDetails {
440
+ /** Required. Collected data is in format. */
438
441
  fields?:
439
442
  { [P in string]: string };
443
+ }
444
+ interface SqlserverValidationValidationDetail {
445
+ /** Required. Details wraps map that represents collected data names and values. */
446
+ details?:
447
+ SqlserverValidationDetails[];
440
448
  /** The Sqlserver system that the validation data is from. */
441
449
  type?:
442
450
  string;
@@ -470,9 +478,6 @@ declare namespace gapi.client {
470
478
  /** Required. The metrics data details. */
471
479
  insight?:
472
480
  Insight;
473
- /** Optional. The instance id where the insight is generated from */
474
- instanceId?:
475
- string;
476
481
  /**
477
482
  * 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
478
483
  * 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20230524",
3
+ "version": "0.0.20230621",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230524
6
+ // Revision: 20230621
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -148,6 +148,7 @@ gapi.load('client', async () => {
148
148
  location: "Test string",
149
149
  }, {
150
150
  insight: {
151
+ instanceId: "Test string",
151
152
  sapDiscovery: {
152
153
  applicationLayer: {
153
154
  applicationType: "Test string",
@@ -207,15 +208,18 @@ gapi.load('client', async () => {
207
208
  agentVersion: "Test string",
208
209
  validationDetails: [
209
210
  {
210
- fields: {
211
- A: "Test string"
212
- },
211
+ details: [
212
+ {
213
+ fields: {
214
+ A: "Test string"
215
+ },
216
+ }
217
+ ],
213
218
  type: "Test string",
214
219
  }
215
220
  ],
216
221
  },
217
222
  },
218
- instanceId: "Test string",
219
223
  requestId: "Test string",
220
224
  });
221
225
  /**