@maxim_mazurok/gapi.client.assuredworkloads-v1 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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /* Type definitions for non-npm package Assured Workloads API v1 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=v1
12
- // Revision: 20221007
12
+ // Revision: 20221014
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -25,6 +25,11 @@ 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. 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 GoogleCloudAssuredworkloadsV1AcknowledgeViolationResponse {
@@ -206,7 +211,7 @@ declare namespace gapi.client {
206
211
  * folder, don't set this value as folder_id is assigned by Google.
207
212
  */
208
213
  resourceId?: string;
209
- /** Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT) */
214
+ /** 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) */
210
215
  resourceType?: string;
211
216
  }
212
217
  interface GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse {
@@ -563,7 +568,7 @@ declare namespace gapi.client {
563
568
  /** 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. */
564
569
  key?: string;
565
570
  /**
566
- * Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as
571
+ * Required. The resource name of the Workload to fetch. This is the workload's relative path in the API, formatted as
567
572
  * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".
568
573
  */
569
574
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.assuredworkloads-v1",
3
- "version": "0.0.20221007",
3
+ "version": "0.0.20221014",
4
4
  "description": "TypeScript typings for Assured Workloads API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # TypeScript typings for Assured Workloads API v1
2
2
 
3
3
 
4
- For detailed description please check [documentation](https://cloud.google.com).
4
+ For detailed description please check [documentation](https://cloud.google.com/learnmoreurl).
5
5
 
6
6
  ## Installing
7
7
 
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: 20221007
6
+ // Revision: 20221014
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -172,6 +172,7 @@ gapi.load('client', async () => {
172
172
  name: "Test string",
173
173
  }, {
174
174
  comment: "Test string",
175
+ nonCompliantOrgPolicy: "Test string",
175
176
  });
176
177
  /** Retrieves Assured Workload Violation based on ID. */
177
178
  await gapi.client.assuredworkloads.organizations.locations.workloads.violations.get({