@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20240228 → 0.0.20240306

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 +7 -244
  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: 20240228
12
+ // Revision: 20240306
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,36 +28,6 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace workloadmanager {
31
- interface APILayerServer {
32
- /** Output only. The api layer name */
33
- name?: string;
34
- /** Output only. OS information */
35
- osVersion?: string;
36
- /** Output only. resources in the component */
37
- resources?: CloudResource[];
38
- }
39
- interface AvailabilityGroup {
40
- /** Output only. The databases */
41
- databases?: string[];
42
- /** Output only. The availability group name */
43
- name?: string;
44
- /** Output only. The primary server */
45
- primaryServer?: string;
46
- /** Output only. The secondary servers */
47
- secondaryServers?: string[];
48
- }
49
- interface BackendServer {
50
- /** Output only. The backup file */
51
- backupFile?: string;
52
- /** Output only. The backup schedule */
53
- backupSchedule?: string;
54
- /** Output only. The backend name */
55
- name?: string;
56
- /** Output only. OS information */
57
- osVersion?: string;
58
- /** Output only. resources in the component */
59
- resources?: CloudResource[];
60
- }
61
31
  interface BigQueryDestination {
62
32
  /** Optional. determine if results will be saved in a new table */
63
33
  createNewResultsTable?: boolean;
@@ -65,28 +35,6 @@ declare namespace gapi.client {
65
35
  destinationDataset?: string;
66
36
  }
67
37
  interface CancelOperationRequest {}
68
- interface CloudResource {
69
- /** Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. */
70
- kind?: string;
71
- /** Output only. resource name */
72
- name?: string;
73
- }
74
- interface Cluster {
75
- /** Output only. The nodes */
76
- nodes?: string[];
77
- /** Output only. The witness server */
78
- witnessServer?: string;
79
- }
80
- interface Database {
81
- /** Output only. The backup file */
82
- backupFile?: string;
83
- /** Output only. The backup schedule */
84
- backupSchedule?: string;
85
- /** Output only. The host VM */
86
- hostVm?: string;
87
- /** Output only. The database name */
88
- name?: string;
89
- }
90
38
  interface Empty {}
91
39
  interface Evaluation {
92
40
  /** Optional. BigQuery destination */
@@ -146,14 +94,6 @@ declare namespace gapi.client {
146
94
  /** the violation message of an execution */
147
95
  violationMessage?: string;
148
96
  }
149
- interface FrontEndServer {
150
- /** Output only. The frontend name */
151
- name?: string;
152
- /** Output only. OS information */
153
- osVersion?: string;
154
- /** Output only. resources in the component */
155
- resources?: CloudResource[];
156
- }
157
97
  interface GceInstanceFilter {
158
98
  /** Service account of compute engine */
159
99
  serviceAccounts?: string[];
@@ -170,24 +110,6 @@ declare namespace gapi.client {
170
110
  /** The insights data for the sqlserver workload validation. */
171
111
  sqlserverValidation?: SqlserverValidation;
172
112
  }
173
- interface Instance {
174
- /** Output only. name of the VM */
175
- name?: string;
176
- /** Output only. The location of the VM */
177
- region?: string;
178
- /** Output only. The state of the VM */
179
- status?: string;
180
- }
181
- interface Layer {
182
- /** the application layer */
183
- applicationType?: string;
184
- /** Optional. the database layer */
185
- databaseType?: string;
186
- /** Optional. instances in a layer */
187
- instances?: Instance[];
188
- /** Output only. system identification of a layer */
189
- sid?: string;
190
- }
191
113
  interface ListEvaluationsResponse {
192
114
  /** The list of Evaluation */
193
115
  evaluations?: Evaluation[];
@@ -234,20 +156,6 @@ declare namespace gapi.client {
234
156
  /** All scanned resources in response */
235
157
  scannedResources?: ScannedResource[];
236
158
  }
237
- interface ListWorkloadProfilesResponse {
238
- /** Output only. A token identifying a page of results the server should return */
239
- nextPageToken?: string;
240
- /** Locations that could not be reached. */
241
- unreachable?: string[];
242
- /** Output only. The list of Workload Overview */
243
- workloadOverviews?: WorkloadProfileOverview[];
244
- }
245
- interface LoadBalancerServer {
246
- /** Output only. The IP address */
247
- ip?: string;
248
- /** Output only. The VM name */
249
- vm?: string;
250
- }
251
159
  interface Location {
252
160
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
253
161
  displayName?: string;
@@ -344,16 +252,6 @@ declare namespace gapi.client {
344
252
  /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
345
253
  requestId?: string;
346
254
  }
347
- interface SapComponent {
348
- /** 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. */
349
- haHosts?: string[];
350
- /** Output only. resources in the component */
351
- resources?: CloudResource[];
352
- /** Output only. sid is the sap component identificator */
353
- sid?: string;
354
- /** The detected topology of the component. */
355
- topologyType?: string;
356
- }
357
255
  interface SapDiscovery {
358
256
  /** Optional. An SAP system may run without an application layer. */
359
257
  applicationLayer?: SapDiscoveryComponent;
@@ -393,6 +291,8 @@ declare namespace gapi.client {
393
291
  applicationType?: string;
394
292
  /** Optional. Resource URI of the recognized ASCS host of the application. */
395
293
  ascsUri?: string;
294
+ /** Optional. Instance number of the SAP instance. */
295
+ instanceNumber?: string;
396
296
  /** Optional. Kernel version for Netweaver running in the system. */
397
297
  kernelVersion?: string;
398
298
  /** Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node. */
@@ -403,6 +303,8 @@ declare namespace gapi.client {
403
303
  databaseType?: string;
404
304
  /** Optional. The version of the database software running in the system. */
405
305
  databaseVersion?: string;
306
+ /** Optional. Instance number of the SAP instance. */
307
+ instanceNumber?: string;
406
308
  /** Required. URI of the recognized primary instance of the database. */
407
309
  primaryInstanceUri?: string;
408
310
  /** Optional. URI of the recognized shared NFS of the database. May be empty if the database has only a single node. */
@@ -476,22 +378,6 @@ declare namespace gapi.client {
476
378
  /** Optional. The SAP system that the validation data is from. */
477
379
  sapValidationType?: string;
478
380
  }
479
- interface SapWorkload {
480
- /** Output only. the acsc componment */
481
- application?: SapComponent;
482
- /** Output only. the database componment */
483
- database?: SapComponent;
484
- /** Output only. The metadata for SAP workload. */
485
- metadata?: {[P in string]: string};
486
- }
487
- interface SapWorkloadOverview {
488
- /** Output only. The application SID */
489
- appSid?: string;
490
- /** Output only. The database SID */
491
- dbSid?: string;
492
- /** Output only. The UUID for a SAP workload */
493
- sapSystemId?: string;
494
- }
495
381
  interface ScannedResource {
496
382
  /** resource name */
497
383
  resource?: string;
@@ -518,22 +404,6 @@ declare namespace gapi.client {
518
404
  /** Optional. The Sqlserver system that the validation data is from. */
519
405
  type?: string;
520
406
  }
521
- interface SqlserverWorkload {
522
- /** Output only. The availability groups for sqlserver */
523
- ags?: AvailabilityGroup[];
524
- /** Output only. The cluster for sqlserver */
525
- cluster?: Cluster;
526
- /** Output only. The databases for sqlserver */
527
- databases?: Database[];
528
- /** Output only. The load balancer for sqlserver */
529
- loadBalancerServer?: LoadBalancerServer;
530
- }
531
- interface SqlserverWorkloadOverview {
532
- /** Output only. The availability groups */
533
- availabilityGroup?: string[];
534
- /** Output only. The UUID for a Sqlserver workload */
535
- sqlserverSystemId?: string;
536
- }
537
407
  interface Status {
538
408
  /** The status code, which should be an enum value of google.rpc.Code. */
539
409
  code?: number;
@@ -542,20 +412,6 @@ declare namespace gapi.client {
542
412
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
543
413
  message?: string;
544
414
  }
545
- interface ThreeTierWorkload {
546
- /** Output only. The API layer for three tier workload */
547
- apiLayer?: APILayerServer;
548
- /** Output only. The backend for three tier workload */
549
- backend?: BackendServer;
550
- /** Output only. the workload endpoint */
551
- endpoint?: string;
552
- /** Output only. The frontend for three tier workload */
553
- frontend?: FrontEndServer;
554
- }
555
- interface ThreeTierWorkloadOverview {
556
- /** Output only. The UUID for a three tier workload */
557
- threeTierSystemId?: string;
558
- }
559
415
  interface ViolationDetails {
560
416
  /** the name of asset */
561
417
  asset?: string;
@@ -564,39 +420,9 @@ declare namespace gapi.client {
564
420
  /** the service account associate with resource */
565
421
  serviceAccount?: string;
566
422
  }
567
- interface WorkloadProfile {
568
- /** Optional. The application layer */
569
- application?: Layer;
570
- /** Optional. The ascs layer */
571
- ascs?: Layer;
572
- /** Optional. The database layer */
573
- database?: Layer;
574
- /** Optional. such as name, description, version. More example can be found in deployment */
575
- labels?: {[P in string]: string};
576
- /** Identifier. name of resource names have the form 'projects/{project_id}/workloads/{workload_id}' */
577
- name?: string;
578
- /** Required. time when the workload data was refreshed */
579
- refreshedTime?: string;
580
- /** The sap workload content */
581
- sapWorkload?: SapWorkload;
582
- /** The sqlserver workload content */
583
- sqlserverWorkload?: SqlserverWorkload;
584
- /** Output only. [output only] the current state if a a workload */
585
- state?: string;
586
- /** The 3 tier web app workload content */
587
- threeTierWorkload?: ThreeTierWorkload;
588
- /** Required. The type of the workload */
589
- workloadType?: string;
590
- }
591
- interface WorkloadProfileOverview {
592
- /** The sap workload overview */
593
- sapWorkloadOverview?: SapWorkloadOverview;
594
- /** The sqlserver workload overview */
595
- sqlserverWorkloadOverview?: SqlserverWorkloadOverview;
596
- /** The three tier workload overview */
597
- threeTierWorkloadOverview?: ThreeTierWorkloadOverview;
598
- }
599
423
  interface WriteInsightRequest {
424
+ /** Optional. The agent version collected this data point. */
425
+ agentVersion?: string;
600
426
  /** Required. The metrics data details. */
601
427
  insight?: Insight;
602
428
  /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
@@ -1234,68 +1060,6 @@ declare namespace gapi.client {
1234
1060
  uploadType?: string;
1235
1061
  }): Request<ListRulesResponse>;
1236
1062
  }
1237
- interface WorkloadProfilesResource {
1238
- /** Gets details of a single workload. */
1239
- get(request?: {
1240
- /** V1 error format. */
1241
- '$.xgafv'?: string;
1242
- /** OAuth access token. */
1243
- access_token?: string;
1244
- /** Data format for response. */
1245
- alt?: string;
1246
- /** JSONP */
1247
- callback?: string;
1248
- /** Selector specifying which fields to include in a partial response. */
1249
- fields?: string;
1250
- /** 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. */
1251
- key?: string;
1252
- /** Required. Name of the resource */
1253
- name: string;
1254
- /** OAuth 2.0 token for the current user. */
1255
- oauth_token?: string;
1256
- /** Returns response with indentations and line breaks. */
1257
- prettyPrint?: boolean;
1258
- /** 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. */
1259
- quotaUser?: string;
1260
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1261
- upload_protocol?: string;
1262
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1263
- uploadType?: string;
1264
- }): Request<WorkloadProfile>;
1265
- /** List workloads */
1266
- list(request?: {
1267
- /** V1 error format. */
1268
- '$.xgafv'?: string;
1269
- /** OAuth access token. */
1270
- access_token?: string;
1271
- /** Data format for response. */
1272
- alt?: string;
1273
- /** JSONP */
1274
- callback?: string;
1275
- /** Selector specifying which fields to include in a partial response. */
1276
- fields?: string;
1277
- /** Optional. Filtering results */
1278
- filter?: string;
1279
- /** 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. */
1280
- key?: string;
1281
- /** OAuth 2.0 token for the current user. */
1282
- oauth_token?: string;
1283
- /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
1284
- pageSize?: number;
1285
- /** Optional. A token identifying a page of results the server should return. */
1286
- pageToken?: string;
1287
- /** Required. Parent value for ListWorkloadRequest */
1288
- parent: string;
1289
- /** Returns response with indentations and line breaks. */
1290
- prettyPrint?: boolean;
1291
- /** 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. */
1292
- quotaUser?: string;
1293
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1294
- upload_protocol?: string;
1295
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1296
- uploadType?: string;
1297
- }): Request<ListWorkloadProfilesResponse>;
1298
- }
1299
1063
  interface LocationsResource {
1300
1064
  /** Gets information about a location. */
1301
1065
  get(request?: {
@@ -1361,7 +1125,6 @@ declare namespace gapi.client {
1361
1125
  insights: InsightsResource;
1362
1126
  operations: OperationsResource;
1363
1127
  rules: RulesResource;
1364
- workloadProfiles: WorkloadProfilesResource;
1365
1128
  }
1366
1129
  interface ProjectsResource {
1367
1130
  locations: LocationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20240228",
3
+ "version": "0.0.20240306",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",