@google-cloud/dms 3.0.0 → 3.1.0
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/CHANGELOG.md +12 -0
- package/README.md +6 -1
- package/build/protos/google/cloud/clouddms/v1/clouddms.proto +285 -44
- package/build/protos/google/cloud/clouddms/v1/clouddms_resources.proto +63 -2
- package/build/protos/google/cloud/clouddms/v1/conversionworkspace_resources.proto +791 -31
- package/build/protos/protos.d.ts +4612 -214
- package/build/protos/protos.js +24183 -12468
- package/build/protos/protos.json +1587 -128
- package/build/src/v1/data_migration_service_client.d.ts +372 -61
- package/build/src/v1/data_migration_service_client.js +298 -31
- package/build/src/v1/data_migration_service_client_config.json +37 -0
- package/package.json +3 -3
|
@@ -194,6 +194,12 @@ message OracleConnectionProfile {
|
|
|
194
194
|
// Required. Database service for the Oracle connection.
|
|
195
195
|
string database_service = 6 [(google.api.field_behavior) = REQUIRED];
|
|
196
196
|
|
|
197
|
+
// SSL configuration for the connection to the source Oracle database.
|
|
198
|
+
//
|
|
199
|
+
// * Only `SERVER_ONLY` configuration is supported for Oracle SSL.
|
|
200
|
+
// * SSL is supported for Oracle versions 12 and above.
|
|
201
|
+
SslConfig ssl = 7;
|
|
202
|
+
|
|
197
203
|
// Connectivity options used to establish a connection to the database server.
|
|
198
204
|
oneof connectivity {
|
|
199
205
|
// Static Service IP connectivity.
|
|
@@ -347,6 +353,9 @@ message CloudSqlSettings {
|
|
|
347
353
|
|
|
348
354
|
// PostgreSQL 14.
|
|
349
355
|
POSTGRES_14 = 17;
|
|
356
|
+
|
|
357
|
+
// PostgreSQL 15.
|
|
358
|
+
POSTGRES_15 = 18;
|
|
350
359
|
}
|
|
351
360
|
|
|
352
361
|
// The availability type of the given Cloud SQL instance.
|
|
@@ -361,6 +370,19 @@ message CloudSqlSettings {
|
|
|
361
370
|
REGIONAL = 2;
|
|
362
371
|
}
|
|
363
372
|
|
|
373
|
+
// The edition of the given Cloud SQL instance.
|
|
374
|
+
// Can be ENTERPRISE or ENTERPRISE_PLUS.
|
|
375
|
+
enum Edition {
|
|
376
|
+
// The instance did not specify the edition.
|
|
377
|
+
EDITION_UNSPECIFIED = 0;
|
|
378
|
+
|
|
379
|
+
// The instance is an enterprise edition.
|
|
380
|
+
ENTERPRISE = 2;
|
|
381
|
+
|
|
382
|
+
// The instance is an enterprise plus edition.
|
|
383
|
+
ENTERPRISE_PLUS = 3;
|
|
384
|
+
}
|
|
385
|
+
|
|
364
386
|
// The database engine type and version.
|
|
365
387
|
SqlDatabaseVersion database_version = 1;
|
|
366
388
|
|
|
@@ -450,6 +472,9 @@ message CloudSqlSettings {
|
|
|
450
472
|
// region (it is highly available).
|
|
451
473
|
SqlAvailabilityType availability_type = 17
|
|
452
474
|
[(google.api.field_behavior) = OPTIONAL];
|
|
475
|
+
|
|
476
|
+
// Optional. The edition of the given Cloud SQL instance.
|
|
477
|
+
Edition edition = 19 [(google.api.field_behavior) = OPTIONAL];
|
|
453
478
|
}
|
|
454
479
|
|
|
455
480
|
// Settings for creating an AlloyDB cluster.
|
|
@@ -541,8 +566,8 @@ message AlloyDbSettings {
|
|
|
541
566
|
// configuration is required.
|
|
542
567
|
message StaticIpConnectivity {}
|
|
543
568
|
|
|
544
|
-
// Private Service Connect
|
|
545
|
-
// (https://cloud.google.com/vpc/docs/private-service-connect#service-attachments)
|
|
569
|
+
// [Private Service Connect
|
|
570
|
+
// connectivity](https://cloud.google.com/vpc/docs/private-service-connect#service-attachments)
|
|
546
571
|
message PrivateServiceConnectConnectivity {
|
|
547
572
|
// Required. A service attachment that exposes a database, and has the
|
|
548
573
|
// following format:
|
|
@@ -725,6 +750,27 @@ message MigrationJob {
|
|
|
725
750
|
repeated DumpFlag dump_flags = 1;
|
|
726
751
|
}
|
|
727
752
|
|
|
753
|
+
// Performance configuration definition.
|
|
754
|
+
message PerformanceConfig {
|
|
755
|
+
// Describes the parallelism level during initial dump.
|
|
756
|
+
enum DumpParallelLevel {
|
|
757
|
+
// Unknown dump parallel level. Will be defaulted to OPTIMAL.
|
|
758
|
+
DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0;
|
|
759
|
+
|
|
760
|
+
// Minimal parallel level.
|
|
761
|
+
MIN = 1;
|
|
762
|
+
|
|
763
|
+
// Optimal parallel level.
|
|
764
|
+
OPTIMAL = 2;
|
|
765
|
+
|
|
766
|
+
// Maximum parallel level.
|
|
767
|
+
MAX = 3;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
// Initial dump parallelism level.
|
|
771
|
+
DumpParallelLevel dump_parallel_level = 1;
|
|
772
|
+
}
|
|
773
|
+
|
|
728
774
|
// The name (URI) of this migration job resource, in the form of:
|
|
729
775
|
// projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
|
|
730
776
|
string name = 1;
|
|
@@ -830,6 +876,11 @@ message MigrationJob {
|
|
|
830
876
|
// Each Cloud CMEK key has the following format:
|
|
831
877
|
// projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
|
|
832
878
|
string cmek_key_name = 21;
|
|
879
|
+
|
|
880
|
+
// Optional. Data dump parallelism settings used by the migration.
|
|
881
|
+
// Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
|
|
882
|
+
PerformanceConfig performance_config = 22
|
|
883
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
833
884
|
}
|
|
834
885
|
|
|
835
886
|
// A conversion workspace's version.
|
|
@@ -996,6 +1047,9 @@ message MigrationJobVerificationError {
|
|
|
996
1047
|
// Migration is already running at the time of restart request.
|
|
997
1048
|
CANT_RESTART_RUNNING_MIGRATION = 21;
|
|
998
1049
|
|
|
1050
|
+
// The source already has a replication setup.
|
|
1051
|
+
SOURCE_ALREADY_SETUP = 23;
|
|
1052
|
+
|
|
999
1053
|
// The source has tables with limited support.
|
|
1000
1054
|
// E.g. PostgreSQL tables without primary keys.
|
|
1001
1055
|
TABLES_WITH_LIMITED_SUPPORT = 24;
|
|
@@ -1012,6 +1066,13 @@ message MigrationJobVerificationError {
|
|
|
1012
1066
|
// The source DB size in Bytes exceeds a certain threshold. The migration
|
|
1013
1067
|
// might require an increase of quota, or might not be supported.
|
|
1014
1068
|
SOURCE_SIZE_EXCEEDS_THRESHOLD = 28;
|
|
1069
|
+
|
|
1070
|
+
// The destination DB contains existing databases that are conflicting with
|
|
1071
|
+
// those in the source DB.
|
|
1072
|
+
EXISTING_CONFLICTING_DATABASES = 29;
|
|
1073
|
+
|
|
1074
|
+
// Insufficient privilege to enable the parallelism configuration.
|
|
1075
|
+
PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 30;
|
|
1015
1076
|
}
|
|
1016
1077
|
|
|
1017
1078
|
// Output only. An instance of ErrorCode specifying the error that occurred.
|