@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20230724 → 0.0.20230907

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 +28 -28
  2. package/package.json +2 -2
  3. package/tests.ts +1 -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://workloadmanager.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230724
12
+ // Revision: 20230907
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -118,10 +118,10 @@ declare namespace gapi.client {
118
118
  /** Required. The instance id where the insight is generated from */
119
119
  instanceId?:
120
120
  string;
121
- /** The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes. */
121
+ /** The insights data for SAP system discovery. This is a copy of SAP System proto and should get updated whenever that one changes. */
122
122
  sapDiscovery?:
123
123
  SapDiscovery;
124
- /** The insights data for the sap workload validation. */
124
+ /** The insights data for the SAP workload validation. */
125
125
  sapValidation?:
126
126
  SapValidation;
127
127
  /** Output only. [Output only] Create time stamp */
@@ -230,9 +230,9 @@ declare namespace gapi.client {
230
230
  name?:
231
231
  string;
232
232
  /**
233
- * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
234
- * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
235
- * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
233
+ * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
234
+ * method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
235
+ * method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
236
236
  */
237
237
  response?:
238
238
  { [P in string]: any };
@@ -346,19 +346,19 @@ declare namespace gapi.client {
346
346
  string;
347
347
  }
348
348
  interface SapDiscovery {
349
- /** An SAP system may run without an application layer. */
349
+ /** Optional. An SAP system may run without an application layer. */
350
350
  applicationLayer?:
351
351
  SapDiscoveryComponent;
352
- /** An SAP System must have a database. */
352
+ /** Required. An SAP System must have a database. */
353
353
  databaseLayer?:
354
354
  SapDiscoveryComponent;
355
- /** The metadata for SAP system discovery data. */
355
+ /** Optional. The metadata for SAP system discovery data. */
356
356
  metadata?:
357
357
  SapDiscoveryMetadata;
358
- /** A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system. */
358
+ /** Output only. A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system. */
359
359
  systemId?:
360
360
  string;
361
- /** Unix timestamp this system has been updated last. */
361
+ /** Required. Unix timestamp this system has been updated last. */
362
362
  updateTime?:
363
363
  string;
364
364
  }
@@ -369,13 +369,13 @@ declare namespace gapi.client {
369
369
  /** Optional. The component is a SAP database. */
370
370
  databaseProperties?:
371
371
  SapDiscoveryComponentDatabaseProperties;
372
- /** Pantheon Project in which the resources reside. */
372
+ /** Required. Pantheon Project in which the resources reside. */
373
373
  hostProject?:
374
374
  string;
375
- /** The resources in a component. */
375
+ /** Optional. The resources in a component. */
376
376
  resources?:
377
377
  SapDiscoveryResource[];
378
- /** The sap identifier, used by the SAP software and helps differentiate systems for customers. */
378
+ /** Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers. */
379
379
  sid?:
380
380
  string;
381
381
  }
@@ -383,7 +383,7 @@ declare namespace gapi.client {
383
383
  /** Required. Type of the application. Netweaver, etc. */
384
384
  applicationType?:
385
385
  string;
386
- /** Required. Resource URI of the recognized ASCS host of the application. */
386
+ /** Optional. Resource URI of the recognized ASCS host of the application. */
387
387
  ascsUri?:
388
388
  string;
389
389
  /** Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node. */
@@ -402,21 +402,21 @@ declare namespace gapi.client {
402
402
  string;
403
403
  }
404
404
  interface SapDiscoveryMetadata {
405
- /** Customer region string for customer's use. Does not represent GCP region. */
405
+ /** Optional. Customer region string for customer's use. Does not represent GCP region. */
406
406
  customerRegion?:
407
407
  string;
408
- /** Customer defined, something like "E-commerce pre prod" */
408
+ /** Optional. Customer defined, something like "E-commerce pre prod" */
409
409
  definedSystem?:
410
410
  string;
411
- /** Should be "prod", "QA", "dev", "staging", etc. */
411
+ /** Optional. Should be "prod", "QA", "dev", "staging", etc. */
412
412
  environmentType?:
413
413
  string;
414
- /** This sap product name */
414
+ /** Optional. This SAP product name */
415
415
  sapProduct?:
416
416
  string;
417
417
  }
418
418
  interface SapDiscoveryResource {
419
- /** A list of resource URIs related to this resource. */
419
+ /** Optional. A list of resource URIs related to this resource. */
420
420
  relatedResources?:
421
421
  string[];
422
422
  /** Required. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. */
@@ -425,23 +425,23 @@ declare namespace gapi.client {
425
425
  /** Required. The type of this resource. */
426
426
  resourceType?:
427
427
  string;
428
- /** URI of the resource, includes project, location, and name. */
428
+ /** Required. URI of the resource, includes project, location, and name. */
429
429
  resourceUri?:
430
430
  string;
431
- /** Unix timestamp of when this resource last had its discovery data updated. */
431
+ /** Required. Unix timestamp of when this resource last had its discovery data updated. */
432
432
  updateTime?:
433
433
  string;
434
434
  }
435
435
  interface SapValidation {
436
- /** A list of SAP validation metrics data. */
436
+ /** Optional. A list of SAP validation metrics data. */
437
437
  validationDetails?:
438
438
  SapValidationValidationDetail[];
439
439
  }
440
440
  interface SapValidationValidationDetail {
441
- /** The pairs of metrics data: field name & field value. */
441
+ /** Optional. The pairs of metrics data: field name & field value. */
442
442
  details?:
443
443
  { [P in string]: string };
444
- /** The SAP system that the validation data is from. */
444
+ /** Optional. The SAP system that the validation data is from. */
445
445
  sapValidationType?:
446
446
  string;
447
447
  }
@@ -451,7 +451,7 @@ declare namespace gapi.client {
451
451
  string;
452
452
  }
453
453
  interface SqlserverValidation {
454
- /** The agent version collected this data point */
454
+ /** Optional. The agent version collected this data point */
455
455
  agentVersion?:
456
456
  string;
457
457
  /**
@@ -463,7 +463,7 @@ declare namespace gapi.client {
463
463
  /** Required. The project_id of the cloud project that the Insight data comes from. */
464
464
  projectId?:
465
465
  string;
466
- /** A list of SqlServer validation metrics data. */
466
+ /** Optional. A list of SqlServer validation metrics data. */
467
467
  validationDetails?:
468
468
  SqlserverValidationValidationDetail[];
469
469
  }
@@ -476,7 +476,7 @@ declare namespace gapi.client {
476
476
  /** Required. Details wraps map that represents collected data names and values. */
477
477
  details?:
478
478
  SqlserverValidationDetails[];
479
- /** The Sqlserver system that the validation data is from. */
479
+ /** Optional. The Sqlserver system that the validation data is from. */
480
480
  type?:
481
481
  string;
482
482
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20230724",
3
+ "version": "0.0.20230907",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -15,6 +15,6 @@
15
15
  "types": "index.d.ts",
16
16
  "dependencies": {
17
17
  "@types/gapi.client": "*",
18
- "@types/gapi.client.discovery": "*"
18
+ "@types/gapi.client.discovery-v1": "*"
19
19
  }
20
20
  }
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: 20230724
6
+ // Revision: 20230907
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */