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 |
Retrieves a resource containing information about a backup run.
See: Cloud SQL Admin API Reference for sql.backupRuns.get
.
Synopsis
- 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.
Instances
Request Lenses
brgProject :: Lens' BackupRunsGet Text Source #
Project ID of the project that contains the instance.
brgInstance :: Lens' BackupRunsGet Text Source #
Cloud SQL instance ID. This does not include the project ID.