@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20241002 → 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.
Files changed (2) hide show
  1. package/index.d.ts +20 -80
  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: 20241002
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,10 @@ 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[];
92
+ /** Output only. execution result summary per rule */
93
+ ruleResults?: RuleExecutionResult[];
115
94
  /** type represent whether the execution executed directly by user or scheduled according evaluation.schedule field. */
116
95
  runType?: string;
117
96
  /** Output only. [Output only] Start time stamp */
@@ -147,10 +126,6 @@ declare namespace gapi.client {
147
126
  /** Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID} */
148
127
  uri?: string;
149
128
  }
150
- interface ExtraParameter {
151
- /** Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. */
152
- regionalMigDistributionPolicy?: RegionalMigDistributionPolicy;
153
- }
154
129
  interface GceInstanceFilter {
155
130
  /** Service account of compute engine */
156
131
  serviceAccounts?: string[];
@@ -167,19 +142,6 @@ declare namespace gapi.client {
167
142
  /** The insights data for the sqlserver workload validation. */
168
143
  sqlserverValidation?: SqlserverValidation;
169
144
  }
170
- interface IsolationExpectations {
171
- /** Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic. */
172
- requirementOverride?: RequirementOverride;
173
- ziOrgPolicy?: string;
174
- ziRegionPolicy?: string;
175
- ziRegionState?: string;
176
- /** Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location. */
177
- zoneIsolation?: string;
178
- /** Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location. */
179
- zoneSeparation?: string;
180
- zsOrgPolicy?: string;
181
- zsRegionState?: string;
182
- }
183
145
  interface ListEvaluationsResponse {
184
146
  /** The list of Evaluation */
185
147
  evaluations?: Evaluation[];
@@ -238,17 +200,9 @@ declare namespace gapi.client {
238
200
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
239
201
  name?: string;
240
202
  }
241
- interface LocationAssignment {
242
- location?: string;
243
- locationType?: string;
244
- }
245
- interface LocationData {
246
- blobstoreLocation?: BlobstoreLocation;
247
- childAssetLocation?: CloudAssetComposition;
248
- directLocation?: DirectLocationAssignment;
249
- gcpProjectProxy?: TenantProjectProxy;
250
- placerLocation?: PlacerLocation;
251
- spannerLocation?: SpannerLocation;
203
+ interface Notice {
204
+ /** Output only. Message of the notice */
205
+ message?: string;
252
206
  }
253
207
  interface Operation {
254
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. */
@@ -278,20 +232,6 @@ declare namespace gapi.client {
278
232
  /** Output only. Name of the verb executed by the operation. */
279
233
  verb?: string;
280
234
  }
281
- interface PlacerLocation {
282
- /** Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") */
283
- placerConfig?: string;
284
- }
285
- interface RegionalMigDistributionPolicy {
286
- /** The shape in which the group converges around distribution of resources. Instance of proto2 enum */
287
- targetShape?: number;
288
- /** Cloud zones used by regional MIG to create instances. */
289
- zones?: ZoneConfiguration[];
290
- }
291
- interface RequirementOverride {
292
- ziOverride?: string;
293
- zsOverride?: string;
294
- }
295
235
  interface Resource {
296
236
  /** The name of the resource. */
297
237
  name?: string;
@@ -340,6 +280,18 @@ declare namespace gapi.client {
340
280
  /** the docuement url for the rule */
341
281
  uri?: string;
342
282
  }
283
+ interface RuleExecutionResult {
284
+ /** Execution message, if any */
285
+ message?: string;
286
+ /** Number of violations */
287
+ resultCount?: string;
288
+ /** rule name */
289
+ rule?: string;
290
+ /** Number of total scanned resources */
291
+ scannedResourceCount?: string;
292
+ /** Output only. The execution status */
293
+ state?: string;
294
+ }
343
295
  interface RunEvaluationRequest {
344
296
  /** Required. The resource being created */
345
297
  execution?: Execution;
@@ -510,12 +462,6 @@ declare namespace gapi.client {
510
462
  /** Optional. If not specified, the default timeout is 60 seconds. */
511
463
  timeoutSeconds?: number;
512
464
  }
513
- interface SpannerLocation {
514
- /** Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata */
515
- backupName?: string[];
516
- /** Set of databases used by the resource in format /span// */
517
- dbName?: string[];
518
- }
519
465
  interface SqlserverValidation {
520
466
  /** Optional. The agent version collected this data point */
521
467
  agentVersion?: string;
@@ -544,9 +490,6 @@ declare namespace gapi.client {
544
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. */
545
491
  message?: string;
546
492
  }
547
- interface TenantProjectProxy {
548
- projectNumbers?: string[];
549
- }
550
493
  interface ViolationDetails {
551
494
  /** The name of the asset. */
552
495
  asset?: string;
@@ -564,9 +507,6 @@ declare namespace gapi.client {
564
507
  requestId?: string;
565
508
  }
566
509
  interface WriteInsightResponse {}
567
- interface ZoneConfiguration {
568
- zone?: string;
569
- }
570
510
  interface ResultsResource {
571
511
  /** Lists the result of a single evaluation. */
572
512
  list(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20241002",
3
+ "version": "0.0.20241016",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",