Skip to content

Commit

Permalink
fix(sqladmin): update the API
Browse files Browse the repository at this point in the history
#### sqladmin:v1beta4

The following keys were changed:
- schemas.DatabaseInstance.properties.databaseVersion.enum
- schemas.DatabaseInstance.properties.databaseVersion.enumDescriptions
- schemas.DatabaseInstance.properties.outOfDiskReport.description
- schemas.Flag.properties.appliesTo.items.enum
- schemas.Flag.properties.appliesTo.items.enumDescriptions
- schemas.Reschedule.properties.rescheduleType.enumDescriptions
- schemas.SqlExternalSyncSettingError.properties.type.enum
- schemas.SqlExternalSyncSettingError.properties.type.enumDescriptions
- schemas.SqlOutOfDiskReport.properties.sqlMinRecommendedIncreaseSizeGb.description
- schemas.SqlOutOfDiskReport.properties.sqlOutOfDiskState.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jun 18, 2021
1 parent 329db56 commit 3ab53b0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 16 deletions.
46 changes: 33 additions & 13 deletions discovery/sqladmin-v1beta4.json
Expand Up @@ -1834,7 +1834,7 @@
}
}
},
"revision": "20210521",
"revision": "20210608",
"rootUrl": "https://sqladmin.googleapis.com/",
"schemas": {
"AclEntry": {
Expand Down Expand Up @@ -2266,7 +2266,11 @@
"POSTGRES_10",
"POSTGRES_12",
"MYSQL_8_0",
"POSTGRES_13"
"POSTGRES_13",
"SQLSERVER_2019_STANDARD",
"SQLSERVER_2019_ENTERPRISE",
"SQLSERVER_2019_EXPRESS",
"SQLSERVER_2019_WEB"
],
"enumDescriptions": [
"This is an unknown database version.",
Expand All @@ -2283,7 +2287,11 @@
"The database version is PostgreSQL 10.",
"The database version is PostgreSQL 12.",
"The database version is MySQL 8.",
"The database version is PostgreSQL 13."
"The database version is PostgreSQL 13.",
"The database version is SQL Server 2019 Standard.",
"The database version is SQL Server 2019 Enterprise.",
"The database version is SQL Server 2019 Express.",
"The database version is SQL Server 2019 Web."
],
"type": "string"
},
Expand Down Expand Up @@ -2367,7 +2375,7 @@
},
"outOfDiskReport": {
"$ref": "SqlOutOfDiskReport",
"description": "This field represents the report generated by the proactive database wellness job for OutOfDisk issues. Writers: -- the proactive database wellness job for OOD. Readers: -- the Pantheon frontend -- the proactive database wellness job"
"description": "This field represents the report generated by the proactive database wellness job for OutOfDisk issues. Writers: -- the proactive database wellness job for OOD. Readers: -- the proactive database wellness job"
},
"project": {
"description": "The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.",
Expand Down Expand Up @@ -2735,7 +2743,11 @@
"POSTGRES_10",
"POSTGRES_12",
"MYSQL_8_0",
"POSTGRES_13"
"POSTGRES_13",
"SQLSERVER_2019_STANDARD",
"SQLSERVER_2019_ENTERPRISE",
"SQLSERVER_2019_EXPRESS",
"SQLSERVER_2019_WEB"
],
"enumDescriptions": [
"This is an unknown database version.",
Expand All @@ -2752,7 +2764,11 @@
"The database version is PostgreSQL 10.",
"The database version is PostgreSQL 12.",
"The database version is MySQL 8.",
"The database version is PostgreSQL 13."
"The database version is PostgreSQL 13.",
"The database version is SQL Server 2019 Standard.",
"The database version is SQL Server 2019 Enterprise.",
"The database version is SQL Server 2019 Express.",
"The database version is SQL Server 2019 Web."
],
"type": "string"
},
Expand Down Expand Up @@ -3535,9 +3551,9 @@
],
"enumDescriptions": [
"",
"If the user wants to schedule the maintenance to happen now.",
"If the user wants to use the existing maintenance policy to find the next available window.",
"If the user wants to reschedule the maintenance to a specific time."
"Reschedules maintenance to happen now (within 5 minutes).",
"Reschedules maintenance to occur within one week from the originally scheduled day and time.",
"Reschedules maintenance to a specific time and day."
],
"type": "string"
},
Expand Down Expand Up @@ -3811,7 +3827,9 @@
"UNSUPPORTED_GTID_MODE",
"SQLSERVER_AGENT_NOT_RUNNING",
"UNSUPPORTED_TABLE_DEFINITION",
"UNSUPPORTED_DEFINER"
"UNSUPPORTED_DEFINER",
"SQLSERVER_SERVERNAME_MISMATCH",
"PRIMARY_ALREADY_SETUP"
],
"enumDescriptions": [
"",
Expand All @@ -3835,7 +3853,9 @@
"The gtid_mode is not supported, applicable for MySQL.",
"SQL Server Agent is not running.",
"The table definition is not support due to missing primary key or replica identity, applicable for postgres.",
"The customer has a definer that will break EM setup."
"The customer has a definer that will break EM setup.",
"SQL Server @@SERVERNAME does not match actual host name",
"The primary instance has been setup and will fail the setup."
],
"type": "string"
}
Expand Down Expand Up @@ -3883,12 +3903,12 @@
"id": "SqlOutOfDiskReport",
"properties": {
"sqlMinRecommendedIncreaseSizeGb": {
"description": "The minimum recommended increase size in GigaBytes This field is consumed by the frontend Writers: -- the proactive database wellness job for OOD. Readers: -- the Pantheon frontend",
"description": "The minimum recommended increase size in GigaBytes This field is consumed by the frontend Writers: -- the proactive database wellness job for OOD.",
"format": "int32",
"type": "integer"
},
"sqlOutOfDiskState": {
"description": "This field represents the state generated by the proactive database wellness job for OutOfDisk issues. Writers: -- the proactive database wellness job for OOD. Readers: -- the Pantheon frontend -- the proactive database wellness job",
"description": "This field represents the state generated by the proactive database wellness job for OutOfDisk issues. Writers: -- the proactive database wellness job for OOD. Readers: -- the proactive database wellness job",
"enum": [
"SQL_OUT_OF_DISK_STATE_UNSPECIFIED",
"NORMAL",
Expand Down
6 changes: 3 additions & 3 deletions src/apis/sqladmin/v1beta4.ts
Expand Up @@ -498,7 +498,7 @@ export namespace sqladmin_v1beta4 {
*/
onPremisesConfiguration?: Schema$OnPremisesConfiguration;
/**
* This field represents the report generated by the proactive database wellness job for OutOfDisk issues. Writers: -- the proactive database wellness job for OOD. Readers: -- the Pantheon frontend -- the proactive database wellness job
* This field represents the report generated by the proactive database wellness job for OutOfDisk issues. Writers: -- the proactive database wellness job for OOD. Readers: -- the proactive database wellness job
*/
outOfDiskReport?: Schema$SqlOutOfDiskReport;
/**
Expand Down Expand Up @@ -1458,11 +1458,11 @@ export namespace sqladmin_v1beta4 {
*/
export interface Schema$SqlOutOfDiskReport {
/**
* The minimum recommended increase size in GigaBytes This field is consumed by the frontend Writers: -- the proactive database wellness job for OOD. Readers: -- the Pantheon frontend
* The minimum recommended increase size in GigaBytes This field is consumed by the frontend Writers: -- the proactive database wellness job for OOD.
*/
sqlMinRecommendedIncreaseSizeGb?: number | null;
/**
* This field represents the state generated by the proactive database wellness job for OutOfDisk issues. Writers: -- the proactive database wellness job for OOD. Readers: -- the Pantheon frontend -- the proactive database wellness job
* This field represents the state generated by the proactive database wellness job for OutOfDisk issues. Writers: -- the proactive database wellness job for OOD. Readers: -- the proactive database wellness job
*/
sqlOutOfDiskState?: string | null;
}
Expand Down

0 comments on commit 3ab53b0

Please sign in to comment.