@maxim_mazurok/gapi.client.datamigration-v1 0.2.20260611 → 0.2.20260620
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 +10 -2
- package/package.json +1 -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: 20260620
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1059,6 +1059,8 @@ declare namespace gapi.client {
|
|
|
1059
1059
|
filter?: string;
|
|
1060
1060
|
/** The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. */
|
|
1061
1061
|
labels?: {[P in string]: string};
|
|
1062
|
+
/** Optional. Configuration for MySQL homogeneous migration. */
|
|
1063
|
+
mysqlHomogeneousConfig?: MySqlHomogeneousConfig;
|
|
1062
1064
|
/** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
|
|
1063
1065
|
name?: string;
|
|
1064
1066
|
/** Optional. The objects that need to be migrated. */
|
|
@@ -1142,7 +1144,9 @@ declare namespace gapi.client {
|
|
|
1142
1144
|
| 'READY_FOR_PROMOTE'
|
|
1143
1145
|
| 'PROMOTE_IN_PROGRESS'
|
|
1144
1146
|
| 'PROMOTED'
|
|
1145
|
-
| 'DIFF_BACKUP'
|
|
1147
|
+
| 'DIFF_BACKUP'
|
|
1148
|
+
| 'CREATING_BACKUP'
|
|
1149
|
+
| 'RESTORING_BACKUP';
|
|
1146
1150
|
/** The object identifier in the data source. */
|
|
1147
1151
|
sourceObject?: SourceObjectIdentifier;
|
|
1148
1152
|
/** The state of the migration job object. */
|
|
@@ -1249,6 +1253,10 @@ declare namespace gapi.client {
|
|
|
1249
1253
|
/** Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service. */
|
|
1250
1254
|
username?: string;
|
|
1251
1255
|
}
|
|
1256
|
+
interface MySqlHomogeneousConfig {
|
|
1257
|
+
/** Optional. Whether the destination for the migration job is a primary instance. */
|
|
1258
|
+
isPrimaryDestination?: boolean;
|
|
1259
|
+
}
|
|
1252
1260
|
interface Operation {
|
|
1253
1261
|
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
1254
1262
|
done?: boolean;
|