@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20250326 → 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 +30 -116
  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: 20250326
12
+ // Revision: 20250507
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -34,36 +34,6 @@ declare namespace gapi.client {
34
34
  /** parameters is a map of key/value pairs that can be used to specify additional one-time executable settings. */
35
35
  parameters?: {[P in string]: string};
36
36
  }
37
- interface APILayerServer {
38
- /** Output only. The api layer name */
39
- name?: string;
40
- /** Output only. OS information */
41
- osVersion?: string;
42
- /** Output only. resources in the component */
43
- resources?: CloudResource[];
44
- }
45
- interface AvailabilityGroup {
46
- /** Output only. The databases */
47
- databases?: string[];
48
- /** Output only. The availability group name */
49
- name?: string;
50
- /** Output only. The primary server */
51
- primaryServer?: string;
52
- /** Output only. The secondary servers */
53
- secondaryServers?: string[];
54
- }
55
- interface BackendServer {
56
- /** Output only. The backup file */
57
- backupFile?: string;
58
- /** Output only. The backup schedule */
59
- backupSchedule?: string;
60
- /** Output only. The backend name */
61
- name?: string;
62
- /** Output only. OS information */
63
- osVersion?: string;
64
- /** Output only. resources in the component */
65
- resources?: CloudResource[];
66
- }
67
37
  interface BackupProperties {
68
38
  /** Output only. The state of the latest backup. */
69
39
  latestBackupStatus?: string;
@@ -85,12 +55,6 @@ declare namespace gapi.client {
85
55
  /** Output only. resource name */
86
56
  name?: string;
87
57
  }
88
- interface Cluster {
89
- /** Output only. The nodes */
90
- nodes?: string[];
91
- /** Output only. The witness server */
92
- witnessServer?: string;
93
- }
94
58
  interface Command {
95
59
  /** AgentCommand specifies a one-time executable program for the agent to run. */
96
60
  agentCommand?: AgentCommand;
@@ -108,18 +72,9 @@ declare namespace gapi.client {
108
72
  isRequired?: boolean;
109
73
  /** Output only. The health state of the component. */
110
74
  state?: string;
111
- /** Sub component health. */
112
75
  subComponentHealthes?: ComponentHealth[];
113
- }
114
- interface Database {
115
- /** Output only. The backup file */
116
- backupFile?: string;
117
- /** Output only. The backup schedule */
118
- backupSchedule?: string;
119
- /** Output only. The host VM */
120
- hostVm?: string;
121
- /** Output only. The database name */
122
- name?: string;
76
+ /** Sub component health. */
77
+ subComponentsHealth?: ComponentHealth[];
123
78
  }
124
79
  interface DatabaseProperties {
125
80
  /** Output only. Backup properties. */
@@ -210,14 +165,6 @@ declare namespace gapi.client {
210
165
  /** Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID} */
211
166
  uri?: string;
212
167
  }
213
- interface FrontEndServer {
214
- /** Output only. The frontend name */
215
- name?: string;
216
- /** Output only. OS information */
217
- osVersion?: string;
218
- /** Output only. resources in the component */
219
- resources?: CloudResource[];
220
- }
221
168
  interface GceInstanceFilter {
222
169
  /** Service account of compute engine */
223
170
  serviceAccounts?: string[];
@@ -248,21 +195,11 @@ declare namespace gapi.client {
248
195
  /** The insights data for workload validation of torso workloads. */
249
196
  torsoValidation?: TorsoValidation;
250
197
  }
251
- interface Instance {
252
- /** Output only. name of the VM */
253
- name?: string;
254
- /** Output only. The location of the VM */
255
- region?: string;
256
- /** Output only. The state of the VM */
257
- status?: string;
258
- }
259
198
  interface InstanceProperties {
260
199
  /** Optional. Instance number. */
261
200
  instanceNumber?: string;
262
201
  /** Optional. Instance machine type. */
263
202
  machineType?: string;
264
- /** Optional. Instance role. */
265
- role?: string;
266
203
  /** Optional. Instance roles. */
267
204
  roles?: string[];
268
205
  /** Optional. SAP Instance properties. */
@@ -272,16 +209,6 @@ declare namespace gapi.client {
272
209
  /** Optional. the next maintenance event on VM */
273
210
  upcomingMaintenanceEvent?: UpcomingMaintenanceEvent;
274
211
  }
275
- interface Layer {
276
- /** the application layer */
277
- applicationType?: string;
278
- /** Optional. the database layer */
279
- databaseType?: string;
280
- /** Optional. instances in a layer */
281
- instances?: Instance[];
282
- /** Output only. system identification of a layer */
283
- sid?: string;
284
- }
285
212
  interface ListDiscoveredProfilesResponse {
286
213
  /** Output only. A token identifying a page of results the server should return */
287
214
  nextPageToken?: string;
@@ -336,12 +263,6 @@ declare namespace gapi.client {
336
263
  /** All scanned resources in response */
337
264
  scannedResources?: ScannedResource[];
338
265
  }
339
- interface LoadBalancerServer {
340
- /** Output only. The IP address */
341
- ip?: string;
342
- /** Output only. The VM name */
343
- vm?: string;
344
- }
345
266
  interface Location {
346
267
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
347
268
  displayName?: string;
@@ -587,6 +508,8 @@ declare namespace gapi.client {
587
508
  instanceRole?: string;
588
509
  /** Optional. Instance is part of a DR site. */
589
510
  isDrSite?: boolean;
511
+ /** Optional. The kernel version of the instance. */
512
+ osKernelVersion?: SapDiscoveryResourceInstancePropertiesKernelVersion;
590
513
  /** Optional. A virtual hostname of the instance if it has one. */
591
514
  virtualHostname?: string;
592
515
  }
@@ -604,6 +527,26 @@ declare namespace gapi.client {
604
527
  /** Optional. Name of the disk. */
605
528
  name?: string;
606
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
+ }
607
550
  interface SapDiscoveryWorkloadProperties {
608
551
  /** Optional. List of SAP Products and their versions running on the system. */
609
552
  productVersions?: SapDiscoveryWorkloadPropertiesProductVersion[];
@@ -692,16 +635,6 @@ declare namespace gapi.client {
692
635
  /** Optional. The Sqlserver system that the validation data is from. */
693
636
  type?: string;
694
637
  }
695
- interface SqlserverWorkload {
696
- /** Output only. The availability groups for sqlserver */
697
- ags?: AvailabilityGroup[];
698
- /** Output only. The cluster for sqlserver */
699
- cluster?: Cluster;
700
- /** Output only. The databases for sqlserver */
701
- databases?: Database[];
702
- /** Output only. The load balancer for sqlserver */
703
- loadBalancerServer?: LoadBalancerServer;
704
- }
705
638
  interface Status {
706
639
  /** The status code, which should be an enum value of google.rpc.Code. */
707
640
  code?: number;
@@ -718,16 +651,6 @@ declare namespace gapi.client {
718
651
  /** Output only. Number of new fixes compared to the previous execution */
719
652
  newFixes?: string;
720
653
  }
721
- interface ThreeTierWorkload {
722
- /** Output only. The API layer for three tier workload */
723
- apiLayer?: APILayerServer;
724
- /** Output only. The backend for three tier workload */
725
- backend?: BackendServer;
726
- /** Output only. the workload endpoint */
727
- endpoint?: string;
728
- /** Output only. The frontend for three tier workload */
729
- frontend?: FrontEndServer;
730
- }
731
654
  interface TorsoValidation {
732
655
  /** Required. agent_version lists the version of the agent that collected this data. */
733
656
  agentVersion?: string;
@@ -745,6 +668,8 @@ declare namespace gapi.client {
745
668
  endTime?: string;
746
669
  /** Optional. Maintenance status */
747
670
  maintenanceStatus?: string;
671
+ /** Optional. Instance maintenance behavior. Could be "MIGRATE" or "TERMINATE". */
672
+ onHostMaintenance?: string;
748
673
  /** Optional. Start time */
749
674
  startTime?: string;
750
675
  /** Optional. Type */
@@ -759,34 +684,23 @@ declare namespace gapi.client {
759
684
  serviceAccount?: string;
760
685
  }
761
686
  interface WorkloadProfile {
762
- /** Optional. The application layer */
763
- application?: Layer;
764
- /** Optional. The ascs layer */
765
- ascs?: Layer;
766
- /** Optional. The database layer */
767
- database?: Layer;
768
687
  /** Optional. such as name, description, version. More example can be found in deployment */
769
688
  labels?: {[P in string]: string};
770
- /** 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}' */
771
690
  name?: string;
772
691
  /** Required. time when the workload data was refreshed */
773
692
  refreshedTime?: string;
774
693
  /** The sap workload content */
775
694
  sapWorkload?: SapWorkload;
776
- /** The sqlserver workload content */
777
- sqlserverWorkload?: SqlserverWorkload;
778
- /** Output only. [output only] the current state if a a workload */
779
- state?: string;
780
- /** The 3 tier web app workload content */
781
- threeTierWorkload?: ThreeTierWorkload;
782
695
  /** Required. The type of the workload */
783
696
  workloadType?: string;
784
697
  }
785
698
  interface WorkloadProfileHealth {
786
699
  /** The time when the health check was performed. */
787
700
  checkTime?: string;
788
- /** The detailed condition reports of each component. */
789
701
  componentHealthes?: ComponentHealth[];
702
+ /** The detailed condition reports of each component. */
703
+ componentsHealth?: ComponentHealth[];
790
704
  /** Output only. The health state of the workload. */
791
705
  state?: string;
792
706
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20250326",
3
+ "version": "0.0.20250507",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",