@maxim_mazurok/gapi.client.assuredworkloads-v1 0.0.20230218 → 0.0.20230302

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 +12 -2
  2. package/package.json +1 -1
  3. package/tests.ts +11 -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: 20230218
12
+ // Revision: 20230302
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -160,6 +160,8 @@ declare namespace gapi.client {
160
160
  * hyphen, and spaces. Example: My Workload
161
161
  */
162
162
  displayName?: string;
163
+ /** Optional. Represents the Ekm Provisioning State of the given workload. */
164
+ ekmProvisioningResponse?: GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse;
163
165
  /** Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers. */
164
166
  enableSovereignControls?: boolean;
165
167
  /** Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations. */
@@ -204,6 +206,14 @@ declare namespace gapi.client {
204
206
  /** Count of active Violations which haven't been acknowledged. */
205
207
  activeViolationCount?: number;
206
208
  }
209
+ interface GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse {
210
+ /** Indicates Ekm provisioning error if any. */
211
+ ekmProvisioningErrorDomain?: string;
212
+ /** Detailed error message if Ekm provisioning fails */
213
+ ekmProvisioningErrorMessage?: string;
214
+ /** Indicates Ekm enrollment Provisioning of a given workload. */
215
+ ekmProvisioningState?: string;
216
+ }
207
217
  interface GoogleCloudAssuredworkloadsV1WorkloadKMSSettings {
208
218
  /** Required. Input only. Immutable. The time at which the Key Management Service will automatically create a new version of the crypto key and mark it as the primary. */
209
219
  nextRotationTime?: string;
@@ -214,7 +224,7 @@ declare namespace gapi.client {
214
224
  rotationPeriod?: string;
215
225
  }
216
226
  interface GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions {
217
- /** Allow partner to view data and logs */
227
+ /** Allow the partner to view inspectability logs and monitoring violations. */
218
228
  dataLogsViewer?: boolean;
219
229
  /** Allow partner to monitor folder and remediate violations */
220
230
  remediateFolderViolations?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.assuredworkloads-v1",
3
- "version": "0.0.20230218",
3
+ "version": "0.0.20230302",
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: 20230218
6
+ // Revision: 20230302
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -61,6 +61,11 @@ gapi.load('client', async () => {
61
61
  ],
62
62
  createTime: "Test string",
63
63
  displayName: "Test string",
64
+ ekmProvisioningResponse: {
65
+ ekmProvisioningErrorDomain: "Test string",
66
+ ekmProvisioningErrorMessage: "Test string",
67
+ ekmProvisioningState: "Test string",
68
+ },
64
69
  enableSovereignControls: true,
65
70
  etag: "Test string",
66
71
  kajEnrollmentState: "Test string",
@@ -141,6 +146,11 @@ gapi.load('client', async () => {
141
146
  ],
142
147
  createTime: "Test string",
143
148
  displayName: "Test string",
149
+ ekmProvisioningResponse: {
150
+ ekmProvisioningErrorDomain: "Test string",
151
+ ekmProvisioningErrorMessage: "Test string",
152
+ ekmProvisioningState: "Test string",
153
+ },
144
154
  enableSovereignControls: true,
145
155
  etag: "Test string",
146
156
  kajEnrollmentState: "Test string",