@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20230605 → 0.0.20230630

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 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: 20230605
12
+ // Revision: 20230630
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -397,10 +397,10 @@ declare namespace gapi.client {
397
397
  /** A list of resource URIs related to this resource. */
398
398
  relatedResources?:
399
399
  string[];
400
- /** ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. */
400
+ /** Required. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. */
401
401
  resourceKind?:
402
402
  string;
403
- /** The type of this resource. */
403
+ /** Required. The type of this resource. */
404
404
  resourceType?:
405
405
  string;
406
406
  /** URI of the resource, includes project, location, and name. */
@@ -432,14 +432,28 @@ declare namespace gapi.client {
432
432
  /** The agent version collected this data point */
433
433
  agentVersion?:
434
434
  string;
435
+ /**
436
+ * Required. The instance_name of the instance that the Insight data comes from. According to https://linter.aip.dev/122/name-suffix: field names should not use the _name suffix unless
437
+ * the field would be ambiguous without it.
438
+ */
439
+ instance?:
440
+ string;
441
+ /** Required. The project_id of the cloud project that the Insight data comes from. */
442
+ projectId?:
443
+ string;
435
444
  /** A list of SqlServer validation metrics data. */
436
445
  validationDetails?:
437
446
  SqlserverValidationValidationDetail[];
438
447
  }
439
- interface SqlserverValidationValidationDetail {
440
- /** pairs of metrics data: column name & column value. */
448
+ interface SqlserverValidationDetails {
449
+ /** Required. Collected data is in format. */
441
450
  fields?:
442
451
  { [P in string]: string };
452
+ }
453
+ interface SqlserverValidationValidationDetail {
454
+ /** Required. Details wraps map that represents collected data names and values. */
455
+ details?:
456
+ SqlserverValidationDetails[];
443
457
  /** The Sqlserver system that the validation data is from. */
444
458
  type?:
445
459
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20230605",
3
+ "version": "0.0.20230630",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TypeScript typings for Workload Manager API v1
2
2
 
3
-
3
+ Workload Manager is a service that provides tooling for enterprise workloads to automate the deployment and validation of your workloads against best practices and recommendations.
4
4
  For detailed description please check [documentation](https://cloud.google.com/workload-manager/docs).
5
5
 
6
6
  ## Installing
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: 20230605
6
+ // Revision: 20230630
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -206,11 +206,17 @@ gapi.load('client', async () => {
206
206
  sentTime: "Test string",
207
207
  sqlserverValidation: {
208
208
  agentVersion: "Test string",
209
+ instance: "Test string",
210
+ projectId: "Test string",
209
211
  validationDetails: [
210
212
  {
211
- fields: {
212
- A: "Test string"
213
- },
213
+ details: [
214
+ {
215
+ fields: {
216
+ A: "Test string"
217
+ },
218
+ }
219
+ ],
214
220
  type: "Test string",
215
221
  }
216
222
  ],