| 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 |
Network.Google.Resource.SQL.BackupRuns.Delete
Description
Deletes the backup taken by a backup run.
See: Cloud SQL Admin API Reference for sql.backupRuns.delete.
Synopsis
- type BackupRunsDeleteResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("backupRuns" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))
- backupRunsDelete :: Text -> Int64 -> Text -> BackupRunsDelete
- data BackupRunsDelete
- brdProject :: Lens' BackupRunsDelete Text
- brdId :: Lens' BackupRunsDelete Int64
- brdInstance :: Lens' BackupRunsDelete Text
REST Resource
type BackupRunsDeleteResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("backupRuns" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))) Source #
A resource alias for sql.backupRuns.delete method which the
BackupRunsDelete request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Int64 | |
| -> Text | |
| -> BackupRunsDelete |
Creates a value of BackupRunsDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BackupRunsDelete Source #
Deletes the backup taken by a backup run.
See: backupRunsDelete smart constructor.
Instances
Request Lenses
brdProject :: Lens' BackupRunsDelete Text Source #
Project ID of the project that contains the instance.
brdId :: Lens' BackupRunsDelete Int64 Source #
The ID of the Backup Run to delete. To find a Backup Run ID, use the list method.
brdInstance :: Lens' BackupRunsDelete Text Source #
Cloud SQL instance ID. This does not include the project ID.