@maxim_mazurok/gapi.client.workloadmanager-v1 0.0.20241016 → 0.0.20241209
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 +28 -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:
|
|
12
|
+
// Revision: 20241209
|
|
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 */
|
|
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 */
|
|
@@ -490,6 +496,26 @@ declare namespace gapi.client {
|
|
|
490
496
|
/** 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
497
|
message?: string;
|
|
492
498
|
}
|
|
499
|
+
interface Summary {
|
|
500
|
+
/** Output only. Number of failures */
|
|
501
|
+
failures?: string;
|
|
502
|
+
/** Output only. Number of new failures compared to the previous execution */
|
|
503
|
+
newFailures?: string;
|
|
504
|
+
/** Output only. Number of new fixes compared to the previous execution */
|
|
505
|
+
newFixes?: string;
|
|
506
|
+
}
|
|
507
|
+
interface TorsoValidation {
|
|
508
|
+
/** Required. agent_version lists the version of the agent that collected this data. */
|
|
509
|
+
agentVersion?: string;
|
|
510
|
+
/** Required. instance_name lists the human readable name of the instance that the data comes from. */
|
|
511
|
+
instanceName?: string;
|
|
512
|
+
/** Required. project_id lists the human readable cloud project that the data comes from. */
|
|
513
|
+
projectId?: string;
|
|
514
|
+
/** Required. validation_details contains the pairs of validation data: field name & field value. */
|
|
515
|
+
validationDetails?: {[P in string]: string};
|
|
516
|
+
/** Required. workload_type specifies the type of torso workload. */
|
|
517
|
+
workloadType?: string;
|
|
518
|
+
}
|
|
493
519
|
interface ViolationDetails {
|
|
494
520
|
/** The name of the asset. */
|
|
495
521
|
asset?: string;
|
|
@@ -957,7 +983,7 @@ declare namespace gapi.client {
|
|
|
957
983
|
): Request<{}>;
|
|
958
984
|
}
|
|
959
985
|
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
|
|
986
|
+
/** 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
987
|
cancel(request: {
|
|
962
988
|
/** V1 error format. */
|
|
963
989
|
'$.xgafv'?: string;
|