@maxim_mazurok/gapi.client.datamigration-v1 0.0.20230308 → 0.0.20230320
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 +13 -1
- package/package.json +1 -1
- package/tests.ts +7 -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:
|
|
12
|
+
// Revision: 20230320
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -29,6 +29,11 @@ declare namespace gapi.client {
|
|
|
29
29
|
settings?: AlloyDbSettings;
|
|
30
30
|
}
|
|
31
31
|
interface AlloyDbSettings {
|
|
32
|
+
/**
|
|
33
|
+
* Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this
|
|
34
|
+
* field is not specified, the cluster will then use default encryption scheme to protect the user data.
|
|
35
|
+
*/
|
|
36
|
+
encryptionConfig?: EncryptionConfig;
|
|
32
37
|
/** Required. Input only. Initial user to setup during cluster creation. Required. */
|
|
33
38
|
initialUser?: UserPassword;
|
|
34
39
|
/** Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs. */
|
|
@@ -397,6 +402,13 @@ declare namespace gapi.client {
|
|
|
397
402
|
// tslint:disable-next-line:no-empty-interface
|
|
398
403
|
interface Empty {
|
|
399
404
|
}
|
|
405
|
+
interface EncryptionConfig {
|
|
406
|
+
/**
|
|
407
|
+
* The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format:
|
|
408
|
+
* projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
|
|
409
|
+
*/
|
|
410
|
+
kmsKeyName?: string;
|
|
411
|
+
}
|
|
400
412
|
interface EntityMapping {
|
|
401
413
|
/** Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column. */
|
|
402
414
|
draftEntity?: string;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230320
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -57,6 +57,9 @@ gapi.load('client', async () => {
|
|
|
57
57
|
alloydb: {
|
|
58
58
|
clusterId: "Test string",
|
|
59
59
|
settings: {
|
|
60
|
+
encryptionConfig: {
|
|
61
|
+
kmsKeyName: "Test string",
|
|
62
|
+
},
|
|
60
63
|
initialUser: {
|
|
61
64
|
password: "Test string",
|
|
62
65
|
passwordSet: true,
|
|
@@ -230,6 +233,9 @@ gapi.load('client', async () => {
|
|
|
230
233
|
alloydb: {
|
|
231
234
|
clusterId: "Test string",
|
|
232
235
|
settings: {
|
|
236
|
+
encryptionConfig: {
|
|
237
|
+
kmsKeyName: "Test string",
|
|
238
|
+
},
|
|
233
239
|
initialUser: {
|
|
234
240
|
password: "Test string",
|
|
235
241
|
passwordSet: true,
|