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

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 +96 -5
  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: 20251001
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -248,7 +248,7 @@ declare namespace gapi.client {
248
248
  /** Optional. The instance id where the insight is generated from */
249
249
  instanceId?: string;
250
250
  /** The insights data for the OpenShift workload validation. */
251
- openShiftValidation?: any;
251
+ openShiftValidation?: OpenShiftValidation;
252
252
  /** The insights data for SAP system discovery. This is a copy of SAP System proto and should get updated whenever that one changes. */
253
253
  sapDiscovery?: SapDiscovery;
254
254
  /** The insights data for the SAP workload validation. */
@@ -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;
@@ -315,10 +329,12 @@ declare namespace gapi.client {
315
329
  nextPageToken?: string;
316
330
  /** A list of operations that matches the specified filter in the request. */
317
331
  operations?: Operation[];
332
+ /** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. */
333
+ unreachable?: string[];
318
334
  }
319
335
  interface ListRulesResponse {
320
- /** A token identifying a page of results the server should return. */
321
- nextPageToken?: string;
336
+ /** A wrapper of the invalid rules that failed to be validated. */
337
+ invalidRulesWrapper?: InvalidRulesWrapper;
322
338
  /** all rules in response */
323
339
  rules?: Rule[];
324
340
  }
@@ -344,7 +360,12 @@ declare namespace gapi.client {
344
360
  /** Output only. Message of the notice */
345
361
  message?: string;
346
362
  }
347
- interface OpenShiftValidation {}
363
+ interface OpenShiftValidation {
364
+ /** Required. The OpenShift cluster ID (e.g. 8371bb05-7cac-4d38-82c0-0f58c4f6f936). */
365
+ clusterId?: string;
366
+ /** Required. The validation details of the OpenShift cluster in JSON format. */
367
+ validationDetails?: {[P in string]: any};
368
+ }
348
369
  interface Operation {
349
370
  /** 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. */
350
371
  done?: boolean;
@@ -404,6 +425,8 @@ declare namespace gapi.client {
404
425
  state?: string;
405
426
  }
406
427
  interface Rule {
428
+ /** The CAI asset type of the rule is evaluating, for joined asset types, it will be the corresponding primary asset types. */
429
+ assetType?: string;
407
430
  /** descrite rule in plain language */
408
431
  description?: string;
409
432
  /** the name display in UI */
@@ -1202,6 +1225,72 @@ declare namespace gapi.client {
1202
1225
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1203
1226
  uploadType?: string;
1204
1227
  }): Request<ListEvaluationsResponse>;
1228
+ /** Updates the parameters of a single Evaluation. */
1229
+ patch(request: {
1230
+ /** V1 error format. */
1231
+ '$.xgafv'?: string;
1232
+ /** OAuth access token. */
1233
+ access_token?: string;
1234
+ /** Data format for response. */
1235
+ alt?: string;
1236
+ /** JSONP */
1237
+ callback?: string;
1238
+ /** Selector specifying which fields to include in a partial response. */
1239
+ fields?: string;
1240
+ /** 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. */
1241
+ key?: string;
1242
+ /** name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */
1243
+ name: string;
1244
+ /** OAuth 2.0 token for the current user. */
1245
+ oauth_token?: string;
1246
+ /** Returns response with indentations and line breaks. */
1247
+ prettyPrint?: boolean;
1248
+ /** 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. */
1249
+ quotaUser?: string;
1250
+ /** 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). */
1251
+ requestId?: string;
1252
+ /** 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. */
1253
+ updateMask?: string;
1254
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1255
+ upload_protocol?: string;
1256
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1257
+ uploadType?: string;
1258
+ /** Request body */
1259
+ resource: Evaluation;
1260
+ }): Request<Operation>;
1261
+ patch(
1262
+ request: {
1263
+ /** V1 error format. */
1264
+ '$.xgafv'?: string;
1265
+ /** OAuth access token. */
1266
+ access_token?: string;
1267
+ /** Data format for response. */
1268
+ alt?: string;
1269
+ /** JSONP */
1270
+ callback?: string;
1271
+ /** Selector specifying which fields to include in a partial response. */
1272
+ fields?: string;
1273
+ /** 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. */
1274
+ key?: string;
1275
+ /** name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */
1276
+ name: string;
1277
+ /** OAuth 2.0 token for the current user. */
1278
+ oauth_token?: string;
1279
+ /** Returns response with indentations and line breaks. */
1280
+ prettyPrint?: boolean;
1281
+ /** 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. */
1282
+ quotaUser?: string;
1283
+ /** 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). */
1284
+ requestId?: string;
1285
+ /** 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. */
1286
+ updateMask?: string;
1287
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1288
+ upload_protocol?: string;
1289
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1290
+ uploadType?: string;
1291
+ },
1292
+ body: Evaluation,
1293
+ ): Request<Operation>;
1205
1294
  executions: ExecutionsResource;
1206
1295
  }
1207
1296
  interface InsightsResource {
@@ -1434,6 +1523,8 @@ declare namespace gapi.client {
1434
1523
  prettyPrint?: boolean;
1435
1524
  /** 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. */
1436
1525
  quotaUser?: string;
1526
+ /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
1527
+ returnPartialSuccess?: boolean;
1437
1528
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1438
1529
  upload_protocol?: string;
1439
1530
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
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.20251001",
4
4
  "description": "TypeScript typings for Workload Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",