@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20250416 → 0.0.20250507

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 (2) hide show
  1. package/index.d.ts +28 -32
  2. package/package.json +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: 20250416
12
+ // Revision: 20250507
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -72,8 +72,9 @@ declare namespace gapi.client {
72
72
  isRequired?: boolean;
73
73
  /** Output only. The health state of the component. */
74
74
  state?: string;
75
- /** Sub component health. */
76
75
  subComponentHealthes?: ComponentHealth[];
76
+ /** Sub component health. */
77
+ subComponentsHealth?: ComponentHealth[];
77
78
  }
78
79
  interface DatabaseProperties {
79
80
  /** Output only. Backup properties. */
@@ -194,21 +195,11 @@ declare namespace gapi.client {
194
195
  /** The insights data for workload validation of torso workloads. */
195
196
  torsoValidation?: TorsoValidation;
196
197
  }
197
- interface Instance {
198
- /** Output only. name of the VM */
199
- name?: string;
200
- /** Output only. The location of the VM */
201
- region?: string;
202
- /** Output only. The state of the VM */
203
- status?: string;
204
- }
205
198
  interface InstanceProperties {
206
199
  /** Optional. Instance number. */
207
200
  instanceNumber?: string;
208
201
  /** Optional. Instance machine type. */
209
202
  machineType?: string;
210
- /** Optional. Instance role. */
211
- role?: string;
212
203
  /** Optional. Instance roles. */
213
204
  roles?: string[];
214
205
  /** Optional. SAP Instance properties. */
@@ -218,16 +209,6 @@ declare namespace gapi.client {
218
209
  /** Optional. the next maintenance event on VM */
219
210
  upcomingMaintenanceEvent?: UpcomingMaintenanceEvent;
220
211
  }
221
- interface Layer {
222
- /** the application layer */
223
- applicationType?: string;
224
- /** Optional. the database layer */
225
- databaseType?: string;
226
- /** Optional. instances in a layer */
227
- instances?: Instance[];
228
- /** Output only. system identification of a layer */
229
- sid?: string;
230
- }
231
212
  interface ListDiscoveredProfilesResponse {
232
213
  /** Output only. A token identifying a page of results the server should return */
233
214
  nextPageToken?: string;
@@ -527,6 +508,8 @@ declare namespace gapi.client {
527
508
  instanceRole?: string;
528
509
  /** Optional. Instance is part of a DR site. */
529
510
  isDrSite?: boolean;
511
+ /** Optional. The kernel version of the instance. */
512
+ osKernelVersion?: SapDiscoveryResourceInstancePropertiesKernelVersion;
530
513
  /** Optional. A virtual hostname of the instance if it has one. */
531
514
  virtualHostname?: string;
532
515
  }
@@ -544,6 +527,26 @@ declare namespace gapi.client {
544
527
  /** Optional. Name of the disk. */
545
528
  name?: string;
546
529
  }
530
+ interface SapDiscoveryResourceInstancePropertiesKernelVersion {
531
+ /** Optional. Captures the distro-specific kernel version, the portion of the string following the first dash. */
532
+ distroKernel?: SapDiscoveryResourceInstancePropertiesKernelVersionVersion;
533
+ /** Optional. Captures the OS-specific kernel version, the portion of the string up to the first dash. */
534
+ osKernel?: SapDiscoveryResourceInstancePropertiesKernelVersionVersion;
535
+ /** Optional. Raw string of the kernel version. */
536
+ rawString?: string;
537
+ }
538
+ interface SapDiscoveryResourceInstancePropertiesKernelVersionVersion {
539
+ /** Optional. The build version number. */
540
+ build?: number;
541
+ /** Optional. The major version number. */
542
+ major?: number;
543
+ /** Optional. The minor version number. */
544
+ minor?: number;
545
+ /** Optional. The patch version number. */
546
+ patch?: number;
547
+ /** Optional. A catch-all for any unparsed version components. This is in case the number of points in the version string exceeds the expected count of 4. */
548
+ remainder?: string;
549
+ }
547
550
  interface SapDiscoveryWorkloadProperties {
548
551
  /** Optional. List of SAP Products and their versions running on the system. */
549
552
  productVersions?: SapDiscoveryWorkloadPropertiesProductVersion[];
@@ -681,30 +684,23 @@ declare namespace gapi.client {
681
684
  serviceAccount?: string;
682
685
  }
683
686
  interface WorkloadProfile {
684
- /** Optional. The application layer */
685
- application?: Layer;
686
- /** Optional. The ascs layer */
687
- ascs?: Layer;
688
- /** Optional. The database layer */
689
- database?: Layer;
690
687
  /** Optional. such as name, description, version. More example can be found in deployment */
691
688
  labels?: {[P in string]: string};
692
- /** Identifier. name of resource names have the form 'projects/{project_id}/workloads/{workload_id}' */
689
+ /** Identifier. name of resource names have the form 'projects/{project_id}/locations/{location}/workloadProfiles/{workload_id}' */
693
690
  name?: string;
694
691
  /** Required. time when the workload data was refreshed */
695
692
  refreshedTime?: string;
696
693
  /** The sap workload content */
697
694
  sapWorkload?: SapWorkload;
698
- /** Output only. [output only] the current state if a a workload */
699
- state?: string;
700
695
  /** Required. The type of the workload */
701
696
  workloadType?: string;
702
697
  }
703
698
  interface WorkloadProfileHealth {
704
699
  /** The time when the health check was performed. */
705
700
  checkTime?: string;
706
- /** The detailed condition reports of each component. */
707
701
  componentHealthes?: ComponentHealth[];
702
+ /** The detailed condition reports of each component. */
703
+ componentsHealth?: ComponentHealth[];
708
704
  /** Output only. The health state of the workload. */
709
705
  state?: string;
710
706
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20250416",
3
+ "version": "0.0.20250507",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",