@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20241009 → 0.0.20241016
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 +6 -80
- 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: 20241016
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -34,44 +34,19 @@ 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 AssetLocation {
|
|
38
|
-
/** Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata. */
|
|
39
|
-
ccfeRmsPath?: string;
|
|
40
|
-
/** Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. */
|
|
41
|
-
expected?: IsolationExpectations;
|
|
42
|
-
/** Defines extra parameters required for specific asset types. */
|
|
43
|
-
extraParameters?: ExtraParameter[];
|
|
44
|
-
/** Contains all kinds of physical location definitions for this asset. */
|
|
45
|
-
locationData?: LocationData[];
|
|
46
|
-
/** Defines parents assets if any in order to allow later generation of child_asset_location data via child assets. */
|
|
47
|
-
parentAsset?: CloudAsset[];
|
|
48
|
-
}
|
|
49
37
|
interface BigQueryDestination {
|
|
50
38
|
/** Optional. determine if results will be saved in a new table */
|
|
51
39
|
createNewResultsTable?: boolean;
|
|
52
40
|
/** Optional. destination dataset to save evaluation results */
|
|
53
41
|
destinationDataset?: string;
|
|
54
42
|
}
|
|
55
|
-
interface BlobstoreLocation {
|
|
56
|
-
policyId?: string[];
|
|
57
|
-
}
|
|
58
43
|
interface CancelOperationRequest {}
|
|
59
|
-
interface CloudAsset {
|
|
60
|
-
assetName?: string;
|
|
61
|
-
assetType?: string;
|
|
62
|
-
}
|
|
63
|
-
interface CloudAssetComposition {
|
|
64
|
-
childAsset?: CloudAsset[];
|
|
65
|
-
}
|
|
66
44
|
interface Command {
|
|
67
45
|
/** AgentCommand specifies a one-time executable program for the agent to run. */
|
|
68
46
|
agentCommand?: AgentCommand;
|
|
69
47
|
/** ShellCommand is invoked via the agent's command line executor. */
|
|
70
48
|
shellCommand?: ShellCommand;
|
|
71
49
|
}
|
|
72
|
-
interface DirectLocationAssignment {
|
|
73
|
-
location?: LocationAssignment[];
|
|
74
|
-
}
|
|
75
50
|
interface Empty {}
|
|
76
51
|
interface Evaluation {
|
|
77
52
|
/** Optional. BigQuery destination */
|
|
@@ -112,6 +87,8 @@ declare namespace gapi.client {
|
|
|
112
87
|
labels?: {[P in string]: string};
|
|
113
88
|
/** The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution} */
|
|
114
89
|
name?: string;
|
|
90
|
+
/** Output only. Additional information generated by the execution */
|
|
91
|
+
notices?: Notice[];
|
|
115
92
|
/** Output only. execution result summary per rule */
|
|
116
93
|
ruleResults?: RuleExecutionResult[];
|
|
117
94
|
/** type represent whether the execution executed directly by user or scheduled according evaluation.schedule field. */
|
|
@@ -149,10 +126,6 @@ declare namespace gapi.client {
|
|
|
149
126
|
/** Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID} */
|
|
150
127
|
uri?: string;
|
|
151
128
|
}
|
|
152
|
-
interface ExtraParameter {
|
|
153
|
-
/** Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. */
|
|
154
|
-
regionalMigDistributionPolicy?: RegionalMigDistributionPolicy;
|
|
155
|
-
}
|
|
156
129
|
interface GceInstanceFilter {
|
|
157
130
|
/** Service account of compute engine */
|
|
158
131
|
serviceAccounts?: string[];
|
|
@@ -169,19 +142,6 @@ declare namespace gapi.client {
|
|
|
169
142
|
/** The insights data for the sqlserver workload validation. */
|
|
170
143
|
sqlserverValidation?: SqlserverValidation;
|
|
171
144
|
}
|
|
172
|
-
interface IsolationExpectations {
|
|
173
|
-
/** Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic. */
|
|
174
|
-
requirementOverride?: RequirementOverride;
|
|
175
|
-
ziOrgPolicy?: string;
|
|
176
|
-
ziRegionPolicy?: string;
|
|
177
|
-
ziRegionState?: string;
|
|
178
|
-
/** Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location. */
|
|
179
|
-
zoneIsolation?: string;
|
|
180
|
-
/** Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location. */
|
|
181
|
-
zoneSeparation?: string;
|
|
182
|
-
zsOrgPolicy?: string;
|
|
183
|
-
zsRegionState?: string;
|
|
184
|
-
}
|
|
185
145
|
interface ListEvaluationsResponse {
|
|
186
146
|
/** The list of Evaluation */
|
|
187
147
|
evaluations?: Evaluation[];
|
|
@@ -240,17 +200,9 @@ declare namespace gapi.client {
|
|
|
240
200
|
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
241
201
|
name?: string;
|
|
242
202
|
}
|
|
243
|
-
interface
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
interface LocationData {
|
|
248
|
-
blobstoreLocation?: BlobstoreLocation;
|
|
249
|
-
childAssetLocation?: CloudAssetComposition;
|
|
250
|
-
directLocation?: DirectLocationAssignment;
|
|
251
|
-
gcpProjectProxy?: TenantProjectProxy;
|
|
252
|
-
placerLocation?: PlacerLocation;
|
|
253
|
-
spannerLocation?: SpannerLocation;
|
|
203
|
+
interface Notice {
|
|
204
|
+
/** Output only. Message of the notice */
|
|
205
|
+
message?: string;
|
|
254
206
|
}
|
|
255
207
|
interface Operation {
|
|
256
208
|
/** 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. */
|
|
@@ -280,20 +232,6 @@ declare namespace gapi.client {
|
|
|
280
232
|
/** Output only. Name of the verb executed by the operation. */
|
|
281
233
|
verb?: string;
|
|
282
234
|
}
|
|
283
|
-
interface PlacerLocation {
|
|
284
|
-
/** Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") */
|
|
285
|
-
placerConfig?: string;
|
|
286
|
-
}
|
|
287
|
-
interface RegionalMigDistributionPolicy {
|
|
288
|
-
/** The shape in which the group converges around distribution of resources. Instance of proto2 enum */
|
|
289
|
-
targetShape?: number;
|
|
290
|
-
/** Cloud zones used by regional MIG to create instances. */
|
|
291
|
-
zones?: ZoneConfiguration[];
|
|
292
|
-
}
|
|
293
|
-
interface RequirementOverride {
|
|
294
|
-
ziOverride?: string;
|
|
295
|
-
zsOverride?: string;
|
|
296
|
-
}
|
|
297
235
|
interface Resource {
|
|
298
236
|
/** The name of the resource. */
|
|
299
237
|
name?: string;
|
|
@@ -524,12 +462,6 @@ declare namespace gapi.client {
|
|
|
524
462
|
/** Optional. If not specified, the default timeout is 60 seconds. */
|
|
525
463
|
timeoutSeconds?: number;
|
|
526
464
|
}
|
|
527
|
-
interface SpannerLocation {
|
|
528
|
-
/** Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata */
|
|
529
|
-
backupName?: string[];
|
|
530
|
-
/** Set of databases used by the resource in format /span// */
|
|
531
|
-
dbName?: string[];
|
|
532
|
-
}
|
|
533
465
|
interface SqlserverValidation {
|
|
534
466
|
/** Optional. The agent version collected this data point */
|
|
535
467
|
agentVersion?: string;
|
|
@@ -558,9 +490,6 @@ declare namespace gapi.client {
|
|
|
558
490
|
/** 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. */
|
|
559
491
|
message?: string;
|
|
560
492
|
}
|
|
561
|
-
interface TenantProjectProxy {
|
|
562
|
-
projectNumbers?: string[];
|
|
563
|
-
}
|
|
564
493
|
interface ViolationDetails {
|
|
565
494
|
/** The name of the asset. */
|
|
566
495
|
asset?: string;
|
|
@@ -578,9 +507,6 @@ declare namespace gapi.client {
|
|
|
578
507
|
requestId?: string;
|
|
579
508
|
}
|
|
580
509
|
interface WriteInsightResponse {}
|
|
581
|
-
interface ZoneConfiguration {
|
|
582
|
-
zone?: string;
|
|
583
|
-
}
|
|
584
510
|
interface ResultsResource {
|
|
585
511
|
/** Lists the result of a single evaluation. */
|
|
586
512
|
list(request?: {
|