@maxim_mazurok/gapi.client.assuredworkloads-v1 0.3.20260719 → 0.3.20260810

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 +5 -74
  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://assuredworkloads.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260719
12
+ // Revision: 20260810
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -98,21 +98,6 @@ declare namespace gapi.client {
98
98
  /** Type of the asset being analyzed. Possible values will be among the ones listed [here](https://cloud.google.com/asset-inventory/docs/supported-asset-types). */
99
99
  assetType?: string;
100
100
  }
101
- interface GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest {
102
- /** Optional. Acknowledge type of specified violations. */
103
- acknowledgeType?:
104
- | 'ACKNOWLEDGE_TYPE_UNSPECIFIED'
105
- | 'SINGLE_VIOLATION'
106
- | 'EXISTING_CHILD_RESOURCE_VIOLATIONS';
107
- /** Required. Business justification explaining the need for violations acknowledgement */
108
- comment?: string;
109
- /** Required. The resource names of the Violations to acknowledge. Format for each name: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} */
110
- names?: string[];
111
- }
112
- interface GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse {
113
- /** Count of acknowledged violations. */
114
- acknowledgedViolationsCount?: number;
115
- }
116
101
  interface GoogleCloudAssuredworkloadsV1CELExpression {
117
102
  /** Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see [CEL expression](https://cloud.google.com/security-command-center/docs/compliance-manager-write-cel-expressions). */
118
103
  expression?: string;
@@ -290,8 +275,12 @@ declare namespace gapi.client {
290
275
  findingCount?: string;
291
276
  /** Identifier. The name of the finding summary. */
292
277
  name?: string;
278
+ /** Output only. Number of active organization policy findings for this category. */
279
+ organizationPolicyFindingCount?: string;
293
280
  /** Optional. The list of compliance frameworks that the finding belongs to. */
294
281
  relatedFrameworks?: string[];
282
+ /** Output only. Number of active resource findings for this category. */
283
+ resourceFindingCount?: string;
295
284
  /** Output only. The severity of the finding. */
296
285
  severity?:
297
286
  'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
@@ -1551,64 +1540,6 @@ declare namespace gapi.client {
1551
1540
  },
1552
1541
  body: GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest,
1553
1542
  ): Request<{}>;
1554
- /** Acknowledges multiple existing violations. By acknowledging violations, users acknowledge the existence of compliance violations in their workload and decide to ignore them due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted. This is a batch version of AcknowledgeViolation. */
1555
- batchAcknowledgeViolations(request: {
1556
- /** V1 error format. */
1557
- '$.xgafv'?: '1' | '2';
1558
- /** OAuth access token. */
1559
- access_token?: string;
1560
- /** Data format for response. */
1561
- alt?: 'json' | 'media' | 'proto';
1562
- /** JSONP */
1563
- callback?: string;
1564
- /** Selector specifying which fields to include in a partial response. */
1565
- fields?: string;
1566
- /** 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. */
1567
- key?: string;
1568
- /** OAuth 2.0 token for the current user. */
1569
- oauth_token?: string;
1570
- /** Optional. The parent resource shared by all violations being acknowledged. Format: organizations/{organization}/locations/{location}/workloads/{workload} */
1571
- parent: string;
1572
- /** Returns response with indentations and line breaks. */
1573
- prettyPrint?: boolean;
1574
- /** 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. */
1575
- quotaUser?: string;
1576
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1577
- upload_protocol?: string;
1578
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1579
- uploadType?: string;
1580
- /** Request body */
1581
- resource: GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest;
1582
- }): Request<GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse>;
1583
- batchAcknowledgeViolations(
1584
- request: {
1585
- /** V1 error format. */
1586
- '$.xgafv'?: '1' | '2';
1587
- /** OAuth access token. */
1588
- access_token?: string;
1589
- /** Data format for response. */
1590
- alt?: 'json' | 'media' | 'proto';
1591
- /** JSONP */
1592
- callback?: string;
1593
- /** Selector specifying which fields to include in a partial response. */
1594
- fields?: string;
1595
- /** 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. */
1596
- key?: string;
1597
- /** OAuth 2.0 token for the current user. */
1598
- oauth_token?: string;
1599
- /** Optional. The parent resource shared by all violations being acknowledged. Format: organizations/{organization}/locations/{location}/workloads/{workload} */
1600
- parent: string;
1601
- /** Returns response with indentations and line breaks. */
1602
- prettyPrint?: boolean;
1603
- /** 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. */
1604
- quotaUser?: string;
1605
- /** Upload protocol for media (e.g. "raw", "multipart"). */
1606
- upload_protocol?: string;
1607
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1608
- uploadType?: string;
1609
- },
1610
- body: GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest,
1611
- ): Request<GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse>;
1612
1543
  /** Retrieves Assured Workload Violation based on ID. */
1613
1544
  get(request?: {
1614
1545
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.assuredworkloads-v1",
3
- "version": "0.3.20260719",
3
+ "version": "0.3.20260810",
4
4
  "description": "TypeScript typings for Assured Workloads API v1",
5
5
  "repository": {
6
6
  "type": "git",