Skip to content

Commit 300f8df

Browse files
yoshi-automationsofisl
authored andcommitted
feat(sqladmin): update the API
#### sqladmin:v1beta4 The following keys were added: - schemas.ExportContext.properties.bakExportOptions.properties.exportLogEndTime.description - schemas.ExportContext.properties.bakExportOptions.properties.exportLogEndTime.format - schemas.ExportContext.properties.bakExportOptions.properties.exportLogEndTime.type - schemas.ExportContext.properties.bakExportOptions.properties.exportLogStartTime.description - schemas.ExportContext.properties.bakExportOptions.properties.exportLogStartTime.format - schemas.ExportContext.properties.bakExportOptions.properties.exportLogStartTime.type The following keys were changed: - schemas.ConnectSettings.properties.databaseVersion.enum - schemas.ConnectSettings.properties.databaseVersion.enumDeprecated - schemas.ConnectSettings.properties.databaseVersion.enumDescriptions - schemas.DatabaseInstance.properties.databaseVersion.enum - schemas.DatabaseInstance.properties.databaseVersion.enumDeprecated - schemas.DatabaseInstance.properties.databaseVersion.enumDescriptions - schemas.Flag.properties.appliesTo.items.enum - schemas.Flag.properties.appliesTo.items.enumDeprecated - schemas.Flag.properties.appliesTo.items.enumDescriptions - schemas.SqlExternalSyncSettingError.properties.type.enum - schemas.SqlExternalSyncSettingError.properties.type.enumDescriptions #### sqladmin:v1 The following keys were added: - schemas.ExportContext.properties.bakExportOptions.properties.exportLogEndTime.description - schemas.ExportContext.properties.bakExportOptions.properties.exportLogEndTime.format - schemas.ExportContext.properties.bakExportOptions.properties.exportLogEndTime.type - schemas.ExportContext.properties.bakExportOptions.properties.exportLogStartTime.description - schemas.ExportContext.properties.bakExportOptions.properties.exportLogStartTime.format - schemas.ExportContext.properties.bakExportOptions.properties.exportLogStartTime.type The following keys were changed: - schemas.ConnectSettings.properties.databaseVersion.enum - schemas.ConnectSettings.properties.databaseVersion.enumDeprecated - schemas.ConnectSettings.properties.databaseVersion.enumDescriptions - schemas.DatabaseInstance.properties.databaseVersion.enum - schemas.DatabaseInstance.properties.databaseVersion.enumDeprecated - schemas.DatabaseInstance.properties.databaseVersion.enumDescriptions - schemas.Flag.properties.appliesTo.items.enum - schemas.Flag.properties.appliesTo.items.enumDeprecated - schemas.Flag.properties.appliesTo.items.enumDescriptions - schemas.SqlExternalSyncSettingError.properties.type.enum - schemas.SqlExternalSyncSettingError.properties.type.enumDescriptions
1 parent acaf25f commit 300f8df

File tree

4 files changed

+56
-6
lines changed

4 files changed

+56
-6
lines changed

discovery/sqladmin-v1.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,7 @@
22672267
}
22682268
}
22692269
},
2270-
"revision": "20240814",
2270+
"revision": "20240829",
22712271
"rootUrl": "https://sqladmin.googleapis.com/",
22722272
"schemas": {
22732273
"AclEntry": {
@@ -2777,6 +2777,7 @@
27772777
"POSTGRES_14",
27782778
"POSTGRES_15",
27792779
"POSTGRES_16",
2780+
"POSTGRES_17",
27802781
"MYSQL_8_0",
27812782
"MYSQL_8_0_18",
27822783
"MYSQL_8_0_26",
@@ -2827,6 +2828,7 @@
28272828
false,
28282829
false,
28292830
false,
2831+
false,
28302832
true,
28312833
false,
28322834
false,
@@ -2867,6 +2869,7 @@
28672869
"The database version is PostgreSQL 14.",
28682870
"The database version is PostgreSQL 15.",
28692871
"The database version is PostgreSQL 16.",
2872+
"The database version is PostgreSQL 17.",
28702873
"The database version is MySQL 8.",
28712874
"The database major version is MySQL 8.0 and the minor version is 18.",
28722875
"The database major version is MySQL 8.0 and the minor version is 26.",
@@ -3083,6 +3086,7 @@
30833086
"POSTGRES_14",
30843087
"POSTGRES_15",
30853088
"POSTGRES_16",
3089+
"POSTGRES_17",
30863090
"MYSQL_8_0",
30873091
"MYSQL_8_0_18",
30883092
"MYSQL_8_0_26",
@@ -3133,6 +3137,7 @@
31333137
false,
31343138
false,
31353139
false,
3140+
false,
31363141
true,
31373142
false,
31383143
false,
@@ -3173,6 +3178,7 @@
31733178
"The database version is PostgreSQL 14.",
31743179
"The database version is PostgreSQL 15.",
31753180
"The database version is PostgreSQL 16.",
3181+
"The database version is PostgreSQL 17.",
31763182
"The database version is MySQL 8.",
31773183
"The database major version is MySQL 8.0 and the minor version is 18.",
31783184
"The database major version is MySQL 8.0 and the minor version is 26.",
@@ -3651,6 +3657,16 @@
36513657
"description": "Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base",
36523658
"type": "boolean"
36533659
},
3660+
"exportLogEndTime": {
3661+
"description": "Optional. The end timestamp when transaction log will be included in the export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.",
3662+
"format": "google-datetime",
3663+
"type": "string"
3664+
},
3665+
"exportLogStartTime": {
3666+
"description": "Optional. The begin timestamp when transaction log will be included in the export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.",
3667+
"format": "google-datetime",
3668+
"type": "string"
3669+
},
36543670
"stripeCount": {
36553671
"description": "Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.",
36563672
"format": "int32",
@@ -3834,6 +3850,7 @@
38343850
"POSTGRES_14",
38353851
"POSTGRES_15",
38363852
"POSTGRES_16",
3853+
"POSTGRES_17",
38373854
"MYSQL_8_0",
38383855
"MYSQL_8_0_18",
38393856
"MYSQL_8_0_26",
@@ -3884,6 +3901,7 @@
38843901
false,
38853902
false,
38863903
false,
3904+
false,
38873905
true,
38883906
false,
38893907
false,
@@ -3924,6 +3942,7 @@
39243942
"The database version is PostgreSQL 14.",
39253943
"The database version is PostgreSQL 15.",
39263944
"The database version is PostgreSQL 16.",
3945+
"The database version is PostgreSQL 17.",
39273946
"The database version is MySQL 8.",
39283947
"The database major version is MySQL 8.0 and the minor version is 18.",
39293948
"The database major version is MySQL 8.0 and the minor version is 26.",
@@ -5621,7 +5640,9 @@
56215640
"EXTENSIONS_NOT_MIGRATED",
56225641
"PG_CRON_FLAG_ENABLED_IN_REPLICA",
56235642
"EXTENSIONS_NOT_ENABLED_IN_REPLICA",
5624-
"UNSUPPORTED_COLUMNS"
5643+
"UNSUPPORTED_COLUMNS",
5644+
"USERS_NOT_CREATED_IN_REPLICA",
5645+
"UNSUPPORTED_SYSTEM_OBJECTS"
56255646
],
56265647
"enumDescriptions": [
56275648
"",
@@ -5673,7 +5694,9 @@
56735694
"The warning message indicates the pg_cron extension and settings will not be migrated to the destination.",
56745695
"The error message indicates that pg_cron flags are enabled on the destination which is not supported during the migration.",
56755696
"This error message indicates that the specified extensions are not enabled on destination instance. For example, before you can migrate data to the destination instance, you must enable the PGAudit extension on the instance.",
5676-
"The source database has generated columns that can't be migrated. Please change them to regular columns before migration."
5697+
"The source database has generated columns that can't be migrated. Please change them to regular columns before migration.",
5698+
"The source database has users that aren't created in the replica. First, create all users, which are in the pg_user_mappings table of the source database, in the destination instance. Then, perform the migration.",
5699+
"The selected objects include system objects that aren't supported for migration."
56775700
],
56785701
"type": "string"
56795702
}

discovery/sqladmin-v1beta4.json

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,7 @@
22672267
}
22682268
}
22692269
},
2270-
"revision": "20240814",
2270+
"revision": "20240829",
22712271
"rootUrl": "https://sqladmin.googleapis.com/",
22722272
"schemas": {
22732273
"AclEntry": {
@@ -2777,6 +2777,7 @@
27772777
"POSTGRES_14",
27782778
"POSTGRES_15",
27792779
"POSTGRES_16",
2780+
"POSTGRES_17",
27802781
"MYSQL_8_0",
27812782
"MYSQL_8_0_18",
27822783
"MYSQL_8_0_26",
@@ -2827,6 +2828,7 @@
28272828
false,
28282829
false,
28292830
false,
2831+
false,
28302832
true,
28312833
false,
28322834
false,
@@ -2867,6 +2869,7 @@
28672869
"The database version is PostgreSQL 14.",
28682870
"The database version is PostgreSQL 15.",
28692871
"The database version is PostgreSQL 16.",
2872+
"The database version is PostgreSQL 17.",
28702873
"The database version is MySQL 8.",
28712874
"The database major version is MySQL 8.0 and the minor version is 18.",
28722875
"The database major version is MySQL 8.0 and the minor version is 26.",
@@ -3083,6 +3086,7 @@
30833086
"POSTGRES_14",
30843087
"POSTGRES_15",
30853088
"POSTGRES_16",
3089+
"POSTGRES_17",
30863090
"MYSQL_8_0",
30873091
"MYSQL_8_0_18",
30883092
"MYSQL_8_0_26",
@@ -3133,6 +3137,7 @@
31333137
false,
31343138
false,
31353139
false,
3140+
false,
31363141
true,
31373142
false,
31383143
false,
@@ -3173,6 +3178,7 @@
31733178
"The database version is PostgreSQL 14.",
31743179
"The database version is PostgreSQL 15.",
31753180
"The database version is PostgreSQL 16.",
3181+
"The database version is PostgreSQL 17.",
31763182
"The database version is MySQL 8.",
31773183
"The database major version is MySQL 8.0 and the minor version is 18.",
31783184
"The database major version is MySQL 8.0 and the minor version is 26.",
@@ -3652,6 +3658,16 @@
36523658
"description": "Whether or not the backup can be used as a differential base copy_only backup can not be served as differential base",
36533659
"type": "boolean"
36543660
},
3661+
"exportLogEndTime": {
3662+
"description": "Optional. The end timestamp when transaction log will be included in the export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs until current time will be included. Only applied to Cloud SQL for SQL Server.",
3663+
"format": "google-datetime",
3664+
"type": "string"
3665+
},
3666+
"exportLogStartTime": {
3667+
"description": "Optional. The begin timestamp when transaction log will be included in the export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs from the beginning of retention period will be included. Only applied to Cloud SQL for SQL Server.",
3668+
"format": "google-datetime",
3669+
"type": "string"
3670+
},
36553671
"stripeCount": {
36563672
"description": "Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.",
36573673
"format": "int32",
@@ -3835,6 +3851,7 @@
38353851
"POSTGRES_14",
38363852
"POSTGRES_15",
38373853
"POSTGRES_16",
3854+
"POSTGRES_17",
38383855
"MYSQL_8_0",
38393856
"MYSQL_8_0_18",
38403857
"MYSQL_8_0_26",
@@ -3885,6 +3902,7 @@
38853902
false,
38863903
false,
38873904
false,
3905+
false,
38883906
true,
38893907
false,
38903908
false,
@@ -3925,6 +3943,7 @@
39253943
"The database version is PostgreSQL 14.",
39263944
"The database version is PostgreSQL 15.",
39273945
"The database version is PostgreSQL 16.",
3946+
"The database version is PostgreSQL 17.",
39283947
"The database version is MySQL 8.",
39293948
"The database major version is MySQL 8.0 and the minor version is 18.",
39303949
"The database major version is MySQL 8.0 and the minor version is 26.",
@@ -5622,7 +5641,9 @@
56225641
"EXTENSIONS_NOT_MIGRATED",
56235642
"PG_CRON_FLAG_ENABLED_IN_REPLICA",
56245643
"EXTENSIONS_NOT_ENABLED_IN_REPLICA",
5625-
"UNSUPPORTED_COLUMNS"
5644+
"UNSUPPORTED_COLUMNS",
5645+
"USERS_NOT_CREATED_IN_REPLICA",
5646+
"UNSUPPORTED_SYSTEM_OBJECTS"
56265647
],
56275648
"enumDescriptions": [
56285649
"",
@@ -5674,7 +5695,9 @@
56745695
"The warning message indicates the pg_cron extension and settings will not be migrated to the destination.",
56755696
"The error message indicates that pg_cron flags are enabled on the destination which is not supported during the migration.",
56765697
"This error message indicates that the specified extensions are not enabled on destination instance. For example, before you can migrate data to the destination instance, you must enable the PGAudit extension on the instance.",
5677-
"The source database has generated columns that can't be migrated. Please change them to regular columns before migration."
5698+
"The source database has generated columns that can't be migrated. Please change them to regular columns before migration.",
5699+
"The source database has users that aren't created in the replica. First, create all users, which are in the pg_user_mappings table of the source database, in the destination instance. Then, perform the migration.",
5700+
"The selected objects include system objects that aren't supported for migration."
56785701
],
56795702
"type": "string"
56805703
}

src/apis/sqladmin/v1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,8 @@ export namespace sqladmin_v1 {
901901
bakType?: string;
902902
copyOnly?: boolean;
903903
differentialBase?: boolean;
904+
exportLogEndTime?: string;
905+
exportLogStartTime?: string;
904906
stripeCount?: number;
905907
striped?: boolean;
906908
} | null;

src/apis/sqladmin/v1beta4.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,8 @@ export namespace sqladmin_v1beta4 {
904904
bakType?: string;
905905
copyOnly?: boolean;
906906
differentialBase?: boolean;
907+
exportLogEndTime?: string;
908+
exportLogStartTime?: string;
907909
stripeCount?: number;
908910
striped?: boolean;
909911
} | null;

0 commit comments

Comments
 (0)