@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20240918 → 0.0.20241009

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 +19 -1
  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: 20240918
12
+ // Revision: 20241009
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -112,6 +112,8 @@ declare namespace gapi.client {
112
112
  labels?: {[P in string]: string};
113
113
  /** The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution} */
114
114
  name?: string;
115
+ /** Output only. execution result summary per rule */
116
+ ruleResults?: RuleExecutionResult[];
115
117
  /** type represent whether the execution executed directly by user or scheduled according evaluation.schedule field. */
116
118
  runType?: string;
117
119
  /** Output only. [Output only] Start time stamp */
@@ -130,6 +132,8 @@ declare namespace gapi.client {
130
132
  rule?: string;
131
133
  /** The severity of violation. */
132
134
  severity?: string;
135
+ /** Execution result type of the scanned resource */
136
+ type?: string;
133
137
  /** The details of violation in an evaluation result. */
134
138
  violationDetails?: ViolationDetails;
135
139
  /** The violation message of an execution. */
@@ -338,6 +342,18 @@ declare namespace gapi.client {
338
342
  /** the docuement url for the rule */
339
343
  uri?: string;
340
344
  }
345
+ interface RuleExecutionResult {
346
+ /** Execution message, if any */
347
+ message?: string;
348
+ /** Number of violations */
349
+ resultCount?: string;
350
+ /** rule name */
351
+ rule?: string;
352
+ /** Number of total scanned resources */
353
+ scannedResourceCount?: string;
354
+ /** Output only. The execution status */
355
+ state?: string;
356
+ }
341
357
  interface RunEvaluationRequest {
342
358
  /** Required. The resource being created */
343
359
  execution?: Execution;
@@ -445,6 +461,8 @@ declare namespace gapi.client {
445
461
  instanceNumber?: string;
446
462
  /** Optional. Bitmask of instance role, a resource may have multiple roles at once. */
447
463
  instanceRole?: string;
464
+ /** Optional. Instance is part of a DR site. */
465
+ isDrSite?: boolean;
448
466
  /** Optional. A virtual hostname of the instance if it has one. */
449
467
  virtualHostname?: string;
450
468
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20240918",
3
+ "version": "0.0.20241009",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",