Skip to content

Commit

Permalink
feat(datamigration): update the API
Browse files Browse the repository at this point in the history
#### datamigration:v1

The following keys were added:
- schemas.AuthorizedNetwork.description
- schemas.AuthorizedNetwork.id
- schemas.AuthorizedNetwork.properties.cidrRange.description
- schemas.AuthorizedNetwork.properties.cidrRange.type
- schemas.AuthorizedNetwork.type
- schemas.BinaryLogParser.description
- schemas.BinaryLogParser.id
- schemas.BinaryLogParser.properties.logFileDirectories.$ref
- schemas.BinaryLogParser.properties.logFileDirectories.description
- schemas.BinaryLogParser.properties.oracleAsmLogFileAccess.$ref
- schemas.BinaryLogParser.properties.oracleAsmLogFileAccess.description
- schemas.BinaryLogParser.type
- schemas.CloudSqlSettings.properties.databaseVersionName.description
- schemas.CloudSqlSettings.properties.databaseVersionName.type
- schemas.InstanceNetworkConfig.description
- schemas.InstanceNetworkConfig.id
- schemas.InstanceNetworkConfig.properties.authorizedExternalNetworks.description
- schemas.InstanceNetworkConfig.properties.authorizedExternalNetworks.items.$ref
- schemas.InstanceNetworkConfig.properties.authorizedExternalNetworks.type
- schemas.InstanceNetworkConfig.properties.enableOutboundPublicIp.description
- schemas.InstanceNetworkConfig.properties.enableOutboundPublicIp.type
- schemas.InstanceNetworkConfig.properties.enablePublicIp.description
- schemas.InstanceNetworkConfig.properties.enablePublicIp.type
- schemas.InstanceNetworkConfig.type
- schemas.LogFileDirectories.description
- schemas.LogFileDirectories.id
- schemas.LogFileDirectories.properties.archivedLogDirectory.description
- schemas.LogFileDirectories.properties.archivedLogDirectory.type
- schemas.LogFileDirectories.properties.onlineLogDirectory.description
- schemas.LogFileDirectories.properties.onlineLogDirectory.type
- schemas.LogFileDirectories.type
- schemas.LogMiner.description
- schemas.LogMiner.id
- schemas.LogMiner.type
- schemas.MigrationJob.properties.oracleToPostgresConfig.$ref
- schemas.MigrationJob.properties.oracleToPostgresConfig.description
- schemas.OracleAsmLogFileAccess.description
- schemas.OracleAsmLogFileAccess.id
- schemas.OracleAsmLogFileAccess.type
- schemas.OracleSourceConfig.description
- schemas.OracleSourceConfig.id
- schemas.OracleSourceConfig.properties.binaryLogParser.$ref
- schemas.OracleSourceConfig.properties.binaryLogParser.description
- schemas.OracleSourceConfig.properties.cdcStartPosition.description
- schemas.OracleSourceConfig.properties.cdcStartPosition.format
- schemas.OracleSourceConfig.properties.cdcStartPosition.type
- schemas.OracleSourceConfig.properties.logMiner.$ref
- schemas.OracleSourceConfig.properties.logMiner.description
- schemas.OracleSourceConfig.properties.maxConcurrentCdcConnections.description
- schemas.OracleSourceConfig.properties.maxConcurrentCdcConnections.format
- schemas.OracleSourceConfig.properties.maxConcurrentCdcConnections.type
- schemas.OracleSourceConfig.properties.maxConcurrentFullDumpConnections.description
- schemas.OracleSourceConfig.properties.maxConcurrentFullDumpConnections.format
- schemas.OracleSourceConfig.properties.maxConcurrentFullDumpConnections.type
- schemas.OracleSourceConfig.properties.skipFullDump.description
- schemas.OracleSourceConfig.properties.skipFullDump.type
- schemas.OracleSourceConfig.type
- schemas.OracleToPostgresConfig.description
- schemas.OracleToPostgresConfig.id
- schemas.OracleToPostgresConfig.properties.oracleSourceConfig.$ref
- schemas.OracleToPostgresConfig.properties.oracleSourceConfig.description
- schemas.OracleToPostgresConfig.properties.postgresDestinationConfig.$ref
- schemas.OracleToPostgresConfig.properties.postgresDestinationConfig.description
- schemas.OracleToPostgresConfig.type
- schemas.PostgresDestinationConfig.description
- schemas.PostgresDestinationConfig.id
- schemas.PostgresDestinationConfig.properties.maxConcurrentConnections.description
- schemas.PostgresDestinationConfig.properties.maxConcurrentConnections.format
- schemas.PostgresDestinationConfig.properties.maxConcurrentConnections.type
- schemas.PostgresDestinationConfig.properties.transactionTimeout.description
- schemas.PostgresDestinationConfig.properties.transactionTimeout.format
- schemas.PostgresDestinationConfig.properties.transactionTimeout.type
- schemas.PostgresDestinationConfig.type
- schemas.PrimaryInstanceSettings.properties.instanceNetworkConfig.$ref
- schemas.PrimaryInstanceSettings.properties.instanceNetworkConfig.description
- schemas.PrimaryInstanceSettings.properties.outboundPublicIpAddresses.description
- schemas.PrimaryInstanceSettings.properties.outboundPublicIpAddresses.items.type
- schemas.PrimaryInstanceSettings.properties.outboundPublicIpAddresses.readOnly
- schemas.PrimaryInstanceSettings.properties.outboundPublicIpAddresses.type

The following keys were changed:
- schemas.AlloyDbSettings.properties.databaseVersion.enum
- schemas.AlloyDbSettings.properties.databaseVersion.enumDescriptions
- schemas.CloudSqlSettings.properties.databaseVersion.description
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 10, 2024
1 parent aeb221c commit 66a587e
Show file tree
Hide file tree
Showing 2 changed files with 299 additions and 5 deletions.
171 changes: 167 additions & 4 deletions discovery/datamigration-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2218,7 +2218,7 @@
}
}
},
"revision": "20240826",
"revision": "20240930",
"rootUrl": "https://datamigration.googleapis.com/",
"schemas": {
"AlloyDbConnectionProfile": {
Expand All @@ -2245,12 +2245,14 @@
"enum": [
"DATABASE_VERSION_UNSPECIFIED",
"POSTGRES_14",
"POSTGRES_15"
"POSTGRES_15",
"POSTGRES_16"
],
"enumDescriptions": [
"This is an unknown database version.",
"The database version is Postgres 14.",
"The database version is Postgres 15."
"The database version is Postgres 15.",
"The database version is Postgres 16."
],
"type": "string"
},
Expand Down Expand Up @@ -2389,6 +2391,17 @@
},
"type": "object"
},
"AuthorizedNetwork": {
"description": "AuthorizedNetwork contains metadata for an authorized network.",
"id": "AuthorizedNetwork",
"properties": {
"cidrRange": {
"description": "Optional. CIDR range for one authorzied network of the instance.",
"type": "string"
}
},
"type": "object"
},
"BackgroundJobLogEntry": {
"description": "Execution log of a background job.",
"id": "BackgroundJobLogEntry",
Expand Down Expand Up @@ -2473,6 +2486,21 @@
},
"type": "object"
},
"BinaryLogParser": {
"description": "Configuration to use Binary Log Parser CDC technique.",
"id": "BinaryLogParser",
"properties": {
"logFileDirectories": {
"$ref": "LogFileDirectories",
"description": "Use Oracle directories."
},
"oracleAsmLogFileAccess": {
"$ref": "OracleAsmLogFileAccess",
"description": "Use Oracle ASM."
}
},
"type": "object"
},
"Binding": {
"description": "Associates `members`, or principals, with a `role`.",
"id": "Binding",
Expand Down Expand Up @@ -2607,7 +2635,7 @@
"type": "object"
},
"databaseVersion": {
"description": "The database engine type and version.",
"description": "The database engine type and version. Deprecated. Use database_version_name instead.",
"enum": [
"SQL_DATABASE_VERSION_UNSPECIFIED",
"MYSQL_5_6",
Expand Down Expand Up @@ -2664,6 +2692,10 @@
],
"type": "string"
},
"databaseVersionName": {
"description": "Optional. The database engine type and version name.",
"type": "string"
},
"edition": {
"description": "Optional. The edition of the given Cloud SQL instance.",
"enum": [
Expand Down Expand Up @@ -4065,6 +4097,28 @@
},
"type": "object"
},
"InstanceNetworkConfig": {
"description": "Metadata related to instance level network configuration.",
"id": "InstanceNetworkConfig",
"properties": {
"authorizedExternalNetworks": {
"description": "Optional. A list of external network authorized to access this instance.",
"items": {
"$ref": "AuthorizedNetwork"
},
"type": "array"
},
"enableOutboundPublicIp": {
"description": "Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.",
"type": "boolean"
},
"enablePublicIp": {
"description": "Optional. Enabling public ip for the instance.",
"type": "boolean"
}
},
"type": "object"
},
"IntComparisonFilter": {
"description": "Filter based on relation between source value and compare value of type integer in ConditionalColumnSetValue",
"id": "IntComparisonFilter",
Expand Down Expand Up @@ -4283,6 +4337,27 @@
},
"type": "object"
},
"LogFileDirectories": {
"description": "Configuration to specify the Oracle directories to access the log files.",
"id": "LogFileDirectories",
"properties": {
"archivedLogDirectory": {
"description": "Required. Oracle directory for archived logs.",
"type": "string"
},
"onlineLogDirectory": {
"description": "Required. Oracle directory for online logs.",
"type": "string"
}
},
"type": "object"
},
"LogMiner": {
"description": "Configuration to use LogMiner CDC method.",
"id": "LogMiner",
"properties": {},
"type": "object"
},
"MachineConfig": {
"description": "MachineConfig describes the configuration of a machine.",
"id": "MachineConfig",
Expand Down Expand Up @@ -4563,6 +4638,10 @@
"description": "The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.",
"type": "string"
},
"oracleToPostgresConfig": {
"$ref": "OracleToPostgresConfig",
"description": "Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB for PostgreSQL** migrations."
},
"performanceConfig": {
"$ref": "PerformanceConfig",
"description": "Optional. Data dump parallelism settings used by the migration."
Expand Down Expand Up @@ -4952,6 +5031,12 @@
},
"type": "object"
},
"OracleAsmLogFileAccess": {
"description": "Configuration to use Oracle ASM to access the log files.",
"id": "OracleAsmLogFileAccess",
"properties": {},
"type": "object"
},
"OracleConnectionProfile": {
"description": "Specifies connection parameters required specifically for Oracle databases.",
"id": "OracleConnectionProfile",
Expand Down Expand Up @@ -5005,6 +5090,55 @@
},
"type": "object"
},
"OracleSourceConfig": {
"description": "Configuration for Oracle as a source in a migration.",
"id": "OracleSourceConfig",
"properties": {
"binaryLogParser": {
"$ref": "BinaryLogParser",
"description": "Use Binary Log Parser."
},
"cdcStartPosition": {
"description": "Optional. The schema change number (SCN) to start CDC data migration from.",
"format": "int64",
"type": "string"
},
"logMiner": {
"$ref": "LogMiner",
"description": "Use LogMiner."
},
"maxConcurrentCdcConnections": {
"description": "Optional. Maximum number of connections Database Migration Service will open to the source for CDC phase.",
"format": "int32",
"type": "integer"
},
"maxConcurrentFullDumpConnections": {
"description": "Optional. Maximum number of connections Database Migration Service will open to the source for full dump phase.",
"format": "int32",
"type": "integer"
},
"skipFullDump": {
"description": "Optional. Whether to skip full dump or not.",
"type": "boolean"
}
},
"type": "object"
},
"OracleToPostgresConfig": {
"description": "Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **Oracle to AlloyDB for PostgreSQL** migrations.",
"id": "OracleToPostgresConfig",
"properties": {
"oracleSourceConfig": {
"$ref": "OracleSourceConfig",
"description": "Optional. Configuration for Oracle source."
},
"postgresDestinationConfig": {
"$ref": "PostgresDestinationConfig",
"description": "Optional. Configuration for Postgres destination."
}
},
"type": "object"
},
"PackageEntity": {
"description": "Package's parent is a schema.",
"id": "PackageEntity",
Expand Down Expand Up @@ -5173,6 +5307,23 @@
},
"type": "object"
},
"PostgresDestinationConfig": {
"description": "Configuration for Postgres as a destination in a migration.",
"id": "PostgresDestinationConfig",
"properties": {
"maxConcurrentConnections": {
"description": "Optional. Maximum number of connections Database Migration Service will open to the destination for data migration.",
"format": "int32",
"type": "integer"
},
"transactionTimeout": {
"description": "Optional. Timeout for data migration transactions.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"PrimaryInstanceSettings": {
"description": "Settings for the cluster's primary instance",
"id": "PrimaryInstanceSettings",
Expand All @@ -5188,6 +5339,10 @@
"description": "Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression \"[a-z0-9-]+\".",
"type": "string"
},
"instanceNetworkConfig": {
"$ref": "InstanceNetworkConfig",
"description": "Optional. Metadata related to instance level network configuration."
},
"labels": {
"additionalProperties": {
"type": "string"
Expand All @@ -5199,6 +5354,14 @@
"$ref": "MachineConfig",
"description": "Configuration for the machines that host the underlying database engine."
},
"outboundPublicIpAddresses": {
"description": "Output only. All outbound public IP addresses configured for the instance.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"privateIp": {
"description": "Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.",
"readOnly": true,
Expand Down
Loading

0 comments on commit 66a587e

Please sign in to comment.