@maxim_mazurok/gapi.client.workloadmanager-v1 0.1.20260107 → 0.1.20260128

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 +98 -9
  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: 20260107
12
+ // Revision: 20260128
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -139,10 +139,22 @@ declare namespace gapi.client {
139
139
  /** ShellCommand is invoked via the agent's command line executor. */
140
140
  shellCommand?: ShellCommand;
141
141
  }
142
+ interface ComponentHealth {
143
+ /** The component of a workload. */
144
+ component?: string;
145
+ /** The detailed health checks of the component. */
146
+ componentHealthChecks?: HealthCheck[];
147
+ /** Output only. The type of the component health. */
148
+ componentHealthType?: string;
149
+ /** Output only. The health state of the component. */
150
+ state?: string;
151
+ /** Sub component health. */
152
+ subComponentsHealth?: ComponentHealth[];
153
+ }
142
154
  interface DatabaseProperties {
143
155
  /** Output only. Backup properties. */
144
156
  backupProperties?: BackupProperties;
145
- /** Output only. Type of the database. HANA, DB2, etc. */
157
+ /** Output only. Type of the database. `HANA`, `DB2`, etc. */
146
158
  databaseType?: string;
147
159
  }
148
160
  interface Empty {}
@@ -236,6 +248,18 @@ declare namespace gapi.client {
236
248
  /** Service account of compute engine */
237
249
  serviceAccounts?: string[];
238
250
  }
251
+ interface HealthCheck {
252
+ /** Output only. The message of the health check. */
253
+ message?: string;
254
+ /** Output only. The health check source metric name. */
255
+ metric?: string;
256
+ /** Output only. The resource the check performs on. */
257
+ resource?: CloudResource;
258
+ /** Output only. The source of the health check. */
259
+ source?: string;
260
+ /** Output only. The state of the health check. */
261
+ state?: string;
262
+ }
239
263
  interface IAMPermission {
240
264
  /** Output only. Whether the permission is granted. */
241
265
  granted?: boolean;
@@ -481,7 +505,7 @@ declare namespace gapi.client {
481
505
  interface SapComponent {
482
506
  /** Output only. All instance properties. */
483
507
  databaseProperties?: DatabaseProperties;
484
- /** A list of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA. */
508
+ /** List of host URIs that are part of the HA configuration if present. An empty list indicates the component is not configured for HA. */
485
509
  haHosts?: string[];
486
510
  /** Output only. resources in the component */
487
511
  resources?: CloudResource[];
@@ -689,15 +713,15 @@ declare namespace gapi.client {
689
713
  sapValidationType?: string;
690
714
  }
691
715
  interface SapWorkload {
692
- /** Output only. the acsc componment */
716
+ /** Output only. application component */
693
717
  application?: SapComponent;
694
- /** Output only. the architecture */
718
+ /** Output only. The architecture. */
695
719
  architecture?: string;
696
- /** Output only. the database componment */
720
+ /** Output only. database component */
697
721
  database?: SapComponent;
698
722
  /** Output only. The metadata for SAP workload. */
699
723
  metadata?: {[P in string]: string};
700
- /** Output only. the products on this workload. */
724
+ /** Output only. The products on this workload. */
701
725
  products?: Product[];
702
726
  }
703
727
  interface ScannedResource {
@@ -773,7 +797,7 @@ declare namespace gapi.client {
773
797
  endTime?: string;
774
798
  /** Optional. Maintenance status */
775
799
  maintenanceStatus?: string;
776
- /** Optional. Instance maintenance behavior. Could be "MIGRATE" or "TERMINATE". */
800
+ /** Optional. Instance maintenance behavior. Could be `MIGRATE` or `TERMINATE`. */
777
801
  onHostMaintenance?: string;
778
802
  /** Optional. Start time */
779
803
  startTime?: string;
@@ -802,6 +826,14 @@ declare namespace gapi.client {
802
826
  /** Required. The type of the workload */
803
827
  workloadType?: string;
804
828
  }
829
+ interface WorkloadProfileHealth {
830
+ /** The time when the health check was performed. */
831
+ checkTime?: string;
832
+ /** The detailed condition reports of each component. */
833
+ componentsHealth?: ComponentHealth[];
834
+ /** Output only. The health state of the workload. */
835
+ state?: string;
836
+ }
805
837
  interface WriteInsightRequest {
806
838
  /** Optional. The agent version collected this data point. */
807
839
  agentVersion?: string;
@@ -811,7 +843,63 @@ declare namespace gapi.client {
811
843
  requestId?: string;
812
844
  }
813
845
  interface WriteInsightResponse {}
846
+ interface HealthResource {
847
+ /** Get the health of a discovered workload profile. */
848
+ get(request?: {
849
+ /** V1 error format. */
850
+ '$.xgafv'?: string;
851
+ /** OAuth access token. */
852
+ access_token?: string;
853
+ /** Data format for response. */
854
+ alt?: string;
855
+ /** JSONP */
856
+ callback?: string;
857
+ /** Selector specifying which fields to include in a partial response. */
858
+ fields?: string;
859
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
860
+ key?: string;
861
+ /** Required. The resource name */
862
+ name: string;
863
+ /** OAuth 2.0 token for the current user. */
864
+ oauth_token?: string;
865
+ /** Returns response with indentations and line breaks. */
866
+ prettyPrint?: boolean;
867
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
868
+ quotaUser?: string;
869
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
870
+ upload_protocol?: string;
871
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
872
+ uploadType?: string;
873
+ }): Request<WorkloadProfileHealth>;
874
+ }
814
875
  interface DiscoveredprofilesResource {
876
+ /** Gets details of a discovered workload profile. */
877
+ get(request?: {
878
+ /** V1 error format. */
879
+ '$.xgafv'?: string;
880
+ /** OAuth access token. */
881
+ access_token?: string;
882
+ /** Data format for response. */
883
+ alt?: string;
884
+ /** JSONP */
885
+ callback?: string;
886
+ /** Selector specifying which fields to include in a partial response. */
887
+ fields?: string;
888
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
889
+ key?: string;
890
+ /** Required. Name of the resource */
891
+ name: string;
892
+ /** OAuth 2.0 token for the current user. */
893
+ oauth_token?: string;
894
+ /** Returns response with indentations and line breaks. */
895
+ prettyPrint?: boolean;
896
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
897
+ quotaUser?: string;
898
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
899
+ upload_protocol?: string;
900
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
901
+ uploadType?: string;
902
+ }): Request<WorkloadProfile>;
815
903
  /** List discovered workload profiles */
816
904
  list(request?: {
817
905
  /** V1 error format. */
@@ -845,6 +933,7 @@ declare namespace gapi.client {
845
933
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
846
934
  uploadType?: string;
847
935
  }): Request<ListDiscoveredProfilesResponse>;
936
+ health: HealthResource;
848
937
  }
849
938
  interface ResultsResource {
850
939
  /** Lists the result of a single evaluation. */
@@ -1606,7 +1695,7 @@ declare namespace gapi.client {
1606
1695
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1607
1696
  uploadType?: string;
1608
1697
  }): Request<Location>;
1609
- /** Lists information about the supported locations for this service. */
1698
+ /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
1610
1699
  list(request?: {
1611
1700
  /** V1 error format. */
1612
1701
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.1.20260107",
3
+ "version": "0.1.20260128",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",