@maxim_mazurok/gapi.client.assuredworkloads-v1 0.0.20230331 → 0.0.20230406
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 +9 -9
- package/package.json +1 -1
- package/tests.ts +4 -7
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: 20230406
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -74,7 +74,10 @@ declare namespace gapi.client {
|
|
|
74
74
|
interface GoogleCloudAssuredworkloadsV1Violation {
|
|
75
75
|
/** A boolean that indicates if the violation is acknowledged */
|
|
76
76
|
acknowledged?: boolean;
|
|
77
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one
|
|
79
|
+
* violations. This field will be absent when acknowledged field is marked as false.
|
|
80
|
+
*/
|
|
78
81
|
acknowledgementTime?: string;
|
|
79
82
|
/** Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder} */
|
|
80
83
|
auditLogLink?: string;
|
|
@@ -210,7 +213,7 @@ declare namespace gapi.client {
|
|
|
210
213
|
/** Indicates Ekm provisioning error if any. */
|
|
211
214
|
ekmProvisioningErrorDomain?: string;
|
|
212
215
|
/** Detailed error message if Ekm provisioning fails */
|
|
213
|
-
|
|
216
|
+
ekmProvisioningErrorMapping?: string;
|
|
214
217
|
/** Indicates Ekm enrollment Provisioning of a given workload. */
|
|
215
218
|
ekmProvisioningState?: string;
|
|
216
219
|
}
|
|
@@ -245,7 +248,7 @@ declare namespace gapi.client {
|
|
|
245
248
|
* folder, don't set this value as folder_id is assigned by Google.
|
|
246
249
|
*/
|
|
247
250
|
resourceId?: string;
|
|
248
|
-
/** Indicates the type of resource. This field should be specified to correspond the id to the right
|
|
251
|
+
/** Indicates the type of resource. This field should be specified to correspond the id to the right resource type (CONSUMER_FOLDER or ENCRYPTION_KEYS_PROJECT) */
|
|
249
252
|
resourceType?: string;
|
|
250
253
|
}
|
|
251
254
|
interface GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse {
|
|
@@ -553,10 +556,7 @@ declare namespace gapi.client {
|
|
|
553
556
|
uploadType?: string;
|
|
554
557
|
},
|
|
555
558
|
body: GoogleCloudAssuredworkloadsV1Workload): Request<GoogleLongrunningOperation>;
|
|
556
|
-
/**
|
|
557
|
-
* Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to
|
|
558
|
-
* assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.
|
|
559
|
-
*/
|
|
559
|
+
/** Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. */
|
|
560
560
|
delete(request?: {
|
|
561
561
|
/** V1 error format. */
|
|
562
562
|
"$.xgafv"?: string;
|
|
@@ -600,7 +600,7 @@ declare namespace gapi.client {
|
|
|
600
600
|
/** 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. */
|
|
601
601
|
key?: string;
|
|
602
602
|
/**
|
|
603
|
-
* Required. The resource name of the Workload to fetch. This is the
|
|
603
|
+
* Required. The resource name of the Workload to fetch. This is the workload's relative path in the API, formatted as
|
|
604
604
|
* "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".
|
|
605
605
|
*/
|
|
606
606
|
name: string;
|
package/package.json
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: 20230406
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -58,7 +58,7 @@ gapi.load('client', async () => {
|
|
|
58
58
|
displayName: "Test string",
|
|
59
59
|
ekmProvisioningResponse: {
|
|
60
60
|
ekmProvisioningErrorDomain: "Test string",
|
|
61
|
-
|
|
61
|
+
ekmProvisioningErrorMapping: "Test string",
|
|
62
62
|
ekmProvisioningState: "Test string",
|
|
63
63
|
},
|
|
64
64
|
enableSovereignControls: true,
|
|
@@ -94,10 +94,7 @@ gapi.load('client', async () => {
|
|
|
94
94
|
setupStatus: "Test string",
|
|
95
95
|
},
|
|
96
96
|
});
|
|
97
|
-
/**
|
|
98
|
-
* Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to
|
|
99
|
-
* assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.
|
|
100
|
-
*/
|
|
97
|
+
/** Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. */
|
|
101
98
|
await gapi.client.assuredworkloads.organizations.locations.workloads.delete({
|
|
102
99
|
etag: "Test string",
|
|
103
100
|
name: "Test string",
|
|
@@ -146,7 +143,7 @@ gapi.load('client', async () => {
|
|
|
146
143
|
displayName: "Test string",
|
|
147
144
|
ekmProvisioningResponse: {
|
|
148
145
|
ekmProvisioningErrorDomain: "Test string",
|
|
149
|
-
|
|
146
|
+
ekmProvisioningErrorMapping: "Test string",
|
|
150
147
|
ekmProvisioningState: "Test string",
|
|
151
148
|
},
|
|
152
149
|
enableSovereignControls: true,
|