@maxim_mazurok/gapi.client.assuredworkloads-v1 0.0.20220926 → 0.0.20221007

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 (3) hide show
  1. package/index.d.ts +6 -6
  2. package/package.json +1 -1
  3. package/tests.ts +1 -2
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: 20220926
12
+ // Revision: 20221007
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -25,11 +25,6 @@ declare namespace gapi.client {
25
25
  interface GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest {
26
26
  /** Required. Business justification explaining the need for violation acknowledgement */
27
27
  comment?: string;
28
- /**
29
- * Optional. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name}
30
- * folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
31
- */
32
- nonCompliantOrgPolicy?: string;
33
28
  }
34
29
  // tslint:disable-next-line:no-empty-interface
35
30
  interface GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse {
@@ -76,6 +71,11 @@ declare namespace gapi.client {
76
71
  category?: string;
77
72
  /** Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value. */
78
73
  description?: string;
74
+ /**
75
+ * Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format:
76
+ * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
77
+ */
78
+ exceptionAuditLogLink?: string;
79
79
  /** Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id} */
80
80
  name?: string;
81
81
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.assuredworkloads-v1",
3
- "version": "0.0.20220926",
3
+ "version": "0.0.20221007",
4
4
  "description": "TypeScript typings for Assured Workloads API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20220926
6
+ // Revision: 20221007
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -172,7 +172,6 @@ gapi.load('client', async () => {
172
172
  name: "Test string",
173
173
  }, {
174
174
  comment: "Test string",
175
- nonCompliantOrgPolicy: "Test string",
176
175
  });
177
176
  /** Retrieves Assured Workload Violation based on ID. */
178
177
  await gapi.client.assuredworkloads.organizations.locations.workloads.violations.get({