Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a database from a Cloud SQL instance.
See: Cloud SQL Admin API Reference for sql.databases.delete
.
Synopsis
- type DatabasesDeleteResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("databases" :> (Capture "database" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))
- databasesDelete :: Text -> Text -> Text -> DatabasesDelete
- data DatabasesDelete
- ddProject :: Lens' DatabasesDelete Text
- ddDatabase :: Lens' DatabasesDelete Text
- ddInstance :: Lens' DatabasesDelete Text
REST Resource
type DatabasesDeleteResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("databases" :> (Capture "database" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))) Source #
A resource alias for sql.databases.delete
method which the
DatabasesDelete
request conforms to.
Creating a Request
Creates a value of DatabasesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DatabasesDelete Source #
Deletes a database from a Cloud SQL instance.
See: databasesDelete
smart constructor.
Instances
Request Lenses
ddProject :: Lens' DatabasesDelete Text Source #
Project ID of the project that contains the instance.
ddDatabase :: Lens' DatabasesDelete Text Source #
Name of the database to be deleted in the instance.
ddInstance :: Lens' DatabasesDelete Text Source #
Database instance ID. This does not include the project ID.