@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20240501 → 0.0.20240619
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 +48 -17
- 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: 20240619
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -28,6 +28,12 @@ declare namespace gapi.client {
|
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace workloadmanager {
|
|
31
|
+
interface AgentCommand {
|
|
32
|
+
/** command is the name of the agent one-time executable that will be invoked. */
|
|
33
|
+
command?: string;
|
|
34
|
+
/** parameters is a map of key/value pairs that can be used to specify additional one-time executable settings. */
|
|
35
|
+
parameters?: {[P in string]: string};
|
|
36
|
+
}
|
|
31
37
|
interface AssetLocation {
|
|
32
38
|
/** Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. */
|
|
33
39
|
expected?: IsolationExpectations;
|
|
@@ -55,6 +61,12 @@ declare namespace gapi.client {
|
|
|
55
61
|
interface CloudAssetComposition {
|
|
56
62
|
childAsset?: CloudAsset[];
|
|
57
63
|
}
|
|
64
|
+
interface Command {
|
|
65
|
+
/** AgentCommand specifies a one-time executable program for the agent to run. */
|
|
66
|
+
agentCommand?: AgentCommand;
|
|
67
|
+
/** ShellCommand is invoked via the agent's command line executor. */
|
|
68
|
+
shellCommand?: ShellCommand;
|
|
69
|
+
}
|
|
58
70
|
interface DirectLocationAssignment {
|
|
59
71
|
location?: LocationAssignment[];
|
|
60
72
|
}
|
|
@@ -106,21 +118,25 @@ declare namespace gapi.client {
|
|
|
106
118
|
state?: string;
|
|
107
119
|
}
|
|
108
120
|
interface ExecutionResult {
|
|
109
|
-
/**
|
|
121
|
+
/** The commands to remediate the violation. */
|
|
122
|
+
commands?: Command[];
|
|
123
|
+
/** The URL for the documentation of the rule. */
|
|
110
124
|
documentationUrl?: string;
|
|
111
|
-
/** the
|
|
125
|
+
/** The resource that violates the rule. */
|
|
112
126
|
resource?: Resource;
|
|
113
|
-
/**
|
|
127
|
+
/** The rule that is violated in an evaluation. */
|
|
114
128
|
rule?: string;
|
|
115
|
-
/** severity of violation */
|
|
129
|
+
/** The severity of violation. */
|
|
116
130
|
severity?: string;
|
|
117
|
-
/**
|
|
131
|
+
/** The details of violation in an evaluation result. */
|
|
118
132
|
violationDetails?: ViolationDetails;
|
|
119
|
-
/**
|
|
133
|
+
/** The violation message of an execution. */
|
|
120
134
|
violationMessage?: string;
|
|
121
135
|
}
|
|
122
136
|
interface ExternalDataSources {
|
|
123
|
-
/** Required.
|
|
137
|
+
/** Required. The asset type of the external data source must be one of go/cai-asset-types */
|
|
138
|
+
assetType?: string;
|
|
139
|
+
/** Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data */
|
|
124
140
|
name?: string;
|
|
125
141
|
/** Required. Type of external data source */
|
|
126
142
|
type?: string;
|
|
@@ -225,6 +241,7 @@ declare namespace gapi.client {
|
|
|
225
241
|
childAssetLocation?: CloudAssetComposition;
|
|
226
242
|
directLocation?: DirectLocationAssignment;
|
|
227
243
|
gcpProjectProxy?: TenantProjectProxy;
|
|
244
|
+
placerLocation?: PlacerLocation;
|
|
228
245
|
spannerLocation?: SpannerLocation;
|
|
229
246
|
}
|
|
230
247
|
interface Operation {
|
|
@@ -255,6 +272,10 @@ declare namespace gapi.client {
|
|
|
255
272
|
/** Output only. Name of the verb executed by the operation. */
|
|
256
273
|
verb?: string;
|
|
257
274
|
}
|
|
275
|
+
interface PlacerLocation {
|
|
276
|
+
/** Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") */
|
|
277
|
+
placerConfig?: string;
|
|
278
|
+
}
|
|
258
279
|
interface RegionalMigDistributionPolicy {
|
|
259
280
|
/** The shape in which the group converges around distribution of resources. Instance of proto2 enum */
|
|
260
281
|
targetShape?: number;
|
|
@@ -262,11 +283,11 @@ declare namespace gapi.client {
|
|
|
262
283
|
zones?: ZoneConfiguration[];
|
|
263
284
|
}
|
|
264
285
|
interface Resource {
|
|
265
|
-
/**
|
|
286
|
+
/** The name of the resource. */
|
|
266
287
|
name?: string;
|
|
267
|
-
/**
|
|
288
|
+
/** The service account associated with the resource. */
|
|
268
289
|
serviceAccount?: string;
|
|
269
|
-
/**
|
|
290
|
+
/** The type of resource. */
|
|
270
291
|
type?: string;
|
|
271
292
|
}
|
|
272
293
|
interface ResourceFilter {
|
|
@@ -342,6 +363,8 @@ declare namespace gapi.client {
|
|
|
342
363
|
haHosts?: string[];
|
|
343
364
|
/** Required. Pantheon Project in which the resources reside. */
|
|
344
365
|
hostProject?: string;
|
|
366
|
+
/** Optional. A list of replication sites used in Disaster Recovery (DR) configurations. */
|
|
367
|
+
replicationSites?: SapDiscoveryComponent[];
|
|
345
368
|
/** Optional. The resources in a component. */
|
|
346
369
|
resources?: SapDiscoveryResource[];
|
|
347
370
|
/** Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers. */
|
|
@@ -350,7 +373,7 @@ declare namespace gapi.client {
|
|
|
350
373
|
topologyType?: string;
|
|
351
374
|
}
|
|
352
375
|
interface SapDiscoveryComponentApplicationProperties {
|
|
353
|
-
/** Optional.
|
|
376
|
+
/** Optional. Deprecated: ApplicationType now tells you whether this is ABAP or Java. */
|
|
354
377
|
abap?: boolean;
|
|
355
378
|
/** Optional. Instance number of the SAP application instance. */
|
|
356
379
|
appInstanceNumber?: string;
|
|
@@ -467,6 +490,14 @@ declare namespace gapi.client {
|
|
|
467
490
|
/** resource type */
|
|
468
491
|
type?: string;
|
|
469
492
|
}
|
|
493
|
+
interface ShellCommand {
|
|
494
|
+
/** args is a string of arguments to be passed to the command. */
|
|
495
|
+
args?: string;
|
|
496
|
+
/** command is the name of the command to be executed. */
|
|
497
|
+
command?: string;
|
|
498
|
+
/** Optional. If not specified, the default timeout is 60 seconds. */
|
|
499
|
+
timeoutSeconds?: number;
|
|
500
|
+
}
|
|
470
501
|
interface SpannerLocation {
|
|
471
502
|
dbName?: string[];
|
|
472
503
|
}
|
|
@@ -502,11 +533,11 @@ declare namespace gapi.client {
|
|
|
502
533
|
projectNumbers?: string[];
|
|
503
534
|
}
|
|
504
535
|
interface ViolationDetails {
|
|
505
|
-
/**
|
|
536
|
+
/** The name of the asset. */
|
|
506
537
|
asset?: string;
|
|
507
|
-
/**
|
|
538
|
+
/** Details of the violation. */
|
|
508
539
|
observed?: {[P in string]: string};
|
|
509
|
-
/**
|
|
540
|
+
/** The service account associated with the resource. */
|
|
510
541
|
serviceAccount?: string;
|
|
511
542
|
}
|
|
512
543
|
interface WriteInsightRequest {
|
|
@@ -522,7 +553,7 @@ declare namespace gapi.client {
|
|
|
522
553
|
zone?: string;
|
|
523
554
|
}
|
|
524
555
|
interface ResultsResource {
|
|
525
|
-
/**
|
|
556
|
+
/** Lists the result of a single evaluation. */
|
|
526
557
|
list(request?: {
|
|
527
558
|
/** V1 error format. */
|
|
528
559
|
'$.xgafv'?: string;
|
|
@@ -885,7 +916,7 @@ declare namespace gapi.client {
|
|
|
885
916
|
callback?: string;
|
|
886
917
|
/** Selector specifying which fields to include in a partial response. */
|
|
887
918
|
fields?: string;
|
|
888
|
-
/**
|
|
919
|
+
/** Filter to be applied when listing the evaluation results. */
|
|
889
920
|
filter?: string;
|
|
890
921
|
/** 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. */
|
|
891
922
|
key?: string;
|