@maxim_mazurok/gapi.client.datamigration-v1 0.2.20260611 → 0.3.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 +15 -19
- 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
|
|
|
@@ -89,10 +89,7 @@ declare namespace gapi.client {
|
|
|
89
89
|
exemptedMembers?: string[];
|
|
90
90
|
/** The log type that this config enables. */
|
|
91
91
|
logType?:
|
|
92
|
-
| '
|
|
93
|
-
| 'ADMIN_READ'
|
|
94
|
-
| 'DATA_WRITE'
|
|
95
|
-
| 'DATA_READ';
|
|
92
|
+
'LOG_TYPE_UNSPECIFIED' | 'ADMIN_READ' | 'DATA_WRITE' | 'DATA_READ';
|
|
96
93
|
}
|
|
97
94
|
interface AuthorizedNetwork {
|
|
98
95
|
/** Optional. CIDR range for one authorzied network of the instance. */
|
|
@@ -105,9 +102,7 @@ declare namespace gapi.client {
|
|
|
105
102
|
completionComment?: string;
|
|
106
103
|
/** Output only. Job completion state, i.e. the final state after the job completed. */
|
|
107
104
|
completionState?:
|
|
108
|
-
| '
|
|
109
|
-
| 'SUCCEEDED'
|
|
110
|
-
| 'FAILED';
|
|
105
|
+
'JOB_COMPLETION_STATE_UNSPECIFIED' | 'SUCCEEDED' | 'FAILED';
|
|
111
106
|
/** Output only. Convert job details. */
|
|
112
107
|
convertJobDetails?: ConvertJobDetails;
|
|
113
108
|
/** The timestamp when the background job was finished. */
|
|
@@ -164,16 +159,12 @@ declare namespace gapi.client {
|
|
|
164
159
|
interface CloudSqlSettings {
|
|
165
160
|
/** The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives. */
|
|
166
161
|
activationPolicy?:
|
|
167
|
-
| '
|
|
168
|
-
| 'ALWAYS'
|
|
169
|
-
| 'NEVER';
|
|
162
|
+
'SQL_ACTIVATION_POLICY_UNSPECIFIED' | 'ALWAYS' | 'NEVER';
|
|
170
163
|
/** [default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB. */
|
|
171
164
|
autoStorageIncrease?: boolean;
|
|
172
165
|
/** Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available). */
|
|
173
166
|
availabilityType?:
|
|
174
|
-
| '
|
|
175
|
-
| 'ZONAL'
|
|
176
|
-
| 'REGIONAL';
|
|
167
|
+
'SQL_AVAILABILITY_TYPE_UNSPECIFIED' | 'ZONAL' | 'REGIONAL';
|
|
177
168
|
/** The KMS key name used for the csql instance. */
|
|
178
169
|
cmekKeyName?: string;
|
|
179
170
|
/** The Cloud SQL default instance level collation. */
|
|
@@ -1059,6 +1050,8 @@ declare namespace gapi.client {
|
|
|
1059
1050
|
filter?: string;
|
|
1060
1051
|
/** 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
1052
|
labels?: {[P in string]: string};
|
|
1053
|
+
/** Optional. Configuration for MySQL homogeneous migration. */
|
|
1054
|
+
mysqlHomogeneousConfig?: MySqlHomogeneousConfig;
|
|
1062
1055
|
/** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
|
|
1063
1056
|
name?: string;
|
|
1064
1057
|
/** Optional. The objects that need to be migrated. */
|
|
@@ -1142,7 +1135,9 @@ declare namespace gapi.client {
|
|
|
1142
1135
|
| 'READY_FOR_PROMOTE'
|
|
1143
1136
|
| 'PROMOTE_IN_PROGRESS'
|
|
1144
1137
|
| 'PROMOTED'
|
|
1145
|
-
| 'DIFF_BACKUP'
|
|
1138
|
+
| 'DIFF_BACKUP'
|
|
1139
|
+
| 'CREATING_BACKUP'
|
|
1140
|
+
| 'RESTORING_BACKUP';
|
|
1146
1141
|
/** The object identifier in the data source. */
|
|
1147
1142
|
sourceObject?: SourceObjectIdentifier;
|
|
1148
1143
|
/** The state of the migration job object. */
|
|
@@ -1249,6 +1244,10 @@ declare namespace gapi.client {
|
|
|
1249
1244
|
/** 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
1245
|
username?: string;
|
|
1251
1246
|
}
|
|
1247
|
+
interface MySqlHomogeneousConfig {
|
|
1248
|
+
/** Optional. Whether the destination for the migration job is a primary instance. */
|
|
1249
|
+
isPrimaryDestination?: boolean;
|
|
1250
|
+
}
|
|
1252
1251
|
interface Operation {
|
|
1253
1252
|
/** 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
1253
|
done?: boolean;
|
|
@@ -1333,10 +1332,7 @@ declare namespace gapi.client {
|
|
|
1333
1332
|
interface PerformanceConfig {
|
|
1334
1333
|
/** Initial dump parallelism level. */
|
|
1335
1334
|
dumpParallelLevel?:
|
|
1336
|
-
| '
|
|
1337
|
-
| 'MIN'
|
|
1338
|
-
| 'OPTIMAL'
|
|
1339
|
-
| 'MAX';
|
|
1335
|
+
'DUMP_PARALLEL_LEVEL_UNSPECIFIED' | 'MIN' | 'OPTIMAL' | 'MAX';
|
|
1340
1336
|
}
|
|
1341
1337
|
interface Policy {
|
|
1342
1338
|
/** Specifies cloud audit logging configuration for this policy. */
|