@maxim_mazurok/gapi.client.datamigration-v1 0.0.20230426 → 0.0.20230503

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 +9 -1
  2. package/package.json +1 -1
  3. package/tests.ts +3 -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: 20230426
12
+ // Revision: 20230503
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -776,6 +776,14 @@ declare namespace gapi.client {
776
776
  number;
777
777
  }
778
778
  interface MigrationJob {
779
+ /**
780
+ * The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the
781
+ * cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the
782
+ * kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format:
783
+ * projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
784
+ */
785
+ cmekKeyName?:
786
+ string;
779
787
  /** The conversion workspace used by the migration. */
780
788
  conversionWorkspace?:
781
789
  ConversionWorkspaceInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datamigration-v1",
3
- "version": "0.0.20230426",
3
+ "version": "0.0.20230503",
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: 20230426
6
+ // Revision: 20230503
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -624,6 +624,7 @@ gapi.load('client', async () => {
624
624
  parent: "Test string",
625
625
  requestId: "Test string",
626
626
  }, {
627
+ cmekKeyName: "Test string",
627
628
  conversionWorkspace: {
628
629
  commitId: "Test string",
629
630
  name: "Test string",
@@ -725,6 +726,7 @@ gapi.load('client', async () => {
725
726
  requestId: "Test string",
726
727
  updateMask: "Test string",
727
728
  }, {
729
+ cmekKeyName: "Test string",
728
730
  conversionWorkspace: {
729
731
  commitId: "Test string",
730
732
  name: "Test string",