Skip to content

Commit cdadda8

Browse files
feat(datamigration): update the API
#### datamigration:v1 The following keys were added: - resources.projects.resources.locations.resources.privateConnections.methods.create.parameters.validateOnly.description - resources.projects.resources.locations.resources.privateConnections.methods.create.parameters.validateOnly.location - resources.projects.resources.locations.resources.privateConnections.methods.create.parameters.validateOnly.type - schemas.PrivateConnection.properties.pscInterfaceConfig.$ref - schemas.PrivateConnection.properties.pscInterfaceConfig.description - schemas.PscInterfaceConfig.description - schemas.PscInterfaceConfig.id - schemas.PscInterfaceConfig.properties.networkAttachment.description - schemas.PscInterfaceConfig.properties.networkAttachment.type - schemas.PscInterfaceConfig.type The following keys were changed: - schemas.AlloyDbSettings.properties.databaseVersion.enum - schemas.AlloyDbSettings.properties.databaseVersion.enumDescriptions
1 parent 81cf3d0 commit cdadda8

File tree

3 files changed

+47
-4
lines changed

3 files changed

+47
-4
lines changed

‎discovery/datamigration-v1.json

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,6 +2132,11 @@
21322132
"description": "Optional. If set to true, will skip validations.",
21332133
"location": "query",
21342134
"type": "boolean"
2135+
},
2136+
"validateOnly": {
2137+
"description": "Optional. For PSC Interface only - get the tenant project before creating the resource.",
2138+
"location": "query",
2139+
"type": "boolean"
21352140
}
21362141
},
21372142
"path": "v1/{+parent}/privateConnections",
@@ -2340,7 +2345,7 @@
23402345
}
23412346
}
23422347
},
2343-
"revision": "20250521",
2348+
"revision": "20250625",
23442349
"rootUrl": "https://datamigration.googleapis.com/",
23452350
"schemas": {
23462351
"AlloyDbConnectionProfile": {
@@ -2368,13 +2373,15 @@
23682373
"DATABASE_VERSION_UNSPECIFIED",
23692374
"POSTGRES_14",
23702375
"POSTGRES_15",
2371-
"POSTGRES_16"
2376+
"POSTGRES_16",
2377+
"POSTGRES_17"
23722378
],
23732379
"enumDescriptions": [
23742380
"This is an unknown database version.",
23752381
"The database version is Postgres 14.",
23762382
"The database version is Postgres 15.",
2377-
"The database version is Postgres 16."
2383+
"The database version is Postgres 16.",
2384+
"The database version is Postgres 17."
23782385
],
23792386
"type": "string"
23802387
},
@@ -5807,6 +5814,10 @@
58075814
"description": "The name of the resource.",
58085815
"type": "string"
58095816
},
5817+
"pscInterfaceConfig": {
5818+
"$ref": "PscInterfaceConfig",
5819+
"description": "PSC Interface configuration."
5820+
},
58105821
"satisfiesPzi": {
58115822
"description": "Output only. Reserved for future use.",
58125823
"readOnly": true,
@@ -5886,6 +5897,17 @@
58865897
},
58875898
"type": "object"
58885899
},
5900+
"PscInterfaceConfig": {
5901+
"description": "The PSC Interface configuration is used to create PSC Interface between DMS's internal VPC and the consumer's PSC.",
5902+
"id": "PscInterfaceConfig",
5903+
"properties": {
5904+
"networkAttachment": {
5905+
"description": "Required. Fully qualified name of the Network Attachment that DMS will connect to. Format: `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}`",
5906+
"type": "string"
5907+
}
5908+
},
5909+
"type": "object"
5910+
},
58895911
"RestartMigrationJobRequest": {
58905912
"description": "Request message for 'RestartMigrationJob' request.",
58915913
"id": "RestartMigrationJobRequest",

‎src/apis/datamigration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"webpack": "webpack"
2929
},
3030
"dependencies": {
31-
"googleapis-common": "^8.0.0"
31+
"googleapis-common": "^8.0.2-rc.0"
3232
},
3333
"devDependencies": {
3434
"@microsoft/api-documenter": "^7.8.10",

‎src/apis/datamigration/v1.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2271,6 +2271,10 @@ export namespace datamigration_v1 {
22712271
* The name of the resource.
22722272
*/
22732273
name?: string | null;
2274+
/**
2275+
* PSC Interface configuration.
2276+
*/
2277+
pscInterfaceConfig?: Schema$PscInterfaceConfig;
22742278
/**
22752279
* Output only. Reserved for future use.
22762280
*/
@@ -2319,6 +2323,15 @@ export namespace datamigration_v1 {
23192323
*/
23202324
objectsFilter?: Schema$MigrationJobObjectsConfig;
23212325
}
2326+
/**
2327+
* The PSC Interface configuration is used to create PSC Interface between DMS's internal VPC and the consumer's PSC.
2328+
*/
2329+
export interface Schema$PscInterfaceConfig {
2330+
/**
2331+
* Required. Fully qualified name of the Network Attachment that DMS will connect to. Format: `projects/{{project\}\}/regions/{{region\}\}/networkAttachments/{{name\}\}`
2332+
*/
2333+
networkAttachment?: string | null;
2334+
}
23222335
/**
23232336
* Request message for 'RestartMigrationJob' request.
23242337
*/
@@ -13382,6 +13395,8 @@ export namespace datamigration_v1 {
1338213395
* requestId: 'placeholder-value',
1338313396
* // Optional. If set to true, will skip validations.
1338413397
* skipValidation: 'placeholder-value',
13398+
* // Optional. For PSC Interface only - get the tenant project before creating the resource.
13399+
* validateOnly: 'placeholder-value',
1338513400
*
1338613401
* // Request body metadata
1338713402
* requestBody: {
@@ -13392,6 +13407,7 @@ export namespace datamigration_v1 {
1339213407
* // "error": {},
1339313408
* // "labels": {},
1339413409
* // "name": "my_name",
13410+
* // "pscInterfaceConfig": {},
1339513411
* // "satisfiesPzi": false,
1339613412
* // "satisfiesPzs": false,
1339713413
* // "state": "my_state",
@@ -13694,6 +13710,7 @@ export namespace datamigration_v1 {
1369413710
* // "error": {},
1369513711
* // "labels": {},
1369613712
* // "name": "my_name",
13713+
* // "pscInterfaceConfig": {},
1369713714
* // "satisfiesPzi": false,
1369813715
* // "satisfiesPzs": false,
1369913716
* // "state": "my_state",
@@ -14424,6 +14441,10 @@ export namespace datamigration_v1 {
1442414441
* Optional. If set to true, will skip validations.
1442514442
*/
1442614443
skipValidation?: boolean;
14444+
/**
14445+
* Optional. For PSC Interface only - get the tenant project before creating the resource.
14446+
*/
14447+
validateOnly?: boolean;
1442714448

1442814449
/**
1442914450
* Request body metadata

0 commit comments

Comments
 (0)