Skip to content

Commit 9af4079

Browse files
feat(all): auto-regenerate discovery clients (#3085)
1 parent eab2179 commit 9af4079

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+8533
-14357
lines changed

datamigration/v1/datamigration-api.json

+53-1
Original file line numberDiff line numberDiff line change
@@ -2334,7 +2334,7 @@
23342334
}
23352335
}
23362336
},
2337-
"revision": "20250226",
2337+
"revision": "20250319",
23382338
"rootUrl": "https://datamigration.googleapis.com/",
23392339
"schemas": {
23402340
"AlloyDbConnectionProfile": {
@@ -4591,6 +4591,10 @@
45914591
"description": "The number of CPU's in the VM instance.",
45924592
"format": "int32",
45934593
"type": "integer"
4594+
},
4595+
"machineType": {
4596+
"description": "Optional. Machine type of the VM instance. E.g. \"n2-highmem-4\", \"n2-highmem-8\", \"c4a-highmem-4-lssd\". cpu_count must match the number of vCPUs in the machine type.",
4597+
"type": "string"
45944598
}
45954599
},
45964600
"type": "object"
@@ -4931,6 +4935,10 @@
49314935
"$ref": "SqlServerHomogeneousMigrationJobConfig",
49324936
"description": "Optional. Configuration for SQL Server homogeneous migration."
49334937
},
4938+
"sqlserverToPostgresConfig": {
4939+
"$ref": "SqlServerToPostgresConfig",
4940+
"description": "Configuration for heterogeneous **SQL Server to Cloud SQL for PostgreSQL** migrations."
4941+
},
49344942
"state": {
49354943
"description": "The current migration job state.",
49364944
"enum": [
@@ -6368,6 +6376,10 @@
63686376
"description": "If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.",
63696377
"type": "string"
63706378
},
6379+
"database": {
6380+
"description": "Required. The name of the specific database within the host.",
6381+
"type": "string"
6382+
},
63716383
"forwardSshConnectivity": {
63726384
"$ref": "ForwardSshTunnelConnectivity",
63736385
"description": "Forward SSH tunnel connectivity."
@@ -6473,6 +6485,46 @@
64736485
},
64746486
"type": "object"
64756487
},
6488+
"SqlServerSourceConfig": {
6489+
"description": "Configuration for SQL Server as a source in a migration.",
6490+
"id": "SqlServerSourceConfig",
6491+
"properties": {
6492+
"cdcStartPosition": {
6493+
"description": "Optional. The log sequence number (LSN) to start CDC data migration from.",
6494+
"type": "string"
6495+
},
6496+
"maxConcurrentCdcConnections": {
6497+
"description": "Optional. Maximum number of connections Database Migration Service will open to the source for CDC phase.",
6498+
"format": "int32",
6499+
"type": "integer"
6500+
},
6501+
"maxConcurrentFullDumpConnections": {
6502+
"description": "Optional. Maximum number of connections Database Migration Service will open to the source for full dump phase.",
6503+
"format": "int32",
6504+
"type": "integer"
6505+
},
6506+
"skipFullDump": {
6507+
"description": "Optional. Whether to skip full dump or not.",
6508+
"type": "boolean"
6509+
}
6510+
},
6511+
"type": "object"
6512+
},
6513+
"SqlServerToPostgresConfig": {
6514+
"description": "Configuration for heterogeneous **SQL Server to Cloud SQL for PostgreSQL** migrations.",
6515+
"id": "SqlServerToPostgresConfig",
6516+
"properties": {
6517+
"postgresDestinationConfig": {
6518+
"$ref": "PostgresDestinationConfig",
6519+
"description": "Optional. Configuration for Postgres destination."
6520+
},
6521+
"sqlserverSourceConfig": {
6522+
"$ref": "SqlServerSourceConfig",
6523+
"description": "Optional. Configuration for SQL Server source."
6524+
}
6525+
},
6526+
"type": "object"
6527+
},
64766528
"SshScript": {
64776529
"description": "Response message for 'GenerateSshScript' request.",
64786530
"id": "SshScript",

datamigration/v1/datamigration-gen.go

+66
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)