@maxim_mazurok/gapi.client.assuredworkloads-v1 0.2.20260615 → 0.3.20260623

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 +164 -9
  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: 20260615
12
+ // Revision: 20260623
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -99,7 +99,10 @@ declare namespace gapi.client {
99
99
  /** Required. The resource names of the Violations to acknowledge. Format for each name: organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation} */
100
100
  names?: string[];
101
101
  }
102
- interface GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse {}
102
+ interface GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse {
103
+ /** Count of acknowledged violations. */
104
+ acknowledgedViolationsCount?: number;
105
+ }
103
106
  interface GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata {
104
107
  /** Optional. Compliance controls that should be applied to the resources managed by the workload. */
105
108
  complianceRegime?:
@@ -156,8 +159,41 @@ declare namespace gapi.client {
156
159
  /** Optional. The parent of the workload. */
157
160
  parent?: string;
158
161
  }
162
+ interface GoogleCloudAssuredworkloadsV1DbFindingSummary {
163
+ /** Output only. The category of the finding. */
164
+ findingCategory?: string;
165
+ /** Output only. The class of the finding. */
166
+ findingClass?:
167
+ | 'FINDING_CLASS_UNSPECIFIED'
168
+ | 'THREAT'
169
+ | 'VULNERABILITY'
170
+ | 'MISCONFIGURATION'
171
+ | 'OBSERVATION'
172
+ | 'SCC_ERROR'
173
+ | 'POSTURE_VIOLATION'
174
+ | 'TOXIC_COMBINATION'
175
+ | 'SENSITIVE_DATA_RISK'
176
+ | 'CHOKEPOINT';
177
+ /** Output only. The count of the finding. */
178
+ findingCount?: string;
179
+ /** Identifier. The name of the finding summary. */
180
+ name?: string;
181
+ /** Optional. The list of compliance frameworks that the finding belongs to. */
182
+ relatedFrameworks?: string[];
183
+ /** Output only. The severity of the finding. */
184
+ severity?:
185
+ 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
186
+ /** Output only. The last updated time of the finding. */
187
+ updateTime?: string;
188
+ }
159
189
  interface GoogleCloudAssuredworkloadsV1EnableComplianceUpdatesResponse {}
160
190
  interface GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse {}
191
+ interface GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse {
192
+ /** List of finding summary by category. */
193
+ dbFindingSummaries?: GoogleCloudAssuredworkloadsV1DbFindingSummary[];
194
+ /** Output only. The token to retrieve the next page of results. */
195
+ nextPageToken?: string;
196
+ }
161
197
  interface GoogleCloudAssuredworkloadsV1ListViolationsResponse {
162
198
  /** The next page token. Returns empty if reached the last page. */
163
199
  nextPageToken?: string;
@@ -543,9 +579,7 @@ declare namespace gapi.client {
543
579
  | 'ERROR_SETUP_CHECK_FAILED'[];
544
580
  /** Output only. Indicates SAA enrollment status of a given workload. */
545
581
  setupStatus?:
546
- | 'SETUP_STATE_UNSPECIFIED'
547
- | 'STATUS_PENDING'
548
- | 'STATUS_COMPLETE';
582
+ 'SETUP_STATE_UNSPECIFIED' | 'STATUS_PENDING' | 'STATUS_COMPLETE';
549
583
  }
550
584
  interface GoogleCloudAssuredworkloadsV1WorkloadUpdate {
551
585
  /** The time the update was created. */
@@ -562,8 +596,7 @@ declare namespace gapi.client {
562
596
  interface GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions {
563
597
  /** Optional. Specifies type of KAJ Enrollment if provided. */
564
598
  kajEnrollmentType?:
565
- | 'KAJ_ENROLLMENT_TYPE_UNSPECIFIED'
566
- | 'KEY_ACCESS_TRANSPARENCY_OFF';
599
+ 'KAJ_ENROLLMENT_TYPE_UNSPECIFIED' | 'KEY_ACCESS_TRANSPARENCY_OFF';
567
600
  }
568
601
  interface GoogleLongrunningListOperationsResponse {
569
602
  /** The standard List next-page token. */
@@ -704,6 +737,82 @@ declare namespace gapi.client {
704
737
  body: GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsRequest,
705
738
  ): Request<GoogleCloudAssuredworkloadsV1RevertArchivedResourceEventsResponse>;
706
739
  }
740
+ interface DbFindingSummariesResource {
741
+ /** Lists the finding summary by category for a given scope. */
742
+ list(request?: {
743
+ /** V1 error format. */
744
+ '$.xgafv'?: '1' | '2';
745
+ /** OAuth access token. */
746
+ access_token?: string;
747
+ /** Data format for response. */
748
+ alt?: 'json' | 'media' | 'proto';
749
+ /** JSONP */
750
+ callback?: string;
751
+ /** Selector specifying which fields to include in a partial response. */
752
+ fields?: string;
753
+ /** Optional. The filtering results. */
754
+ filter?: string;
755
+ /** 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. */
756
+ key?: string;
757
+ /** OAuth 2.0 token for the current user. */
758
+ oauth_token?: string;
759
+ /** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
760
+ pageSize?: number;
761
+ /** Optional. A token that identifies the page of results that the server should return. */
762
+ pageToken?: string;
763
+ /** Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} */
764
+ parent: string;
765
+ /** Returns response with indentations and line breaks. */
766
+ prettyPrint?: boolean;
767
+ /** 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. */
768
+ quotaUser?: string;
769
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
770
+ upload_protocol?: string;
771
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
772
+ uploadType?: string;
773
+ }): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
774
+ }
775
+ interface LocationsResource {
776
+ dbFindingSummaries: DbFindingSummariesResource;
777
+ }
778
+ interface FoldersResource {
779
+ locations: LocationsResource;
780
+ }
781
+ interface DbFindingSummariesResource {
782
+ /** Lists the finding summary by category for a given scope. */
783
+ list(request?: {
784
+ /** V1 error format. */
785
+ '$.xgafv'?: '1' | '2';
786
+ /** OAuth access token. */
787
+ access_token?: string;
788
+ /** Data format for response. */
789
+ alt?: 'json' | 'media' | 'proto';
790
+ /** JSONP */
791
+ callback?: string;
792
+ /** Selector specifying which fields to include in a partial response. */
793
+ fields?: string;
794
+ /** Optional. The filtering results. */
795
+ filter?: string;
796
+ /** 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. */
797
+ key?: string;
798
+ /** OAuth 2.0 token for the current user. */
799
+ oauth_token?: string;
800
+ /** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
801
+ pageSize?: number;
802
+ /** Optional. A token that identifies the page of results that the server should return. */
803
+ pageToken?: string;
804
+ /** Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} */
805
+ parent: string;
806
+ /** Returns response with indentations and line breaks. */
807
+ prettyPrint?: boolean;
808
+ /** 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. */
809
+ quotaUser?: string;
810
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
811
+ upload_protocol?: string;
812
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
813
+ uploadType?: string;
814
+ }): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
815
+ }
707
816
  interface OperationsResource {
708
817
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
709
818
  get(request?: {
@@ -946,7 +1055,7 @@ declare namespace gapi.client {
946
1055
  uploadType?: string;
947
1056
  /** Request body */
948
1057
  resource: GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest;
949
- }): Request<{}>;
1058
+ }): Request<GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse>;
950
1059
  batchAcknowledgeViolations(
951
1060
  request: {
952
1061
  /** V1 error format. */
@@ -975,7 +1084,7 @@ declare namespace gapi.client {
975
1084
  uploadType?: string;
976
1085
  },
977
1086
  body: GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsRequest,
978
- ): Request<{}>;
1087
+ ): Request<GoogleCloudAssuredworkloadsV1BatchAcknowledgeViolationsResponse>;
979
1088
  /** Retrieves Assured Workload Violation based on ID. */
980
1089
  get(request?: {
981
1090
  /** V1 error format. */
@@ -1466,15 +1575,61 @@ declare namespace gapi.client {
1466
1575
  violations: ViolationsResource;
1467
1576
  }
1468
1577
  interface LocationsResource {
1578
+ dbFindingSummaries: DbFindingSummariesResource;
1469
1579
  operations: OperationsResource;
1470
1580
  workloads: WorkloadsResource;
1471
1581
  }
1472
1582
  interface OrganizationsResource {
1473
1583
  locations: LocationsResource;
1474
1584
  }
1585
+ interface DbFindingSummariesResource {
1586
+ /** Lists the finding summary by category for a given scope. */
1587
+ list(request?: {
1588
+ /** V1 error format. */
1589
+ '$.xgafv'?: '1' | '2';
1590
+ /** OAuth access token. */
1591
+ access_token?: string;
1592
+ /** Data format for response. */
1593
+ alt?: 'json' | 'media' | 'proto';
1594
+ /** JSONP */
1595
+ callback?: string;
1596
+ /** Selector specifying which fields to include in a partial response. */
1597
+ fields?: string;
1598
+ /** Optional. The filtering results. */
1599
+ filter?: string;
1600
+ /** 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. */
1601
+ key?: string;
1602
+ /** OAuth 2.0 token for the current user. */
1603
+ oauth_token?: string;
1604
+ /** Optional. The requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */
1605
+ pageSize?: number;
1606
+ /** Optional. A token that identifies the page of results that the server should return. */
1607
+ pageToken?: string;
1608
+ /** Required. The parent scope for the framework overview page. Formats: - projects/{project}/locations/{location} - folders/{folder}/locations/{location} - organizations/{organization}/locations/{location} */
1609
+ parent: string;
1610
+ /** Returns response with indentations and line breaks. */
1611
+ prettyPrint?: boolean;
1612
+ /** 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. */
1613
+ quotaUser?: string;
1614
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1615
+ upload_protocol?: string;
1616
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1617
+ uploadType?: string;
1618
+ }): Request<GoogleCloudAssuredworkloadsV1ListDbFindingSummariesResponse>;
1619
+ }
1620
+ interface LocationsResource {
1621
+ dbFindingSummaries: DbFindingSummariesResource;
1622
+ }
1623
+ interface ProjectsResource {
1624
+ locations: LocationsResource;
1625
+ }
1475
1626
 
1476
1627
  const assuredworkloads: AssuredworkloadsResource;
1477
1628
 
1629
+ const folders: FoldersResource;
1630
+
1478
1631
  const organizations: OrganizationsResource;
1632
+
1633
+ const projects: ProjectsResource;
1479
1634
  }
1480
1635
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.assuredworkloads-v1",
3
- "version": "0.2.20260615",
3
+ "version": "0.3.20260623",
4
4
  "description": "TypeScript typings for Assured Workloads API v1",
5
5
  "repository": {
6
6
  "type": "git",