| 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.Operations.List
Description
Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.
See: Cloud SQL Admin API Reference for sql.operations.list.
Synopsis
- type OperationsListResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("operations" :> (QueryParam "instance" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OperationsListResponse))))))))
- operationsList :: Text -> Text -> OperationsList
- data OperationsList
- olProject :: Lens' OperationsList Text
- olPageToken :: Lens' OperationsList (Maybe Text)
- olMaxResults :: Lens' OperationsList (Maybe Word32)
- olInstance :: Lens' OperationsList Text
REST Resource
type OperationsListResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("operations" :> (QueryParam "instance" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OperationsListResponse)))))))) Source #
A resource alias for sql.operations.list method which the
OperationsList request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> OperationsList |
Creates a value of OperationsList with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OperationsList Source #
Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.
See: operationsList smart constructor.
Instances
Request Lenses
olProject :: Lens' OperationsList Text Source #
Project ID of the project that contains the instance.
olPageToken :: Lens' OperationsList (Maybe Text) Source #
A previously-returned page token representing part of the larger set of results to view.
olMaxResults :: Lens' OperationsList (Maybe Word32) Source #
Maximum number of operations per response.
olInstance :: Lens' OperationsList Text Source #
Cloud SQL instance ID. This does not include the project ID.