Skip to content

Commit

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

The following keys were added:
- schemas.DatabaseInstance.properties.outOfDiskReport.$ref
- schemas.DatabaseInstance.properties.outOfDiskReport.description
- schemas.SqlOutOfDiskReport.description
- schemas.SqlOutOfDiskReport.id
- schemas.SqlOutOfDiskReport.properties.sqlMinRecommendedIncreaseSizeGb.description
- schemas.SqlOutOfDiskReport.properties.sqlMinRecommendedIncreaseSizeGb.format
- schemas.SqlOutOfDiskReport.properties.sqlMinRecommendedIncreaseSizeGb.type
- schemas.SqlOutOfDiskReport.properties.sqlOutOfDiskState.description
- schemas.SqlOutOfDiskReport.properties.sqlOutOfDiskState.enum
- schemas.SqlOutOfDiskReport.properties.sqlOutOfDiskState.enumDescriptions
- schemas.SqlOutOfDiskReport.properties.sqlOutOfDiskState.type
- schemas.SqlOutOfDiskReport.type
  • Loading branch information
yoshi-automation authored and bcoe committed May 3, 2021
1 parent cd4cd4b commit 75a6125
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
32 changes: 31 additions & 1 deletion discovery/sqladmin-v1beta4.json
Expand Up @@ -1834,7 +1834,7 @@
}
}
},
"revision": "20210321",
"revision": "20210420",
"rootUrl": "https://sqladmin.googleapis.com/",
"schemas": {
"AclEntry": {
Expand Down Expand Up @@ -2365,6 +2365,10 @@
"$ref": "OnPremisesConfiguration",
"description": "Configuration specific to on-premises instances."
},
"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"
},
"project": {
"description": "The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.",
"type": "string"
Expand Down Expand Up @@ -3869,6 +3873,32 @@
},
"type": "object"
},
"SqlOutOfDiskReport": {
"description": "This message wraps up the information written by out-of-disk detection job.",
"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",
"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",
"enum": [
"SQL_OUT_OF_DISK_STATE_UNSPECIFIED",
"NORMAL",
"SOFT_SHUTDOWN"
],
"enumDescriptions": [
"Unspecified state",
"The instance has plenty space on data disk",
"Data disk is almost used up. It is shutdown to prevent data corruption."
],
"type": "string"
}
},
"type": "object"
},
"SqlScheduledMaintenance": {
"description": "Any scheduled maintenancce for this instance.",
"id": "SqlScheduledMaintenance",
Expand Down
21 changes: 21 additions & 0 deletions src/apis/sqladmin/v1beta4.ts
Expand Up @@ -497,6 +497,10 @@ export namespace sqladmin_v1beta4 {
* Configuration specific to on-premises instances.
*/
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
*/
outOfDiskReport?: Schema$SqlOutOfDiskReport;
/**
* The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
*/
Expand Down Expand Up @@ -1445,6 +1449,19 @@ export namespace sqladmin_v1beta4 {
*/
warnings?: Schema$SqlExternalSyncSettingError[];
}
/**
* This message wraps up the information written by out-of-disk detection job.
*/
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
*/
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
*/
sqlOutOfDiskState?: string | null;
}
/**
* Any scheduled maintenancce for this instance.
*/
Expand Down Expand Up @@ -4544,6 +4561,7 @@ export namespace sqladmin_v1beta4 {
* // "maxDiskSize": "my_maxDiskSize",
* // "name": "my_name",
* // "onPremisesConfiguration": {},
* // "outOfDiskReport": {},
* // "project": "my_project",
* // "region": "my_region",
* // "replicaConfiguration": {},
Expand Down Expand Up @@ -4857,6 +4875,7 @@ export namespace sqladmin_v1beta4 {
* // "maxDiskSize": "my_maxDiskSize",
* // "name": "my_name",
* // "onPremisesConfiguration": {},
* // "outOfDiskReport": {},
* // "project": "my_project",
* // "region": "my_region",
* // "replicaConfiguration": {},
Expand Down Expand Up @@ -5331,6 +5350,7 @@ export namespace sqladmin_v1beta4 {
* // "maxDiskSize": "my_maxDiskSize",
* // "name": "my_name",
* // "onPremisesConfiguration": {},
* // "outOfDiskReport": {},
* // "project": "my_project",
* // "region": "my_region",
* // "replicaConfiguration": {},
Expand Down Expand Up @@ -6732,6 +6752,7 @@ export namespace sqladmin_v1beta4 {
* // "maxDiskSize": "my_maxDiskSize",
* // "name": "my_name",
* // "onPremisesConfiguration": {},
* // "outOfDiskReport": {},
* // "project": "my_project",
* // "region": "my_region",
* // "replicaConfiguration": {},
Expand Down

0 comments on commit 75a6125

Please sign in to comment.