@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20240417 → 0.0.20240616
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 +109 -16
- 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: 20240616
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -28,13 +28,36 @@ declare namespace gapi.client {
|
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace workloadmanager {
|
|
31
|
+
interface AssetLocation {
|
|
32
|
+
/** Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. */
|
|
33
|
+
expected?: IsolationExpectations;
|
|
34
|
+
/** Defines extra parameters required for specific asset types. */
|
|
35
|
+
extraParameters?: ExtraParameter[];
|
|
36
|
+
/** Contains all kinds of physical location definitions for this asset. */
|
|
37
|
+
locationData?: LocationData[];
|
|
38
|
+
/** Defines parents assets if any in order to allow later generation of child_asset_location data via child assets. */
|
|
39
|
+
parentAsset?: CloudAsset[];
|
|
40
|
+
}
|
|
31
41
|
interface BigQueryDestination {
|
|
32
42
|
/** Optional. determine if results will be saved in a new table */
|
|
33
43
|
createNewResultsTable?: boolean;
|
|
34
44
|
/** Optional. destination dataset to save evaluation results */
|
|
35
45
|
destinationDataset?: string;
|
|
36
46
|
}
|
|
47
|
+
interface BlobstoreLocation {
|
|
48
|
+
policyId?: string[];
|
|
49
|
+
}
|
|
37
50
|
interface CancelOperationRequest {}
|
|
51
|
+
interface CloudAsset {
|
|
52
|
+
assetName?: string;
|
|
53
|
+
assetType?: string;
|
|
54
|
+
}
|
|
55
|
+
interface CloudAssetComposition {
|
|
56
|
+
childAsset?: CloudAsset[];
|
|
57
|
+
}
|
|
58
|
+
interface DirectLocationAssignment {
|
|
59
|
+
location?: LocationAssignment[];
|
|
60
|
+
}
|
|
38
61
|
interface Empty {}
|
|
39
62
|
interface Evaluation {
|
|
40
63
|
/** Optional. BigQuery destination */
|
|
@@ -67,6 +90,8 @@ declare namespace gapi.client {
|
|
|
67
90
|
endTime?: string;
|
|
68
91
|
/** Output only. [Output only] Evaluation ID */
|
|
69
92
|
evaluationId?: string;
|
|
93
|
+
/** Optional. External data sources */
|
|
94
|
+
externalDataSources?: ExternalDataSources[];
|
|
70
95
|
/** Output only. [Output only] Inventory time stamp */
|
|
71
96
|
inventoryTime?: string;
|
|
72
97
|
/** Labels as key value pairs */
|
|
@@ -81,19 +106,31 @@ declare namespace gapi.client {
|
|
|
81
106
|
state?: string;
|
|
82
107
|
}
|
|
83
108
|
interface ExecutionResult {
|
|
84
|
-
/** the
|
|
109
|
+
/** The URL for the documentation of the rule. */
|
|
85
110
|
documentationUrl?: string;
|
|
86
|
-
/** the
|
|
111
|
+
/** The resource that violates the rule. */
|
|
87
112
|
resource?: Resource;
|
|
88
|
-
/**
|
|
113
|
+
/** The rule that is violated in an evaluation. */
|
|
89
114
|
rule?: string;
|
|
90
|
-
/** severity of violation */
|
|
115
|
+
/** The severity of violation. */
|
|
91
116
|
severity?: string;
|
|
92
|
-
/**
|
|
117
|
+
/** The details of violation in an evaluation result. */
|
|
93
118
|
violationDetails?: ViolationDetails;
|
|
94
|
-
/**
|
|
119
|
+
/** The violation message of an execution. */
|
|
95
120
|
violationMessage?: string;
|
|
96
121
|
}
|
|
122
|
+
interface ExternalDataSources {
|
|
123
|
+
/** Required. Name of external data source. The name will be used inside the rego/sql to refer the external data */
|
|
124
|
+
name?: string;
|
|
125
|
+
/** Required. Type of external data source */
|
|
126
|
+
type?: string;
|
|
127
|
+
/** Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID} */
|
|
128
|
+
uri?: string;
|
|
129
|
+
}
|
|
130
|
+
interface ExtraParameter {
|
|
131
|
+
/** Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. */
|
|
132
|
+
regionalMigDistributionPolicy?: RegionalMigDistributionPolicy;
|
|
133
|
+
}
|
|
97
134
|
interface GceInstanceFilter {
|
|
98
135
|
/** Service account of compute engine */
|
|
99
136
|
serviceAccounts?: string[];
|
|
@@ -110,6 +147,17 @@ declare namespace gapi.client {
|
|
|
110
147
|
/** The insights data for the sqlserver workload validation. */
|
|
111
148
|
sqlserverValidation?: SqlserverValidation;
|
|
112
149
|
}
|
|
150
|
+
interface IsolationExpectations {
|
|
151
|
+
ziOrgPolicy?: string;
|
|
152
|
+
ziRegionPolicy?: string;
|
|
153
|
+
ziRegionState?: string;
|
|
154
|
+
/** Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location. */
|
|
155
|
+
zoneIsolation?: string;
|
|
156
|
+
/** Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location. */
|
|
157
|
+
zoneSeparation?: string;
|
|
158
|
+
zsOrgPolicy?: string;
|
|
159
|
+
zsRegionState?: string;
|
|
160
|
+
}
|
|
113
161
|
interface ListEvaluationsResponse {
|
|
114
162
|
/** The list of Evaluation */
|
|
115
163
|
evaluations?: Evaluation[];
|
|
@@ -168,6 +216,18 @@ declare namespace gapi.client {
|
|
|
168
216
|
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
169
217
|
name?: string;
|
|
170
218
|
}
|
|
219
|
+
interface LocationAssignment {
|
|
220
|
+
location?: string;
|
|
221
|
+
locationType?: string;
|
|
222
|
+
}
|
|
223
|
+
interface LocationData {
|
|
224
|
+
blobstoreLocation?: BlobstoreLocation;
|
|
225
|
+
childAssetLocation?: CloudAssetComposition;
|
|
226
|
+
directLocation?: DirectLocationAssignment;
|
|
227
|
+
gcpProjectProxy?: TenantProjectProxy;
|
|
228
|
+
placerLocation?: PlacerLocation;
|
|
229
|
+
spannerLocation?: SpannerLocation;
|
|
230
|
+
}
|
|
171
231
|
interface Operation {
|
|
172
232
|
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
173
233
|
done?: boolean;
|
|
@@ -196,12 +256,22 @@ declare namespace gapi.client {
|
|
|
196
256
|
/** Output only. Name of the verb executed by the operation. */
|
|
197
257
|
verb?: string;
|
|
198
258
|
}
|
|
259
|
+
interface PlacerLocation {
|
|
260
|
+
/** Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") */
|
|
261
|
+
placerConfig?: string;
|
|
262
|
+
}
|
|
263
|
+
interface RegionalMigDistributionPolicy {
|
|
264
|
+
/** The shape in which the group converges around distribution of resources. Instance of proto2 enum */
|
|
265
|
+
targetShape?: number;
|
|
266
|
+
/** Cloud zones used by regional MIG to create instances. */
|
|
267
|
+
zones?: ZoneConfiguration[];
|
|
268
|
+
}
|
|
199
269
|
interface Resource {
|
|
200
|
-
/**
|
|
270
|
+
/** The name of the resource. */
|
|
201
271
|
name?: string;
|
|
202
|
-
/**
|
|
272
|
+
/** The service account associated with the resource. */
|
|
203
273
|
serviceAccount?: string;
|
|
204
|
-
/**
|
|
274
|
+
/** The type of resource. */
|
|
205
275
|
type?: string;
|
|
206
276
|
}
|
|
207
277
|
interface ResourceFilter {
|
|
@@ -277,6 +347,8 @@ declare namespace gapi.client {
|
|
|
277
347
|
haHosts?: string[];
|
|
278
348
|
/** Required. Pantheon Project in which the resources reside. */
|
|
279
349
|
hostProject?: string;
|
|
350
|
+
/** Optional. A list of replication sites used in Disaster Recovery (DR) configurations. */
|
|
351
|
+
replicationSites?: SapDiscoveryComponent[];
|
|
280
352
|
/** Optional. The resources in a component. */
|
|
281
353
|
resources?: SapDiscoveryResource[];
|
|
282
354
|
/** Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers. */
|
|
@@ -285,7 +357,7 @@ declare namespace gapi.client {
|
|
|
285
357
|
topologyType?: string;
|
|
286
358
|
}
|
|
287
359
|
interface SapDiscoveryComponentApplicationProperties {
|
|
288
|
-
/** Optional.
|
|
360
|
+
/** Optional. Deprecated: ApplicationType now tells you whether this is ABAP or Java. */
|
|
289
361
|
abap?: boolean;
|
|
290
362
|
/** Optional. Instance number of the SAP application instance. */
|
|
291
363
|
appInstanceNumber?: string;
|
|
@@ -295,6 +367,8 @@ declare namespace gapi.client {
|
|
|
295
367
|
ascsInstanceNumber?: string;
|
|
296
368
|
/** Optional. Resource URI of the recognized ASCS host of the application. */
|
|
297
369
|
ascsUri?: string;
|
|
370
|
+
/** Optional. Instance number of the ERS instance. */
|
|
371
|
+
ersInstanceNumber?: string;
|
|
298
372
|
/** Optional. Kernel version for Netweaver running in the system. */
|
|
299
373
|
kernelVersion?: string;
|
|
300
374
|
/** Optional. Resource URI of the recognized shared NFS of the application. May be empty if the application server has only a single node. */
|
|
@@ -339,13 +413,23 @@ declare namespace gapi.client {
|
|
|
339
413
|
updateTime?: string;
|
|
340
414
|
}
|
|
341
415
|
interface SapDiscoveryResourceInstanceProperties {
|
|
416
|
+
/** Optional. App server instances on the host */
|
|
417
|
+
appInstances?: SapDiscoveryResourceInstancePropertiesAppInstance[];
|
|
342
418
|
/** Optional. A list of instance URIs that are part of a cluster with this one. */
|
|
343
419
|
clusterInstances?: string[];
|
|
344
420
|
/** Optional. The VM's instance number. */
|
|
345
421
|
instanceNumber?: string;
|
|
422
|
+
/** Optional. Bitmask of instance role, a resource may have multiple roles at once. */
|
|
423
|
+
instanceRole?: string;
|
|
346
424
|
/** Optional. A virtual hostname of the instance if it has one. */
|
|
347
425
|
virtualHostname?: string;
|
|
348
426
|
}
|
|
427
|
+
interface SapDiscoveryResourceInstancePropertiesAppInstance {
|
|
428
|
+
/** Optional. Instance name of the SAP application instance. */
|
|
429
|
+
name?: string;
|
|
430
|
+
/** Optional. Instance number of the SAP application instance. */
|
|
431
|
+
number?: string;
|
|
432
|
+
}
|
|
349
433
|
interface SapDiscoveryWorkloadProperties {
|
|
350
434
|
/** Optional. List of SAP Products and their versions running on the system. */
|
|
351
435
|
productVersions?: SapDiscoveryWorkloadPropertiesProductVersion[];
|
|
@@ -390,6 +474,9 @@ declare namespace gapi.client {
|
|
|
390
474
|
/** resource type */
|
|
391
475
|
type?: string;
|
|
392
476
|
}
|
|
477
|
+
interface SpannerLocation {
|
|
478
|
+
dbName?: string[];
|
|
479
|
+
}
|
|
393
480
|
interface SqlserverValidation {
|
|
394
481
|
/** Optional. The agent version collected this data point */
|
|
395
482
|
agentVersion?: string;
|
|
@@ -418,12 +505,15 @@ declare namespace gapi.client {
|
|
|
418
505
|
/** 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. */
|
|
419
506
|
message?: string;
|
|
420
507
|
}
|
|
508
|
+
interface TenantProjectProxy {
|
|
509
|
+
projectNumbers?: string[];
|
|
510
|
+
}
|
|
421
511
|
interface ViolationDetails {
|
|
422
|
-
/**
|
|
512
|
+
/** The name of the asset. */
|
|
423
513
|
asset?: string;
|
|
424
|
-
/**
|
|
514
|
+
/** Details of the violation. */
|
|
425
515
|
observed?: {[P in string]: string};
|
|
426
|
-
/**
|
|
516
|
+
/** The service account associated with the resource. */
|
|
427
517
|
serviceAccount?: string;
|
|
428
518
|
}
|
|
429
519
|
interface WriteInsightRequest {
|
|
@@ -435,8 +525,11 @@ declare namespace gapi.client {
|
|
|
435
525
|
requestId?: string;
|
|
436
526
|
}
|
|
437
527
|
interface WriteInsightResponse {}
|
|
528
|
+
interface ZoneConfiguration {
|
|
529
|
+
zone?: string;
|
|
530
|
+
}
|
|
438
531
|
interface ResultsResource {
|
|
439
|
-
/**
|
|
532
|
+
/** Lists the result of a single evaluation. */
|
|
440
533
|
list(request?: {
|
|
441
534
|
/** V1 error format. */
|
|
442
535
|
'$.xgafv'?: string;
|
|
@@ -799,7 +892,7 @@ declare namespace gapi.client {
|
|
|
799
892
|
callback?: string;
|
|
800
893
|
/** Selector specifying which fields to include in a partial response. */
|
|
801
894
|
fields?: string;
|
|
802
|
-
/**
|
|
895
|
+
/** Filter to be applied when listing the evaluation results. */
|
|
803
896
|
filter?: string;
|
|
804
897
|
/** 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. */
|
|
805
898
|
key?: string;
|