@maxim_mazurok/gapi.client.workloadmanager-v1 0.1.20250910 → 0.1.20250922

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 +83 -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: 20250910
12
+ // Revision: 20250922
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -274,6 +274,20 @@ declare namespace gapi.client {
274
274
  /** Optional. the next maintenance event on VM */
275
275
  upcomingMaintenanceEvent?: UpcomingMaintenanceEvent;
276
276
  }
277
+ interface InvalidRule {
278
+ /** display name of the invalid rule */
279
+ displayName?: string;
280
+ /** cloud storage destination of the invalid rule */
281
+ gcsUri?: string;
282
+ /** name of the invalid rule */
283
+ name?: string;
284
+ /** The error message of valdating rule formats. */
285
+ valiadtionError?: string;
286
+ }
287
+ interface InvalidRulesWrapper {
288
+ /** The invalid rules that failed to be validated. */
289
+ invalidRules?: InvalidRule[];
290
+ }
277
291
  interface ListDiscoveredProfilesResponse {
278
292
  /** Output only. A token identifying a page of results the server should return */
279
293
  nextPageToken?: string;
@@ -317,8 +331,8 @@ declare namespace gapi.client {
317
331
  operations?: Operation[];
318
332
  }
319
333
  interface ListRulesResponse {
320
- /** A token identifying a page of results the server should return. */
321
- nextPageToken?: string;
334
+ /** A wrapper of the invalid rules that failed to be validated. */
335
+ invalidRulesWrapper?: InvalidRulesWrapper;
322
336
  /** all rules in response */
323
337
  rules?: Rule[];
324
338
  }
@@ -1202,6 +1216,72 @@ declare namespace gapi.client {
1202
1216
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1203
1217
  uploadType?: string;
1204
1218
  }): Request<ListEvaluationsResponse>;
1219
+ /** Updates the parameters of a single Evaluation. */
1220
+ patch(request: {
1221
+ /** V1 error format. */
1222
+ '$.xgafv'?: string;
1223
+ /** OAuth access token. */
1224
+ access_token?: string;
1225
+ /** Data format for response. */
1226
+ alt?: string;
1227
+ /** JSONP */
1228
+ callback?: string;
1229
+ /** Selector specifying which fields to include in a partial response. */
1230
+ fields?: string;
1231
+ /** 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. */
1232
+ key?: string;
1233
+ /** name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */
1234
+ name: string;
1235
+ /** OAuth 2.0 token for the current user. */
1236
+ oauth_token?: string;
1237
+ /** Returns response with indentations and line breaks. */
1238
+ prettyPrint?: boolean;
1239
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1240
+ quotaUser?: string;
1241
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
1242
+ requestId?: string;
1243
+ /** Required. Field mask is used to specify the fields to be overwritten in the Evaluation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. */
1244
+ updateMask?: string;
1245
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1246
+ upload_protocol?: string;
1247
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1248
+ uploadType?: string;
1249
+ /** Request body */
1250
+ resource: Evaluation;
1251
+ }): Request<Operation>;
1252
+ patch(
1253
+ request: {
1254
+ /** V1 error format. */
1255
+ '$.xgafv'?: string;
1256
+ /** OAuth access token. */
1257
+ access_token?: string;
1258
+ /** Data format for response. */
1259
+ alt?: string;
1260
+ /** JSONP */
1261
+ callback?: string;
1262
+ /** Selector specifying which fields to include in a partial response. */
1263
+ fields?: string;
1264
+ /** 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. */
1265
+ key?: string;
1266
+ /** name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */
1267
+ name: string;
1268
+ /** OAuth 2.0 token for the current user. */
1269
+ oauth_token?: string;
1270
+ /** Returns response with indentations and line breaks. */
1271
+ prettyPrint?: boolean;
1272
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1273
+ quotaUser?: string;
1274
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
1275
+ requestId?: string;
1276
+ /** Required. Field mask is used to specify the fields to be overwritten in the Evaluation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. */
1277
+ updateMask?: string;
1278
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1279
+ upload_protocol?: string;
1280
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1281
+ uploadType?: string;
1282
+ },
1283
+ body: Evaluation,
1284
+ ): Request<Operation>;
1205
1285
  executions: ExecutionsResource;
1206
1286
  }
1207
1287
  interface InsightsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workloadmanager-v1",
3
- "version": "0.1.20250910",
3
+ "version": "0.1.20250922",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",