@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20240221 → 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.
- package/index.d.ts +7 -240
- 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:
|
|
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,12 +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
|
-
/** Output only. resources in the component */
|
|
349
|
-
resources?: CloudResource[];
|
|
350
|
-
/** Output only. sid is the sap component identificator */
|
|
351
|
-
sid?: string;
|
|
352
|
-
}
|
|
353
255
|
interface SapDiscovery {
|
|
354
256
|
/** Optional. An SAP system may run without an application layer. */
|
|
355
257
|
applicationLayer?: SapDiscoveryComponent;
|
|
@@ -389,6 +291,8 @@ declare namespace gapi.client {
|
|
|
389
291
|
applicationType?: string;
|
|
390
292
|
/** Optional. Resource URI of the recognized ASCS host of the application. */
|
|
391
293
|
ascsUri?: string;
|
|
294
|
+
/** Optional. Instance number of the SAP instance. */
|
|
295
|
+
instanceNumber?: string;
|
|
392
296
|
/** Optional. Kernel version for Netweaver running in the system. */
|
|
393
297
|
kernelVersion?: string;
|
|
394
298
|
/** Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node. */
|
|
@@ -399,6 +303,8 @@ declare namespace gapi.client {
|
|
|
399
303
|
databaseType?: string;
|
|
400
304
|
/** Optional. The version of the database software running in the system. */
|
|
401
305
|
databaseVersion?: string;
|
|
306
|
+
/** Optional. Instance number of the SAP instance. */
|
|
307
|
+
instanceNumber?: string;
|
|
402
308
|
/** Required. URI of the recognized primary instance of the database. */
|
|
403
309
|
primaryInstanceUri?: string;
|
|
404
310
|
/** Optional. URI of the recognized shared NFS of the database. May be empty if the database has only a single node. */
|
|
@@ -472,22 +378,6 @@ declare namespace gapi.client {
|
|
|
472
378
|
/** Optional. The SAP system that the validation data is from. */
|
|
473
379
|
sapValidationType?: string;
|
|
474
380
|
}
|
|
475
|
-
interface SapWorkload {
|
|
476
|
-
/** Output only. the acsc componment */
|
|
477
|
-
application?: SapComponent;
|
|
478
|
-
/** Output only. the database componment */
|
|
479
|
-
database?: SapComponent;
|
|
480
|
-
/** Output only. The metadata for SAP workload. */
|
|
481
|
-
metadata?: {[P in string]: string};
|
|
482
|
-
}
|
|
483
|
-
interface SapWorkloadOverview {
|
|
484
|
-
/** Output only. The application SID */
|
|
485
|
-
appSid?: string;
|
|
486
|
-
/** Output only. The database SID */
|
|
487
|
-
dbSid?: string;
|
|
488
|
-
/** Output only. The UUID for a SAP workload */
|
|
489
|
-
sapSystemId?: string;
|
|
490
|
-
}
|
|
491
381
|
interface ScannedResource {
|
|
492
382
|
/** resource name */
|
|
493
383
|
resource?: string;
|
|
@@ -514,22 +404,6 @@ declare namespace gapi.client {
|
|
|
514
404
|
/** Optional. The Sqlserver system that the validation data is from. */
|
|
515
405
|
type?: string;
|
|
516
406
|
}
|
|
517
|
-
interface SqlserverWorkload {
|
|
518
|
-
/** Output only. The availability groups for sqlserver */
|
|
519
|
-
ags?: AvailabilityGroup[];
|
|
520
|
-
/** Output only. The cluster for sqlserver */
|
|
521
|
-
cluster?: Cluster;
|
|
522
|
-
/** Output only. The databases for sqlserver */
|
|
523
|
-
databases?: Database[];
|
|
524
|
-
/** Output only. The load balancer for sqlserver */
|
|
525
|
-
loadBalancerServer?: LoadBalancerServer;
|
|
526
|
-
}
|
|
527
|
-
interface SqlserverWorkloadOverview {
|
|
528
|
-
/** Output only. The availability groups */
|
|
529
|
-
availabilityGroup?: string[];
|
|
530
|
-
/** Output only. The UUID for a Sqlserver workload */
|
|
531
|
-
sqlserverSystemId?: string;
|
|
532
|
-
}
|
|
533
407
|
interface Status {
|
|
534
408
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
535
409
|
code?: number;
|
|
@@ -538,20 +412,6 @@ declare namespace gapi.client {
|
|
|
538
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. */
|
|
539
413
|
message?: string;
|
|
540
414
|
}
|
|
541
|
-
interface ThreeTierWorkload {
|
|
542
|
-
/** Output only. The API layer for three tier workload */
|
|
543
|
-
apiLayer?: APILayerServer;
|
|
544
|
-
/** Output only. The backend for three tier workload */
|
|
545
|
-
backend?: BackendServer;
|
|
546
|
-
/** Output only. the workload endpoint */
|
|
547
|
-
endpoint?: string;
|
|
548
|
-
/** Output only. The frontend for three tier workload */
|
|
549
|
-
frontend?: FrontEndServer;
|
|
550
|
-
}
|
|
551
|
-
interface ThreeTierWorkloadOverview {
|
|
552
|
-
/** Output only. The UUID for a three tier workload */
|
|
553
|
-
threeTierSystemId?: string;
|
|
554
|
-
}
|
|
555
415
|
interface ViolationDetails {
|
|
556
416
|
/** the name of asset */
|
|
557
417
|
asset?: string;
|
|
@@ -560,39 +420,9 @@ declare namespace gapi.client {
|
|
|
560
420
|
/** the service account associate with resource */
|
|
561
421
|
serviceAccount?: string;
|
|
562
422
|
}
|
|
563
|
-
interface WorkloadProfile {
|
|
564
|
-
/** Optional. The application layer */
|
|
565
|
-
application?: Layer;
|
|
566
|
-
/** Optional. The ascs layer */
|
|
567
|
-
ascs?: Layer;
|
|
568
|
-
/** Optional. The database layer */
|
|
569
|
-
database?: Layer;
|
|
570
|
-
/** Optional. such as name, description, version. More example can be found in deployment */
|
|
571
|
-
labels?: {[P in string]: string};
|
|
572
|
-
/** Identifier. name of resource names have the form 'projects/{project_id}/workloads/{workload_id}' */
|
|
573
|
-
name?: string;
|
|
574
|
-
/** Required. time when the workload data was refreshed */
|
|
575
|
-
refreshedTime?: string;
|
|
576
|
-
/** The sap workload content */
|
|
577
|
-
sapWorkload?: SapWorkload;
|
|
578
|
-
/** The sqlserver workload content */
|
|
579
|
-
sqlserverWorkload?: SqlserverWorkload;
|
|
580
|
-
/** Output only. [output only] the current state if a a workload */
|
|
581
|
-
state?: string;
|
|
582
|
-
/** The 3 tier web app workload content */
|
|
583
|
-
threeTierWorkload?: ThreeTierWorkload;
|
|
584
|
-
/** Required. The type of the workload */
|
|
585
|
-
workloadType?: string;
|
|
586
|
-
}
|
|
587
|
-
interface WorkloadProfileOverview {
|
|
588
|
-
/** The sap workload overview */
|
|
589
|
-
sapWorkloadOverview?: SapWorkloadOverview;
|
|
590
|
-
/** The sqlserver workload overview */
|
|
591
|
-
sqlserverWorkloadOverview?: SqlserverWorkloadOverview;
|
|
592
|
-
/** The three tier workload overview */
|
|
593
|
-
threeTierWorkloadOverview?: ThreeTierWorkloadOverview;
|
|
594
|
-
}
|
|
595
423
|
interface WriteInsightRequest {
|
|
424
|
+
/** Optional. The agent version collected this data point. */
|
|
425
|
+
agentVersion?: string;
|
|
596
426
|
/** Required. The metrics data details. */
|
|
597
427
|
insight?: Insight;
|
|
598
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). */
|
|
@@ -1230,68 +1060,6 @@ declare namespace gapi.client {
|
|
|
1230
1060
|
uploadType?: string;
|
|
1231
1061
|
}): Request<ListRulesResponse>;
|
|
1232
1062
|
}
|
|
1233
|
-
interface WorkloadProfilesResource {
|
|
1234
|
-
/** Gets details of a single workload. */
|
|
1235
|
-
get(request?: {
|
|
1236
|
-
/** V1 error format. */
|
|
1237
|
-
'$.xgafv'?: string;
|
|
1238
|
-
/** OAuth access token. */
|
|
1239
|
-
access_token?: string;
|
|
1240
|
-
/** Data format for response. */
|
|
1241
|
-
alt?: string;
|
|
1242
|
-
/** JSONP */
|
|
1243
|
-
callback?: string;
|
|
1244
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1245
|
-
fields?: string;
|
|
1246
|
-
/** 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. */
|
|
1247
|
-
key?: string;
|
|
1248
|
-
/** Required. Name of the resource */
|
|
1249
|
-
name: string;
|
|
1250
|
-
/** OAuth 2.0 token for the current user. */
|
|
1251
|
-
oauth_token?: string;
|
|
1252
|
-
/** Returns response with indentations and line breaks. */
|
|
1253
|
-
prettyPrint?: boolean;
|
|
1254
|
-
/** 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. */
|
|
1255
|
-
quotaUser?: string;
|
|
1256
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1257
|
-
upload_protocol?: string;
|
|
1258
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1259
|
-
uploadType?: string;
|
|
1260
|
-
}): Request<WorkloadProfile>;
|
|
1261
|
-
/** List workloads */
|
|
1262
|
-
list(request?: {
|
|
1263
|
-
/** V1 error format. */
|
|
1264
|
-
'$.xgafv'?: string;
|
|
1265
|
-
/** OAuth access token. */
|
|
1266
|
-
access_token?: string;
|
|
1267
|
-
/** Data format for response. */
|
|
1268
|
-
alt?: string;
|
|
1269
|
-
/** JSONP */
|
|
1270
|
-
callback?: string;
|
|
1271
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1272
|
-
fields?: string;
|
|
1273
|
-
/** Optional. Filtering results */
|
|
1274
|
-
filter?: string;
|
|
1275
|
-
/** 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. */
|
|
1276
|
-
key?: string;
|
|
1277
|
-
/** OAuth 2.0 token for the current user. */
|
|
1278
|
-
oauth_token?: string;
|
|
1279
|
-
/** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
|
|
1280
|
-
pageSize?: number;
|
|
1281
|
-
/** Optional. A token identifying a page of results the server should return. */
|
|
1282
|
-
pageToken?: string;
|
|
1283
|
-
/** Required. Parent value for ListWorkloadRequest */
|
|
1284
|
-
parent: string;
|
|
1285
|
-
/** Returns response with indentations and line breaks. */
|
|
1286
|
-
prettyPrint?: boolean;
|
|
1287
|
-
/** 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. */
|
|
1288
|
-
quotaUser?: string;
|
|
1289
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1290
|
-
upload_protocol?: string;
|
|
1291
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1292
|
-
uploadType?: string;
|
|
1293
|
-
}): Request<ListWorkloadProfilesResponse>;
|
|
1294
|
-
}
|
|
1295
1063
|
interface LocationsResource {
|
|
1296
1064
|
/** Gets information about a location. */
|
|
1297
1065
|
get(request?: {
|
|
@@ -1357,7 +1125,6 @@ declare namespace gapi.client {
|
|
|
1357
1125
|
insights: InsightsResource;
|
|
1358
1126
|
operations: OperationsResource;
|
|
1359
1127
|
rules: RulesResource;
|
|
1360
|
-
workloadProfiles: WorkloadProfilesResource;
|
|
1361
1128
|
}
|
|
1362
1129
|
interface ProjectsResource {
|
|
1363
1130
|
locations: LocationsResource;
|