@maxim_mazurok/gapi.client.assuredworkloads-v1beta1 0.0.20221007 → 0.0.20221014
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.
- package/index.d.ts +7 -2
- package/package.json +1 -1
- package/readme.md +1 -1
- package/tests.ts +2 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Type definitions for non-npm package Assured Workloads API v1beta1 0.0 */
|
|
2
|
-
// Project: https://cloud.google.com
|
|
2
|
+
// Project: https://cloud.google.com/learnmoreurl
|
|
3
3
|
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
@@ -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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221014
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -25,6 +25,11 @@ declare namespace gapi.client {
|
|
|
25
25
|
interface GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest {
|
|
26
26
|
/** Required. Business justification explaining the need for violation acknowledgement */
|
|
27
27
|
comment?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this
|
|
30
|
+
* violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
|
|
31
|
+
*/
|
|
32
|
+
nonCompliantOrgPolicy?: string;
|
|
28
33
|
}
|
|
29
34
|
// tslint:disable-next-line:no-empty-interface
|
|
30
35
|
interface GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponse {
|
package/package.json
CHANGED
package/readme.md
CHANGED
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:
|
|
6
|
+
// Revision: 20221014
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -237,6 +237,7 @@ gapi.load('client', async () => {
|
|
|
237
237
|
name: "Test string",
|
|
238
238
|
}, {
|
|
239
239
|
comment: "Test string",
|
|
240
|
+
nonCompliantOrgPolicy: "Test string",
|
|
240
241
|
});
|
|
241
242
|
/** Retrieves Assured Workload Violation based on ID. */
|
|
242
243
|
await gapi.client.assuredworkloads.organizations.locations.workloads.violations.get({
|