Update the JSON schemas

The command executed was as follows:
rm -f .api.deps .cli.deps && FETCH_APIS=1 make update-json -j8
This commit is contained in:
Ivan Ukhov
2024-04-22 09:26:00 +02:00
parent fe6fdb1985
commit 74c049924f
333 changed files with 31683 additions and 1587 deletions

View File

@@ -2125,7 +2125,7 @@
}
}
},
"revision": "20240221",
"revision": "20240410",
"rootUrl": "https://datamigration.googleapis.com/",
"schemas": {
"AlloyDbConnectionProfile": {
@@ -2811,14 +2811,18 @@
"ALLOYDB"
],
"enumDescriptions": [
"The database provider is unknown.",
"CloudSQL runs the database.",
"RDS runs the database.",
"Amazon Aurora.",
"AlloyDB."
"Use this value for on-premise source database instances.",
"Cloud SQL is the source instance provider.",
"Amazon RDS is the source instance provider.",
"Amazon Aurora is the source instance provider.",
"AlloyDB for PostgreSQL is the source instance provider."
],
"type": "string"
},
"sqlserver": {
"$ref": "SqlServerConnectionProfile",
"description": "Connection profile for a SQL Server data source."
},
"state": {
"description": "The current connection profile state (e.g. DRAFT, READY, or FAILED).",
"enum": [
@@ -3033,12 +3037,14 @@
"DATABASE_ENGINE_UNSPECIFIED",
"MYSQL",
"POSTGRESQL",
"SQLSERVER",
"ORACLE"
],
"enumDescriptions": [
"The source database engine of the migration job is unknown.",
"The source engine is MySQL.",
"The source engine is PostgreSQL.",
"The source engine is SQL Server.",
"The source engine is Oracle."
],
"type": "string"
@@ -3211,12 +3217,14 @@
"DATABASE_ENGINE_UNSPECIFIED",
"MYSQL",
"POSTGRESQL",
"SQLSERVER",
"ORACLE"
],
"enumDescriptions": [
"The source database engine of the migration job is unknown.",
"The source engine is MySQL.",
"The source engine is PostgreSQL.",
"The source engine is SQL Server.",
"The source engine is Oracle."
],
"type": "string"
@@ -3231,11 +3239,11 @@
"ALLOYDB"
],
"enumDescriptions": [
"The database provider is unknown.",
"CloudSQL runs the database.",
"RDS runs the database.",
"Amazon Aurora.",
"AlloyDB."
"Use this value for on-premise source database instances.",
"Cloud SQL is the source instance provider.",
"Amazon RDS is the source instance provider.",
"Amazon Aurora is the source instance provider.",
"AlloyDB for PostgreSQL is the source instance provider."
],
"type": "string"
}
@@ -4401,6 +4409,20 @@
"description": "The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the \"dump_flags\" field are mutually exclusive.",
"type": "string"
},
"dumpType": {
"description": "Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only.",
"enum": [
"DUMP_TYPE_UNSPECIFIED",
"LOGICAL",
"PHYSICAL"
],
"enumDescriptions": [
"If not specified, defaults to LOGICAL",
"Logical dump.",
"Physical file-based dump. Supported for MySQL to CloudSQL for MySQL migrations only."
],
"type": "string"
},
"duration": {
"description": "Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: \"3.5s\".",
"format": "google-duration",
@@ -4445,7 +4467,8 @@
"CDC",
"PROMOTE_IN_PROGRESS",
"WAITING_FOR_SOURCE_WRITES_TO_STOP",
"PREPARING_THE_DUMP"
"PREPARING_THE_DUMP",
"READY_FOR_PROMOTE"
],
"enumDescriptions": [
"The phase of the migration job is unknown.",
@@ -4453,7 +4476,8 @@
"The migration job is CDC phase.",
"The migration job is running the promote phase.",
"Only RDS flow - waiting for source writes to stop",
"Only RDS flow - the sources writes stopped, waiting for dump to begin"
"Only RDS flow - the sources writes stopped, waiting for dump to begin",
"The migration job is ready to be promoted."
],
"readOnly": true,
"type": "string"
@@ -4470,6 +4494,10 @@
"$ref": "DatabaseType",
"description": "The database engine type and provider of the source."
},
"sqlserverHomogeneousMigrationJobConfig": {
"$ref": "SqlServerHomogeneousMigrationJobConfig",
"description": "Optional. Configuration for SQL Server homogeneous migration."
},
"state": {
"description": "The current migration job state.",
"enum": [
@@ -5138,7 +5166,12 @@
"ResumeMigrationJobRequest": {
"description": "Request message for 'ResumeMigrationJob' request.",
"id": "ResumeMigrationJobRequest",
"properties": {},
"properties": {
"skipValidation": {
"description": "Optional. Resume the migration job without running prior configuration verification. Defaults to `false`.",
"type": "boolean"
}
},
"type": "object"
},
"ReverseSshConnectivity": {
@@ -5567,6 +5600,130 @@
},
"type": "object"
},
"SqlServerBackups": {
"description": "Specifies the backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server.",
"id": "SqlServerBackups",
"properties": {
"gcsBucket": {
"description": "Required. The Cloud Storage bucket that stores backups for all replicated databases.",
"type": "string"
},
"gcsPrefix": {
"description": "Optional. Cloud Storage path inside the bucket that stores backups.",
"type": "string"
}
},
"type": "object"
},
"SqlServerConnectionProfile": {
"description": "Specifies connection parameters required specifically for SQL Server databases.",
"id": "SqlServerConnectionProfile",
"properties": {
"backups": {
"$ref": "SqlServerBackups",
"description": "The backup details in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server."
},
"cloudSqlId": {
"description": "If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.",
"type": "string"
},
"forwardSshConnectivity": {
"$ref": "ForwardSshTunnelConnectivity",
"description": "Forward SSH tunnel connectivity."
},
"host": {
"description": "Required. The IP or hostname of the source SQL Server database.",
"type": "string"
},
"password": {
"description": "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.",
"type": "string"
},
"passwordSet": {
"description": "Output only. Indicates whether a new password is included in the request.",
"readOnly": true,
"type": "boolean"
},
"port": {
"description": "Required. The network port of the source SQL Server database.",
"format": "int32",
"type": "integer"
},
"privateConnectivity": {
"$ref": "PrivateConnectivity",
"description": "Private connectivity."
},
"privateServiceConnectConnectivity": {
"$ref": "PrivateServiceConnectConnectivity",
"description": "Private Service Connect connectivity."
},
"ssl": {
"$ref": "SslConfig",
"description": "SSL configuration for the destination to connect to the source database."
},
"staticIpConnectivity": {
"$ref": "StaticIpConnectivity",
"description": "Static IP connectivity data (default, no additional details needed)."
},
"username": {
"description": "Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.",
"type": "string"
}
},
"type": "object"
},
"SqlServerDatabaseBackup": {
"description": "Specifies the backup details for a single database in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server.",
"id": "SqlServerDatabaseBackup",
"properties": {
"database": {
"description": "Required. Name of a SQL Server database for which to define backup configuration.",
"type": "string"
},
"encryptionOptions": {
"$ref": "SqlServerEncryptionOptions",
"description": "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."
}
},
"type": "object"
},
"SqlServerEncryptionOptions": {
"description": "Encryption settings for the SQL Server database.",
"id": "SqlServerEncryptionOptions",
"properties": {
"certPath": {
"description": "Required. Path to certificate.",
"type": "string"
},
"pvkPassword": {
"description": "Required. Input only. Private key password.",
"type": "string"
},
"pvkPath": {
"description": "Required. Path to certificate private key.",
"type": "string"
}
},
"type": "object"
},
"SqlServerHomogeneousMigrationJobConfig": {
"description": "Configuration for homogeneous migration to Cloud SQL for SQL Server.",
"id": "SqlServerHomogeneousMigrationJobConfig",
"properties": {
"backupFilePattern": {
"description": "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_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.1691448254.trn, use pattern: (?.*)\\.(?\\d*).trn or (?.*)\\.(?\\d*).trn",
"type": "string"
},
"databaseBackups": {
"description": "Required. Backup details per database in Cloud Storage.",
"items": {
"$ref": "SqlServerDatabaseBackup"
},
"type": "array"
}
},
"type": "object"
},
"SshScript": {
"description": "Response message for 'GenerateSshScript' request.",
"id": "SshScript",