@maxim_mazurok/gapi.client.assuredworkloads-v1 0.0.20230721 → 0.0.20230804
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 -7
- package/package.json +2 -2
- package/tests.ts +4 -4
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:
|
|
12
|
+
// Revision: 20230804
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -315,12 +315,12 @@ declare namespace gapi.client {
|
|
|
315
315
|
string;
|
|
316
316
|
}
|
|
317
317
|
interface GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions {
|
|
318
|
+
/** Optional. Allow partner to view violation alerts. */
|
|
319
|
+
assuredWorkloadsMonitoring?:
|
|
320
|
+
boolean;
|
|
318
321
|
/** Allow the partner to view inspectability logs and monitoring violations. */
|
|
319
322
|
dataLogsViewer?:
|
|
320
323
|
boolean;
|
|
321
|
-
/** Allow partner to monitor folder and remediate violations */
|
|
322
|
-
remediateFolderViolations?:
|
|
323
|
-
boolean;
|
|
324
324
|
/** Optional. Allow partner to view access approval logs. */
|
|
325
325
|
serviceAccessApprover?:
|
|
326
326
|
boolean;
|
|
@@ -383,9 +383,9 @@ declare namespace gapi.client {
|
|
|
383
383
|
name?:
|
|
384
384
|
string;
|
|
385
385
|
/**
|
|
386
|
-
* The normal response of the operation
|
|
387
|
-
*
|
|
388
|
-
*
|
|
386
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
|
|
387
|
+
* method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
|
|
388
|
+
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
389
389
|
*/
|
|
390
390
|
response?:
|
|
391
391
|
{ [P in string]: any };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.assuredworkloads-v1",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20230804",
|
|
4
4
|
"description": "TypeScript typings for Assured Workloads API v1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
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: 20230804
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -74,8 +74,8 @@ gapi.load('client', async () => {
|
|
|
74
74
|
name: "Test string",
|
|
75
75
|
partner: "Test string",
|
|
76
76
|
partnerPermissions: {
|
|
77
|
+
assuredWorkloadsMonitoring: true,
|
|
77
78
|
dataLogsViewer: true,
|
|
78
|
-
remediateFolderViolations: true,
|
|
79
79
|
serviceAccessApprover: true,
|
|
80
80
|
},
|
|
81
81
|
provisionedResourcesParent: "Test string",
|
|
@@ -125,8 +125,8 @@ gapi.load('client', async () => {
|
|
|
125
125
|
}, {
|
|
126
126
|
etag: "Test string",
|
|
127
127
|
partnerPermissions: {
|
|
128
|
+
assuredWorkloadsMonitoring: true,
|
|
128
129
|
dataLogsViewer: true,
|
|
129
|
-
remediateFolderViolations: true,
|
|
130
130
|
serviceAccessApprover: true,
|
|
131
131
|
},
|
|
132
132
|
updateMask: "Test string",
|
|
@@ -168,8 +168,8 @@ gapi.load('client', async () => {
|
|
|
168
168
|
name: "Test string",
|
|
169
169
|
partner: "Test string",
|
|
170
170
|
partnerPermissions: {
|
|
171
|
+
assuredWorkloadsMonitoring: true,
|
|
171
172
|
dataLogsViewer: true,
|
|
172
|
-
remediateFolderViolations: true,
|
|
173
173
|
serviceAccessApprover: true,
|
|
174
174
|
},
|
|
175
175
|
provisionedResourcesParent: "Test string",
|