@maxim_mazurok/gapi.client.assuredworkloads-v1beta1 0.0.20230721 → 0.0.20230731

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 +10 -8
  2. package/package.json +1 -1
  3. package/tests.ts +5 -5
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=v1beta1
12
- // Revision: 20230721
12
+ // Revision: 20230731
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -344,12 +344,12 @@ declare namespace gapi.client {
344
344
  string;
345
345
  }
346
346
  interface GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions {
347
+ /** Optional. Allow partner to view violation alerts. */
348
+ assuredWorkloadsMonitoring?:
349
+ boolean;
347
350
  /** Allow the partner to view inspectability logs and monitoring violations. */
348
351
  dataLogsViewer?:
349
352
  boolean;
350
- /** Allow partner to monitor folder and remediate violations */
351
- remediateFolderViolations?:
352
- boolean;
353
353
  /** Optional. Allow partner to view access approval logs. */
354
354
  serviceAccessApprover?:
355
355
  boolean;
@@ -526,7 +526,7 @@ declare namespace gapi.client {
526
526
  }): Request<GoogleLongrunningListOperationsResponse>;
527
527
  }
528
528
  interface WorkloadsResource {
529
- /** Analyzes a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload. */
529
+ /** Analyzes a hypothetical move of a source project to a target (destination) folder-based workload. */
530
530
  analyzeWorkloadMove(request?: {
531
531
  /** V1 error format. */
532
532
  "$.xgafv"?:
@@ -563,7 +563,8 @@ declare namespace gapi.client {
563
563
  string;
564
564
  /**
565
565
  * The source type is a project-based workload. Specify the workloads's relative resource name, formatted as:
566
- * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-1"
566
+ * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-1" This option is
567
+ * now deprecated
567
568
  */
568
569
  source:
569
570
  string;
@@ -1198,7 +1199,7 @@ declare namespace gapi.client {
1198
1199
  LocationsResource;
1199
1200
  }
1200
1201
  interface WorkloadsResource {
1201
- /** Analyzes a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload. */
1202
+ /** Analyzes a hypothetical move of a source project to a target (destination) folder-based workload. */
1202
1203
  analyzeWorkloadMove(request?: {
1203
1204
  /** V1 error format. */
1204
1205
  "$.xgafv"?:
@@ -1235,7 +1236,8 @@ declare namespace gapi.client {
1235
1236
  string;
1236
1237
  /**
1237
1238
  * The source type is a project-based workload. Specify the workloads's relative resource name, formatted as:
1238
- * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-1"
1239
+ * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-1" This option is
1240
+ * now deprecated
1239
1241
  */
1240
1242
  source?:
1241
1243
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.assuredworkloads-v1beta1",
3
- "version": "0.0.20230721",
3
+ "version": "0.0.20230731",
4
4
  "description": "TypeScript typings for Assured Workloads API v1beta1",
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: 20230721
6
+ // Revision: 20230731
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -98,8 +98,8 @@ gapi.load('client', async () => {
98
98
  name: "Test string",
99
99
  partner: "Test string",
100
100
  partnerPermissions: {
101
+ assuredWorkloadsMonitoring: true,
101
102
  dataLogsViewer: true,
102
- remediateFolderViolations: true,
103
103
  serviceAccessApprover: true,
104
104
  },
105
105
  provisionedResourcesParent: "Test string",
@@ -204,8 +204,8 @@ gapi.load('client', async () => {
204
204
  name: "Test string",
205
205
  partner: "Test string",
206
206
  partnerPermissions: {
207
+ assuredWorkloadsMonitoring: true,
207
208
  dataLogsViewer: true,
208
- remediateFolderViolations: true,
209
209
  serviceAccessApprover: true,
210
210
  },
211
211
  provisionedResourcesParent: "Test string",
@@ -240,7 +240,7 @@ gapi.load('client', async () => {
240
240
  }, {
241
241
  restrictionType: "Test string",
242
242
  });
243
- /** Analyzes a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload. */
243
+ /** Analyzes a hypothetical move of a source project to a target (destination) folder-based workload. */
244
244
  await gapi.client.assuredworkloads.organizations.locations.workloads.organizations.locations.workloads.analyzeWorkloadMove({
245
245
  project: "Test string",
246
246
  source: "Test string",
@@ -272,7 +272,7 @@ gapi.load('client', async () => {
272
272
  pageToken: "Test string",
273
273
  parent: "Test string",
274
274
  });
275
- /** Analyzes a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload. */
275
+ /** Analyzes a hypothetical move of a source project to a target (destination) folder-based workload. */
276
276
  await gapi.client.assuredworkloads.projects.organizations.locations.workloads.analyzeWorkloadMove({
277
277
  project: "Test string",
278
278
  source: "Test string",