@maxim_mazurok/gapi.client.datamigration-v1 0.0.20230301 → 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 +14 -7
- package/package.json +1 -1
- package/tests.ts +8 -7
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;
|
|
@@ -3078,12 +3090,7 @@ declare namespace gapi.client {
|
|
|
3078
3090
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3079
3091
|
uploadType?: string;
|
|
3080
3092
|
}): Request<Operation>;
|
|
3081
|
-
/**
|
|
3082
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
|
|
3083
|
-
* to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
3084
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
3085
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
3086
|
-
*/
|
|
3093
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
3087
3094
|
list(request?: {
|
|
3088
3095
|
/** V1 error format. */
|
|
3089
3096
|
"$.xgafv"?: 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,
|
|
@@ -873,12 +879,7 @@ gapi.load('client', async () => {
|
|
|
873
879
|
await gapi.client.datamigration.projects.locations.operations.get({
|
|
874
880
|
name: "Test string",
|
|
875
881
|
});
|
|
876
|
-
/**
|
|
877
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
|
|
878
|
-
* override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
879
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
880
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
881
|
-
*/
|
|
882
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
882
883
|
await gapi.client.datamigration.projects.locations.operations.list({
|
|
883
884
|
filter: "Test string",
|
|
884
885
|
name: "Test string",
|