@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20241023 → 0.0.20250101

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 +37 -3
  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: 20241023
12
+ // Revision: 20250101
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -57,6 +57,8 @@ declare namespace gapi.client {
57
57
  customRulesBucket?: string;
58
58
  /** Description of the Evaluation */
59
59
  description?: string;
60
+ /** Evaluation type */
61
+ evaluationType?: string;
60
62
  /** Labels as key value pairs */
61
63
  labels?: {[P in string]: string};
62
64
  /** name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */
@@ -89,6 +91,8 @@ declare namespace gapi.client {
89
91
  name?: string;
90
92
  /** Output only. Additional information generated by the execution */
91
93
  notices?: Notice[];
94
+ /** Output only. [Output only] Result summary for the execution */
95
+ resultSummary?: Summary;
92
96
  /** Output only. execution result summary per rule */
93
97
  ruleResults?: RuleExecutionResult[];
94
98
  /** type represent whether the execution executed directly by user or scheduled according evaluation.schedule field. */
@@ -141,6 +145,8 @@ declare namespace gapi.client {
141
145
  sentTime?: string;
142
146
  /** The insights data for the sqlserver workload validation. */
143
147
  sqlserverValidation?: SqlserverValidation;
148
+ /** The insights data for workload validation of torso workloads. */
149
+ torsoValidation?: TorsoValidation;
144
150
  }
145
151
  interface ListEvaluationsResponse {
146
152
  /** The list of Evaluation */
@@ -325,8 +331,10 @@ declare namespace gapi.client {
325
331
  haHosts?: string[];
326
332
  /** Required. Pantheon Project in which the resources reside. */
327
333
  hostProject?: string;
334
+ /** Optional. The region this component's resources are primarily located in. */
335
+ region?: string;
328
336
  /** Optional. A list of replication sites used in Disaster Recovery (DR) configurations. */
329
- replicationSites?: SapDiscoveryComponent[];
337
+ replicationSites?: SapDiscoveryComponentReplicationSite[];
330
338
  /** Optional. The resources in a component. */
331
339
  resources?: SapDiscoveryResource[];
332
340
  /** Optional. The SAP identifier, used by the SAP software and helps differentiate systems for customers. */
@@ -366,6 +374,12 @@ declare namespace gapi.client {
366
374
  /** Optional. URI of the recognized shared NFS of the database. May be empty if the database has only a single node. */
367
375
  sharedNfsUri?: string;
368
376
  }
377
+ interface SapDiscoveryComponentReplicationSite {
378
+ /** Optional. The system component for the site. */
379
+ component?: SapDiscoveryComponent;
380
+ /** Optional. The name of the source site from which this one replicates. */
381
+ sourceSite?: string;
382
+ }
369
383
  interface SapDiscoveryMetadata {
370
384
  /** Optional. Customer region string for customer's use. Does not represent GCP region. */
371
385
  customerRegion?: string;
@@ -490,6 +504,26 @@ declare namespace gapi.client {
490
504
  /** 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. */
491
505
  message?: string;
492
506
  }
507
+ interface Summary {
508
+ /** Output only. Number of failures */
509
+ failures?: string;
510
+ /** Output only. Number of new failures compared to the previous execution */
511
+ newFailures?: string;
512
+ /** Output only. Number of new fixes compared to the previous execution */
513
+ newFixes?: string;
514
+ }
515
+ interface TorsoValidation {
516
+ /** Required. agent_version lists the version of the agent that collected this data. */
517
+ agentVersion?: string;
518
+ /** Required. instance_name lists the human readable name of the instance that the data comes from. */
519
+ instanceName?: string;
520
+ /** Required. project_id lists the human readable cloud project that the data comes from. */
521
+ projectId?: string;
522
+ /** Required. validation_details contains the pairs of validation data: field name & field value. */
523
+ validationDetails?: {[P in string]: string};
524
+ /** Required. workload_type specifies the type of torso workload. */
525
+ workloadType?: string;
526
+ }
493
527
  interface ViolationDetails {
494
528
  /** The name of the asset. */
495
529
  asset?: string;
@@ -957,7 +991,7 @@ declare namespace gapi.client {
957
991
  ): Request<{}>;
958
992
  }
959
993
  interface OperationsResource {
960
- /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
994
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
961
995
  cancel(request: {
962
996
  /** V1 error format. */
963
997
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.0.20241023",
3
+ "version": "0.0.20250101",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",