@maxim_mazurok/gapi.client.datamigration-v1 0.0.20230610 → 0.0.20230619

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 +7 -1
  2. package/package.json +1 -1
  3. package/tests.ts +4 -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://datamigration.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230610
12
+ // Revision: 20230619
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -212,6 +212,9 @@ declare namespace gapi.client {
212
212
  /** The type of storage: `PD_SSD` (default) or `PD_HDD`. */
213
213
  dataDiskType?:
214
214
  string;
215
+ /** Optional. The edition of the given Cloud SQL instance. */
216
+ edition?:
217
+ string;
215
218
  /** The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled. */
216
219
  ipConfig?:
217
220
  SqlIpConfig;
@@ -2370,6 +2373,9 @@ declare namespace gapi.client {
2370
2373
  /** Selector specifying which fields to include in a partial response. */
2371
2374
  fields?:
2372
2375
  string;
2376
+ /** Force delete the conversion workspace, even if there's a running migration that is using the workspace. */
2377
+ force?:
2378
+ boolean;
2373
2379
  /** 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. */
2374
2380
  key?:
2375
2381
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datamigration-v1",
3
- "version": "0.0.20230610",
3
+ "version": "0.0.20230619",
4
4
  "description": "TypeScript typings for Database Migration 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: 20230610
6
+ // Revision: 20230619
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -101,6 +101,7 @@ gapi.load('client', async () => {
101
101
  databaseVersion: "Test string",
102
102
  dataDiskSizeGb: "Test string",
103
103
  dataDiskType: "Test string",
104
+ edition: "Test string",
104
105
  ipConfig: {
105
106
  allocatedIpRange: "Test string",
106
107
  authorizedNetworks: [
@@ -284,6 +285,7 @@ gapi.load('client', async () => {
284
285
  databaseVersion: "Test string",
285
286
  dataDiskSizeGb: "Test string",
286
287
  dataDiskType: "Test string",
288
+ edition: "Test string",
287
289
  ipConfig: {
288
290
  allocatedIpRange: "Test string",
289
291
  authorizedNetworks: [
@@ -484,6 +486,7 @@ gapi.load('client', async () => {
484
486
  });
485
487
  /** Deletes a single conversion workspace. */
486
488
  await gapi.client.datamigration.projects.locations.conversionWorkspaces.delete({
489
+ force: true,
487
490
  name: "Test string",
488
491
  requestId: "Test string",
489
492
  });