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 |
Lists all backup runs associated with a given instance and configuration in the reverse chronological order of the backup initiation time.
See: Cloud SQL Admin API Reference for sql.backupRuns.list
.
Synopsis
- type BackupRunsListResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("backupRuns" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] BackupRunsListResponse)))))))))
- backupRunsList :: Text -> Text -> BackupRunsList
- data BackupRunsList
- brlProject :: Lens' BackupRunsList Text
- brlPageToken :: Lens' BackupRunsList (Maybe Text)
- brlMaxResults :: Lens' BackupRunsList (Maybe Int32)
- brlInstance :: Lens' BackupRunsList Text
REST Resource
type BackupRunsListResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("backupRuns" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] BackupRunsListResponse))))))))) Source #
A resource alias for sql.backupRuns.list
method which the
BackupRunsList
request conforms to.
Creating a Request
Creates a value of BackupRunsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BackupRunsList Source #
Lists all backup runs associated with a given instance and configuration in the reverse chronological order of the backup initiation time.
See: backupRunsList
smart constructor.
Instances
Request Lenses
brlProject :: Lens' BackupRunsList Text Source #
Project ID of the project that contains the instance.
brlPageToken :: Lens' BackupRunsList (Maybe Text) Source #
A previously-returned page token representing part of the larger set of results to view.
brlMaxResults :: Lens' BackupRunsList (Maybe Int32) Source #
Maximum number of backup runs per response.
brlInstance :: Lens' BackupRunsList Text Source #
Cloud SQL instance ID. This does not include the project ID.