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

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 +92 -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: 20250528
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -34,6 +34,68 @@ 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 AgentStatus {
38
+ /** Output only. The name of the agent. */
39
+ agentName?: string;
40
+ /** Output only. The available version of the agent in artifact registry. */
41
+ availableVersion?: string;
42
+ /** Output only. Whether the agent has full access to Cloud APIs. */
43
+ cloudApiAccessFullScopesGranted?: string;
44
+ /** Output only. The error message for the agent configuration if invalid. */
45
+ configurationErrorMessage?: string;
46
+ /** Output only. The path to the agent configuration file. */
47
+ configurationFilePath?: string;
48
+ /** Output only. Whether the agent configuration is valid. */
49
+ configurationValid?: string;
50
+ /** Output only. The installed version of the agent on the host. */
51
+ installedVersion?: string;
52
+ /** Output only. The kernel version of the system. */
53
+ kernelVersion?: SapDiscoveryResourceInstancePropertiesKernelVersion;
54
+ /** Output only. Optional references to public documentation. */
55
+ references?: AgentStatusReference[];
56
+ /** Output only. The services (process metrics, host metrics, etc.). */
57
+ services?: AgentStatusServiceStatus[];
58
+ /** Output only. Whether the agent service is enabled in systemd. */
59
+ systemdServiceEnabled?: string;
60
+ /** Output only. Whether the agent service is running in systemd. */
61
+ systemdServiceRunning?: string;
62
+ }
63
+ interface AgentStatusConfigValue {
64
+ /** Output only. Whether the configuration value is the default value or overridden. */
65
+ isDefault?: boolean;
66
+ /** Output only. The name of the configuration value. */
67
+ name?: string;
68
+ /** Output only. The value of the configuration value. */
69
+ value?: string;
70
+ }
71
+ interface AgentStatusIAMPermission {
72
+ /** Output only. Whether the permission is granted. */
73
+ granted?: string;
74
+ /** Output only. The name of the permission. */
75
+ name?: string;
76
+ }
77
+ interface AgentStatusReference {
78
+ /** Output only. The name of the reference. */
79
+ name?: string;
80
+ /** Output only. The URL of the reference. */
81
+ url?: string;
82
+ }
83
+ interface AgentStatusServiceStatus {
84
+ /** Output only. The configuration values for the service. */
85
+ configValues?: AgentStatusConfigValue[];
86
+ /** Output only. The error message for the service if it is not fully functional. */
87
+ errorMessage?: string;
88
+ /** Output only. Whether the service is fully functional (all checks passed). */
89
+ fullyFunctional?: string;
90
+ /** Output only. The permissions required for the service. */
91
+ iamPermissions?: AgentStatusIAMPermission[];
92
+ /** Output only. The name of the service. */
93
+ name?: string;
94
+ /** Output only. The state of the service (enabled or disabled in the configuration). */
95
+ state?: string;
96
+ /** Output only. The message to display when the service state is unspecified. */
97
+ unspecifiedStateMessage?: string;
98
+ }
37
99
  interface BackupProperties {
38
100
  /** Output only. The state of the latest backup. */
39
101
  latestBackupStatus?: string;
@@ -72,8 +134,9 @@ declare namespace gapi.client {
72
134
  isRequired?: boolean;
73
135
  /** Output only. The health state of the component. */
74
136
  state?: string;
75
- /** Sub component health. */
76
137
  subComponentHealthes?: ComponentHealth[];
138
+ /** Sub component health. */
139
+ subComponentsHealth?: ComponentHealth[];
77
140
  }
78
141
  interface DatabaseProperties {
79
142
  /** Output only. Backup properties. */
@@ -181,6 +244,8 @@ declare namespace gapi.client {
181
244
  state?: string;
182
245
  }
183
246
  interface Insight {
247
+ /** The insights data for the agent status. */
248
+ agentStatus?: AgentStatus;
184
249
  /** Required. The instance id where the insight is generated from */
185
250
  instanceId?: string;
186
251
  /** The insights data for SAP system discovery. This is a copy of SAP System proto and should get updated whenever that one changes. */
@@ -194,21 +259,11 @@ declare namespace gapi.client {
194
259
  /** The insights data for workload validation of torso workloads. */
195
260
  torsoValidation?: TorsoValidation;
196
261
  }
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
262
  interface InstanceProperties {
206
263
  /** Optional. Instance number. */
207
264
  instanceNumber?: string;
208
265
  /** Optional. Instance machine type. */
209
266
  machineType?: string;
210
- /** Optional. Instance role. */
211
- role?: string;
212
267
  /** Optional. Instance roles. */
213
268
  roles?: string[];
214
269
  /** Optional. SAP Instance properties. */
@@ -218,16 +273,6 @@ declare namespace gapi.client {
218
273
  /** Optional. the next maintenance event on VM */
219
274
  upcomingMaintenanceEvent?: UpcomingMaintenanceEvent;
220
275
  }
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
276
  interface ListDiscoveredProfilesResponse {
232
277
  /** Output only. A token identifying a page of results the server should return */
233
278
  nextPageToken?: string;
@@ -527,6 +572,8 @@ declare namespace gapi.client {
527
572
  instanceRole?: string;
528
573
  /** Optional. Instance is part of a DR site. */
529
574
  isDrSite?: boolean;
575
+ /** Optional. The kernel version of the instance. */
576
+ osKernelVersion?: SapDiscoveryResourceInstancePropertiesKernelVersion;
530
577
  /** Optional. A virtual hostname of the instance if it has one. */
531
578
  virtualHostname?: string;
532
579
  }
@@ -544,6 +591,26 @@ declare namespace gapi.client {
544
591
  /** Optional. Name of the disk. */
545
592
  name?: string;
546
593
  }
594
+ interface SapDiscoveryResourceInstancePropertiesKernelVersion {
595
+ /** Optional. Captures the distro-specific kernel version, the portion of the string following the first dash. */
596
+ distroKernel?: SapDiscoveryResourceInstancePropertiesKernelVersionVersion;
597
+ /** Optional. Captures the OS-specific kernel version, the portion of the string up to the first dash. */
598
+ osKernel?: SapDiscoveryResourceInstancePropertiesKernelVersionVersion;
599
+ /** Optional. Raw string of the kernel version. */
600
+ rawString?: string;
601
+ }
602
+ interface SapDiscoveryResourceInstancePropertiesKernelVersionVersion {
603
+ /** Optional. The build version number. */
604
+ build?: number;
605
+ /** Optional. The major version number. */
606
+ major?: number;
607
+ /** Optional. The minor version number. */
608
+ minor?: number;
609
+ /** Optional. The patch version number. */
610
+ patch?: number;
611
+ /** 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. */
612
+ remainder?: string;
613
+ }
547
614
  interface SapDiscoveryWorkloadProperties {
548
615
  /** Optional. List of SAP Products and their versions running on the system. */
549
616
  productVersions?: SapDiscoveryWorkloadPropertiesProductVersion[];
@@ -681,30 +748,23 @@ declare namespace gapi.client {
681
748
  serviceAccount?: string;
682
749
  }
683
750
  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
751
  /** Optional. such as name, description, version. More example can be found in deployment */
691
752
  labels?: {[P in string]: string};
692
- /** Identifier. name of resource names have the form 'projects/{project_id}/workloads/{workload_id}' */
753
+ /** Identifier. name of resource names have the form 'projects/{project_id}/locations/{location}/workloadProfiles/{workload_id}' */
693
754
  name?: string;
694
755
  /** Required. time when the workload data was refreshed */
695
756
  refreshedTime?: string;
696
757
  /** The sap workload content */
697
758
  sapWorkload?: SapWorkload;
698
- /** Output only. [output only] the current state if a a workload */
699
- state?: string;
700
759
  /** Required. The type of the workload */
701
760
  workloadType?: string;
702
761
  }
703
762
  interface WorkloadProfileHealth {
704
763
  /** The time when the health check was performed. */
705
764
  checkTime?: string;
706
- /** The detailed condition reports of each component. */
707
765
  componentHealthes?: ComponentHealth[];
766
+ /** The detailed condition reports of each component. */
767
+ componentsHealth?: ComponentHealth[];
708
768
  /** Output only. The health state of the workload. */
709
769
  state?: string;
710
770
  }
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.20250528",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",