Copyright | (c) 2015 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 |
Retrieves a resource containing information about a backup run.
See: Cloud SQL Administration API Reference for sql.backupRuns.get
.
- type BackupRunsGetResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("backupRuns" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get `[JSON]` BackupRun))))))))
- backupRunsGet :: Text -> Int64 -> Text -> BackupRunsGet
- data BackupRunsGet
- brgProject :: Lens' BackupRunsGet Text
- brgId :: Lens' BackupRunsGet Int64
- brgInstance :: Lens' BackupRunsGet Text
REST Resource
type BackupRunsGetResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("backupRuns" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get `[JSON]` BackupRun)))))))) Source
A resource alias for sql.backupRuns.get
method which the
BackupRunsGet
request conforms to.
Creating a Request
Creates a value of BackupRunsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BackupRunsGet Source
Retrieves a resource containing information about a backup run.
See: backupRunsGet
smart constructor.
Request Lenses
brgProject :: Lens' BackupRunsGet Text Source
Project ID of the project that contains the instance.
brgId :: Lens' BackupRunsGet Int64 Source
The ID of this Backup Run.
brgInstance :: Lens' BackupRunsGet Text Source
Cloud SQL instance ID. This does not include the project ID.