@maxim_mazurok/gapi.client.datamigration-v1 0.0.20240221 → 0.0.20240312
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 +57 -1
- 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: 20240312
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -245,6 +245,8 @@ declare namespace gapi.client {
|
|
|
245
245
|
postgresql?: PostgreSqlConnectionProfile;
|
|
246
246
|
/** The database provider. */
|
|
247
247
|
provider?: string;
|
|
248
|
+
/** Connection profile for a SQL Server data source. */
|
|
249
|
+
sqlserver?: SqlServerConnectionProfile;
|
|
248
250
|
/** The current connection profile state (e.g. DRAFT, READY, or FAILED). */
|
|
249
251
|
state?: string;
|
|
250
252
|
/** Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */
|
|
@@ -725,6 +727,8 @@ declare namespace gapi.client {
|
|
|
725
727
|
source?: string;
|
|
726
728
|
/** The database engine type and provider of the source. */
|
|
727
729
|
sourceDatabase?: DatabaseType;
|
|
730
|
+
/** Optional. Configuration for SQL Server homogeneous migration. */
|
|
731
|
+
sqlserverHomogeneousMigrationJobConfig?: SqlServerHomogeneousMigrationJobConfig;
|
|
728
732
|
/** The current migration job state. */
|
|
729
733
|
state?: string;
|
|
730
734
|
/** static ip connectivity data (default, no additional details needed). */
|
|
@@ -1075,6 +1079,58 @@ declare namespace gapi.client {
|
|
|
1075
1079
|
/** Whether SSL connections over IP should be enforced or not. */
|
|
1076
1080
|
requireSsl?: boolean;
|
|
1077
1081
|
}
|
|
1082
|
+
interface SqlServerBackups {
|
|
1083
|
+
/** Required. The Cloud Storage bucket that stores backups for all replicated databases. */
|
|
1084
|
+
gcsBucket?: string;
|
|
1085
|
+
/** Optional. Cloud Storage path inside the bucket that stores backups. */
|
|
1086
|
+
gcsPrefix?: string;
|
|
1087
|
+
}
|
|
1088
|
+
interface SqlServerConnectionProfile {
|
|
1089
|
+
/** The backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server. */
|
|
1090
|
+
backups?: SqlServerBackups;
|
|
1091
|
+
/** If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source. */
|
|
1092
|
+
cloudSqlId?: string;
|
|
1093
|
+
/** Forward SSH tunnel connectivity. */
|
|
1094
|
+
forwardSshConnectivity?: ForwardSshTunnelConnectivity;
|
|
1095
|
+
/** Required. The IP or hostname of the source SQL Server database. */
|
|
1096
|
+
host?: string;
|
|
1097
|
+
/** Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service. */
|
|
1098
|
+
password?: string;
|
|
1099
|
+
/** Output only. Indicates whether a new password is included in the request. */
|
|
1100
|
+
passwordSet?: boolean;
|
|
1101
|
+
/** Required. The network port of the source SQL Server database. */
|
|
1102
|
+
port?: number;
|
|
1103
|
+
/** Private connectivity. */
|
|
1104
|
+
privateConnectivity?: PrivateConnectivity;
|
|
1105
|
+
/** Private Service Connect connectivity. */
|
|
1106
|
+
privateServiceConnectConnectivity?: PrivateServiceConnectConnectivity;
|
|
1107
|
+
/** SSL configuration for the destination to connect to the source database. */
|
|
1108
|
+
ssl?: SslConfig;
|
|
1109
|
+
/** Static IP connectivity data (default, no additional details needed). */
|
|
1110
|
+
staticIpConnectivity?: any;
|
|
1111
|
+
/** Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service. */
|
|
1112
|
+
username?: string;
|
|
1113
|
+
}
|
|
1114
|
+
interface SqlServerDatabaseBackup {
|
|
1115
|
+
/** Required. Name of a SQL Server database for which to define backup configuration. */
|
|
1116
|
+
database?: string;
|
|
1117
|
+
/** Optional. Encryption settings for the database. Required if provided database backups are encrypted. Encryption settings include path to certificate, path to certificate private key, and key password. */
|
|
1118
|
+
encryptionOptions?: SqlServerEncryptionOptions;
|
|
1119
|
+
}
|
|
1120
|
+
interface SqlServerEncryptionOptions {
|
|
1121
|
+
/** Required. Path to certificate. */
|
|
1122
|
+
certPath?: string;
|
|
1123
|
+
/** Required. Input only. Private key password. */
|
|
1124
|
+
pvkPassword?: string;
|
|
1125
|
+
/** Required. Path to certificate private key. */
|
|
1126
|
+
pvkPath?: string;
|
|
1127
|
+
}
|
|
1128
|
+
interface SqlServerHomogeneousMigrationJobConfig {
|
|
1129
|
+
/** Required. Pattern that describes the default backup naming strategy. The specified pattern should ensure lexicographical order of backups. The pattern must define one of the following capture group sets: Capture group set #1 yy/yyyy - year, 2 or 4 digits mm - month number, 1-12 dd - day of month, 1-31 hh - hour of day, 00-23 mi - minutes, 00-59 ss - seconds, 00-59 Example: For backup file TestDB_backup_20230802_155400.trn, use pattern: (?.*)_backup_(?\d{4})(?\d{2})(?\d{2})_(?\d{2})(?\d{2})(?\d{2}).trn Capture group set #2 timestamp - unix timestamp Example: For backup file TestDB_backup_1691448254.trn, use pattern: (?.*)_backup_(?.*).trn */
|
|
1130
|
+
backupFilePattern?: string;
|
|
1131
|
+
/** Required. Backup details per database in Cloud Storage. */
|
|
1132
|
+
databaseBackups?: SqlServerDatabaseBackup[];
|
|
1133
|
+
}
|
|
1078
1134
|
interface SshScript {
|
|
1079
1135
|
/** The ssh configuration script. */
|
|
1080
1136
|
script?: string;
|