openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 175 kB
JSON
{"openapi":"3.0.0","servers":[{"url":"https://sqladmin.googleapis.com/"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"API for Cloud SQL database instance management","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Cloud SQL Admin API","version":"v1","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://upload.wikimedia.org/wikipedia/commons/e/e1/YouTube_play_buttom_icon_%282013-2017%29.svg"},"x-origin":[{"format":"openapi","url":"https://sqladmin.googleapis.com/$discovery/rest?version=v1","version":"3.0"}],"x-providerName":"googleapis.com","x-serviceName":"sqladmin"},"externalDocs":{"url":"https://developers.google.com/cloud-sql/"},"tags":[{"name":"backupRuns"},{"name":"connect"},{"name":"databases"},{"name":"flags"},{"name":"instances"},{"name":"operations"},{"name":"projects"},{"name":"sslCerts"},{"name":"tiers"},{"name":"users"}],"paths":{"/v1/flags":{"get":{"description":"Lists all available database flags for Cloud SQL instances.","operationId":"sql.flags.list","parameters":[{"description":"Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.","in":"query","name":"databaseVersion","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlagsListResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["flags"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/projects/{project}/instances":{"get":{"description":"Lists instances under a given project.","operationId":"sql.instances.list","parameters":[{"description":"Project ID of the project for which to list Cloud SQL instances.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"A filter expression that filters resources listed in the response. The expression is in the form of field:value. For example, 'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per their JSON representation, such as 'settings.userLabels.auto_start:true'. Multiple filter queries are space-separated. For example. 'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The maximum number of instances to return. The service may return fewer than this value. If unspecified, at most 500 instances are returned. The maximum value is 1000; values above 1000 are coerced to 1000.","in":"query","name":"maxResults","schema":{"type":"integer"}},{"description":"A previously-returned page token representing part of the larger set of results to view.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesListResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a new Cloud SQL instance.","operationId":"sql.instances.insert","parameters":[{"description":"Project ID of the project to which the newly created Cloud SQL instances should belong.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseInstance"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}":{"delete":{"description":"Deletes a Cloud SQL instance.","operationId":"sql.instances.delete","parameters":[{"description":"Project ID of the project that contains the instance to be deleted.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]},"get":{"description":"Retrieves a resource containing information about a Cloud SQL instance.","operationId":"sql.instances.get","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Database instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseInstance"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"patch":{"description":"Partially updates settings of a Cloud SQL instance by merging the request with the current configuration. This method supports patch semantics.","operationId":"sql.instances.patch","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseInstance"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]},"put":{"description":"Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart.","operationId":"sql.instances.update","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabaseInstance"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}/addServerCa":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.","operationId":"sql.instances.addServerCa","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}/backupRuns":{"get":{"description":"Lists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.","operationId":"sql.backupRuns.list","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID, or \"-\" for all instances. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}},{"description":"Maximum number of backup runs per response.","in":"query","name":"maxResults","schema":{"type":"integer"}},{"description":"A previously-returned page token representing part of the larger set of results to view.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackupRunsListResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["backupRuns"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a new backup run on demand.","operationId":"sql.backupRuns.insert","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackupRun"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["backupRuns"]}},"/v1/projects/{project}/instances/{instance}/backupRuns/{id}":{"delete":{"description":"Deletes the backup taken by a backup run.","operationId":"sql.backupRuns.delete","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}},{"description":"The ID of the backup run to delete. To find a backup run ID, use the [list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/backupRuns/list) method.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["backupRuns"]},"get":{"description":"Retrieves a resource containing information about a backup run.","operationId":"sql.backupRuns.get","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}},{"description":"The ID of this backup run.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackupRun"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["backupRuns"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/projects/{project}/instances/{instance}/clone":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a Cloud SQL instance as a clone of the source instance. Using this operation might cause your instance to restart.","operationId":"sql.instances.clone","parameters":[{"description":"Project ID of the source as well as the clone Cloud SQL instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesCloneRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}/connectSettings":{"get":{"description":"Retrieves connect settings about a Cloud SQL instance.","operationId":"sql.connect.get","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}},{"description":"Optional. Optional snapshot read timestamp to trade freshness for performance.","in":"query","name":"readTime","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectSettings"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["connect"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/projects/{project}/instances/{instance}/createEphemeral":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.","operationId":"sql.sslCerts.createEphemeral","parameters":[{"description":"Project ID of the Cloud SQL project.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SslCertsCreateEphemeralRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SslCert"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["sslCerts"]}},"/v1/projects/{project}/instances/{instance}/databases":{"get":{"description":"Lists databases in the specified Cloud SQL instance.","operationId":"sql.databases.list","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatabasesListResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["databases"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation.","operationId":"sql.databases.insert","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Database instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["databases"]}},"/v1/projects/{project}/instances/{instance}/databases/{database}":{"delete":{"description":"Deletes a database from a Cloud SQL instance.","operationId":"sql.databases.delete","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Database instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}},{"description":"Name of the database to be deleted in the instance.","in":"path","name":"database","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["databases"]},"get":{"description":"Retrieves a resource containing information about a database inside a Cloud SQL instance.","operationId":"sql.databases.get","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Database instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}},{"description":"Name of the database in the instance.","in":"path","name":"database","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["databases"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"patch":{"description":"Partially updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics.","operationId":"sql.databases.patch","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Database instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}},{"description":"Name of the database to be updated in the instance.","in":"path","name":"database","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["databases"]},"put":{"description":"Updates a resource containing information about a database inside a Cloud SQL instance.","operationId":"sql.databases.update","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Database instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}},{"description":"Name of the database to be updated in the instance.","in":"path","name":"database","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Database"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["databases"]}},"/v1/projects/{project}/instances/{instance}/demote":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Demotes an existing standalone instance to be a Cloud SQL read replica for an external database server.","operationId":"sql.instances.demote","parameters":[{"description":"Required. ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Required. Cloud SQL instance name.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesDemoteRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}/demoteMaster":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.","operationId":"sql.instances.demoteMaster","parameters":[{"description":"ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance name.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesDemoteMasterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}/export":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.","operationId":"sql.instances.export","parameters":[{"description":"Project ID of the project that contains the instance to be exported.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesExportRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}/failover":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the [Overview of high availability](https://cloud.google.com/sql/docs/mysql/high-availability) page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance.","operationId":"sql.instances.failover","parameters":[{"description":"ID of the project that contains the read replica.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesFailoverRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}/getDiskShrinkConfig":{"get":{"description":"Get Disk Shrink Config for a given instance.","operationId":"sql.projects.instances.getDiskShrinkConfig","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SqlInstancesGetDiskShrinkConfigResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/projects/{project}/instances/{instance}/getLatestRecoveryTime":{"get":{"description":"Get Latest Recovery Time for a given instance.","operationId":"sql.projects.instances.getLatestRecoveryTime","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SqlInstancesGetLatestRecoveryTimeResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/projects/{project}/instances/{instance}/import":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.","operationId":"sql.instances.import","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesImportRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}/listServerCas":{"get":{"description":"Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.","operationId":"sql.instances.listServerCas","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesListServerCasResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/v1/projects/{project}/instances/{instance}/performDiskShrink":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Perform Disk Shrink on primary instance.","operationId":"sql.projects.instances.performDiskShrink","parameters":[{"description":"Project ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerformDiskShrinkContext"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["projects"]}},"/v1/projects/{project}/instances/{instance}/promoteReplica":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Promotes the read replica instance to be a stand-alone Cloud SQL instance. Using this operation might cause your instance to restart.","operationId":"sql.instances.promoteReplica","parameters":[{"description":"ID of the project that contains the read replica.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL read replica instance name.","in":"path","name":"instance","required":true,"schema":{"type":"string"}},{"description":"Set to true if the promote operation should attempt to re-add the original primary as a replica when it comes back online. Otherwise, if this value is false or not set, the original primary will be a standalone instance.","in":"query","name":"failover","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}/reencrypt":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Reencrypt CMEK instance with latest key version.","operationId":"sql.instances.reencrypt","parameters":[{"description":"ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesReencryptRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["instances"]}},"/v1/projects/{project}/instances/{instance}/rescheduleMaintenance":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Reschedules the maintenance on the given instance.","operationId":"sql.projects.instances.rescheduleMaintenance","parameters":[{"description":"ID of the project that contains the instance.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL instance ID. This does not include the project ID.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SqlInstancesRescheduleMaintenanceRequestBody"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["projects"]}},"/v1/projects/{project}/instances/{instance}/resetReplicaSize":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Reset Replica Size to primary instance disk size.","operationId":"sql.projects.instances.resetReplicaSize","parameters":[{"description":"ID of the project that contains the read replica.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Cloud SQL read replica instance name.","in":"path","name":"instance","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SqlInstancesResetReplicaSizeRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/sqlservice.admin"],"Oauth2c":["https://www.googleapis.com/auth/sqlservice.admin"]}],"tags":["projects"]}},"/v1/projects/{project}/instances/{instance}/resetSslConfig":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/com