Skip to content

Commit fe2dacf

Browse files
yoshi-automationsofisl
authored andcommitted
feat(sqladmin): update the API
#### sqladmin:v1beta4 The following keys were added: - schemas.CloneContext.properties.preferredSecondaryZone.description - schemas.CloneContext.properties.preferredSecondaryZone.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.User.properties.type.enumDescriptions #### sqladmin:v1 The following keys were added: - schemas.CloneContext.properties.preferredSecondaryZone.description - schemas.CloneContext.properties.preferredSecondaryZone.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.User.properties.type.enumDescriptions
1 parent ccac052 commit fe2dacf

File tree

4 files changed

+24
-26
lines changed

4 files changed

+24
-26
lines changed

discovery/sqladmin-v1.json

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,7 @@
22672267
}
22682268
}
22692269
},
2270-
"revision": "20240724",
2270+
"revision": "20240814",
22712271
"rootUrl": "https://sqladmin.googleapis.com/",
22722272
"schemas": {
22732273
"AclEntry": {
@@ -2720,6 +2720,10 @@
27202720
"format": "google-datetime",
27212721
"type": "string"
27222722
},
2723+
"preferredSecondaryZone": {
2724+
"description": "Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field. This field applies to all DB types.",
2725+
"type": "string"
2726+
},
27232727
"preferredZone": {
27242728
"description": "Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance. This field applies to all DB types.",
27252729
"type": "string"
@@ -2791,7 +2795,6 @@
27912795
"MYSQL_8_0_39",
27922796
"MYSQL_8_0_40",
27932797
"MYSQL_8_4",
2794-
"MYSQL_8_4_0",
27952798
"SQLSERVER_2019_STANDARD",
27962799
"SQLSERVER_2019_ENTERPRISE",
27972800
"SQLSERVER_2019_EXPRESS",
@@ -2844,7 +2847,6 @@
28442847
false,
28452848
false,
28462849
false,
2847-
false,
28482850
false
28492851
],
28502852
"enumDescriptions": [
@@ -2883,7 +2885,6 @@
28832885
"The database major version is MySQL 8.0 and the minor version is 39.",
28842886
"The database major version is MySQL 8.0 and the minor version is 40.",
28852887
"The database version is MySQL 8.4.",
2886-
"The database version is MySQL 8.4 and the patch version is 0.",
28872888
"The database version is SQL Server 2019 Standard.",
28882889
"The database version is SQL Server 2019 Enterprise.",
28892890
"The database version is SQL Server 2019 Express.",
@@ -3100,7 +3101,6 @@
31003101
"MYSQL_8_0_39",
31013102
"MYSQL_8_0_40",
31023103
"MYSQL_8_4",
3103-
"MYSQL_8_4_0",
31043104
"SQLSERVER_2019_STANDARD",
31053105
"SQLSERVER_2019_ENTERPRISE",
31063106
"SQLSERVER_2019_EXPRESS",
@@ -3153,7 +3153,6 @@
31533153
false,
31543154
false,
31553155
false,
3156-
false,
31573156
false
31583157
],
31593158
"enumDescriptions": [
@@ -3192,7 +3191,6 @@
31923191
"The database major version is MySQL 8.0 and the minor version is 39.",
31933192
"The database major version is MySQL 8.0 and the minor version is 40.",
31943193
"The database version is MySQL 8.4.",
3195-
"The database version is MySQL 8.4 and the patch version is 0.",
31963194
"The database version is SQL Server 2019 Standard.",
31973195
"The database version is SQL Server 2019 Enterprise.",
31983196
"The database version is SQL Server 2019 Express.",
@@ -3854,7 +3852,6 @@
38543852
"MYSQL_8_0_39",
38553853
"MYSQL_8_0_40",
38563854
"MYSQL_8_4",
3857-
"MYSQL_8_4_0",
38583855
"SQLSERVER_2019_STANDARD",
38593856
"SQLSERVER_2019_ENTERPRISE",
38603857
"SQLSERVER_2019_EXPRESS",
@@ -3907,7 +3904,6 @@
39073904
false,
39083905
false,
39093906
false,
3910-
false,
39113907
false
39123908
],
39133909
"enumDescriptions": [
@@ -3946,7 +3942,6 @@
39463942
"The database major version is MySQL 8.0 and the minor version is 39.",
39473943
"The database major version is MySQL 8.0 and the minor version is 40.",
39483944
"The database version is MySQL 8.4.",
3949-
"The database version is MySQL 8.4 and the patch version is 0.",
39503945
"The database version is SQL Server 2019 Standard.",
39513946
"The database version is SQL Server 2019 Enterprise.",
39523947
"The database version is SQL Server 2019 Express.",
@@ -6293,9 +6288,9 @@
62936288
"The database's built-in user type.",
62946289
"Cloud IAM user.",
62956290
"Cloud IAM service account.",
6296-
"Cloud IAM group non-login user.",
6297-
"Cloud IAM group login user.",
6298-
"Cloud IAM group login service account."
6291+
"Cloud IAM group. Not used for login.",
6292+
"Read-only. Login for a user that belongs to the Cloud IAM group.",
6293+
"Read-only. Login for a service account that belongs to the Cloud IAM group."
62996294
],
63006295
"type": "string"
63016296
}

discovery/sqladmin-v1beta4.json

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,7 @@
22672267
}
22682268
}
22692269
},
2270-
"revision": "20240724",
2270+
"revision": "20240814",
22712271
"rootUrl": "https://sqladmin.googleapis.com/",
22722272
"schemas": {
22732273
"AclEntry": {
@@ -2720,6 +2720,10 @@
27202720
"format": "google-datetime",
27212721
"type": "string"
27222722
},
2723+
"preferredSecondaryZone": {
2724+
"description": "Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.",
2725+
"type": "string"
2726+
},
27232727
"preferredZone": {
27242728
"description": "Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance.",
27252729
"type": "string"
@@ -2791,7 +2795,6 @@
27912795
"MYSQL_8_0_39",
27922796
"MYSQL_8_0_40",
27932797
"MYSQL_8_4",
2794-
"MYSQL_8_4_0",
27952798
"SQLSERVER_2019_STANDARD",
27962799
"SQLSERVER_2019_ENTERPRISE",
27972800
"SQLSERVER_2019_EXPRESS",
@@ -2844,7 +2847,6 @@
28442847
false,
28452848
false,
28462849
false,
2847-
false,
28482850
false
28492851
],
28502852
"enumDescriptions": [
@@ -2883,7 +2885,6 @@
28832885
"The database major version is MySQL 8.0 and the minor version is 39.",
28842886
"The database major version is MySQL 8.0 and the minor version is 40.",
28852887
"The database version is MySQL 8.4.",
2886-
"The database version is MySQL 8.4 and the patch version is 0.",
28872888
"The database version is SQL Server 2019 Standard.",
28882889
"The database version is SQL Server 2019 Enterprise.",
28892890
"The database version is SQL Server 2019 Express.",
@@ -3100,7 +3101,6 @@
31003101
"MYSQL_8_0_39",
31013102
"MYSQL_8_0_40",
31023103
"MYSQL_8_4",
3103-
"MYSQL_8_4_0",
31043104
"SQLSERVER_2019_STANDARD",
31053105
"SQLSERVER_2019_ENTERPRISE",
31063106
"SQLSERVER_2019_EXPRESS",
@@ -3153,7 +3153,6 @@
31533153
false,
31543154
false,
31553155
false,
3156-
false,
31573156
false
31583157
],
31593158
"enumDescriptions": [
@@ -3192,7 +3191,6 @@
31923191
"The database major version is MySQL 8.0 and the minor version is 39.",
31933192
"The database major version is MySQL 8.0 and the minor version is 40.",
31943193
"The database version is MySQL 8.4.",
3195-
"The database version is MySQL 8.4 and the patch version is 0.",
31963194
"The database version is SQL Server 2019 Standard.",
31973195
"The database version is SQL Server 2019 Enterprise.",
31983196
"The database version is SQL Server 2019 Express.",
@@ -3855,7 +3853,6 @@
38553853
"MYSQL_8_0_39",
38563854
"MYSQL_8_0_40",
38573855
"MYSQL_8_4",
3858-
"MYSQL_8_4_0",
38593856
"SQLSERVER_2019_STANDARD",
38603857
"SQLSERVER_2019_ENTERPRISE",
38613858
"SQLSERVER_2019_EXPRESS",
@@ -3908,7 +3905,6 @@
39083905
false,
39093906
false,
39103907
false,
3911-
false,
39123908
false
39133909
],
39143910
"enumDescriptions": [
@@ -3947,7 +3943,6 @@
39473943
"The database major version is MySQL 8.0 and the minor version is 39.",
39483944
"The database major version is MySQL 8.0 and the minor version is 40.",
39493945
"The database version is MySQL 8.4.",
3950-
"The database version is MySQL 8.4 and the patch version is 0.",
39513946
"The database version is SQL Server 2019 Standard.",
39523947
"The database version is SQL Server 2019 Enterprise.",
39533948
"The database version is SQL Server 2019 Express.",
@@ -6292,9 +6287,9 @@
62926287
"The database's built-in user type.",
62936288
"Cloud IAM user.",
62946289
"Cloud IAM service account.",
6295-
"Cloud IAM group non-login user.",
6296-
"Cloud IAM group login user.",
6297-
"Cloud IAM group service account."
6290+
"Cloud IAM group. Not used for login.",
6291+
"Read-only. Login for a user that belongs to the Cloud IAM group.",
6292+
"Read-only. Login for a service account that belongs to the Cloud IAM group."
62986293
],
62996294
"type": "string"
63006295
}

src/apis/sqladmin/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,10 @@ export namespace sqladmin_v1 {
454454
* Timestamp, if specified, identifies the time to which the source instance is cloned.
455455
*/
456456
pointInTime?: string | null;
457+
/**
458+
* Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field. This field applies to all DB types.
459+
*/
460+
preferredSecondaryZone?: string | null;
457461
/**
458462
* Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance. This field applies to all DB types.
459463
*/

src/apis/sqladmin/v1beta4.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,10 @@ export namespace sqladmin_v1beta4 {
454454
* Timestamp, if specified, identifies the time to which the source instance is cloned.
455455
*/
456456
pointInTime?: string | null;
457+
/**
458+
* Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.
459+
*/
460+
preferredSecondaryZone?: string | null;
457461
/**
458462
* Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance.
459463
*/

0 commit comments

Comments
 (0)