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 operations that match the specified filter in the request.
See: Genomics API Reference for genomics.operations.list
.
- type OperationsListResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListOperationsResponse))))))))))))
- operationsList :: Text -> OperationsList
- data OperationsList
- olXgafv :: Lens' OperationsList (Maybe Xgafv)
- olUploadProtocol :: Lens' OperationsList (Maybe Text)
- olPp :: Lens' OperationsList Bool
- olAccessToken :: Lens' OperationsList (Maybe Text)
- olUploadType :: Lens' OperationsList (Maybe Text)
- olBearerToken :: Lens' OperationsList (Maybe Text)
- olName :: Lens' OperationsList Text
- olFilter :: Lens' OperationsList (Maybe Text)
- olPageToken :: Lens' OperationsList (Maybe Text)
- olPageSize :: Lens' OperationsList (Maybe Int32)
- olCallback :: Lens' OperationsList (Maybe Text)
REST Resource
type OperationsListResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListOperationsResponse)))))))))))) Source #
A resource alias for genomics.operations.list
method which the
OperationsList
request conforms to.
Creating a Request
:: 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 operations that match the specified filter in the request.
See: operationsList
smart constructor.
Request Lenses
olUploadProtocol :: Lens' OperationsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
olAccessToken :: Lens' OperationsList (Maybe Text) Source #
OAuth access token.
olUploadType :: Lens' OperationsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
olBearerToken :: Lens' OperationsList (Maybe Text) Source #
OAuth bearer token.
olFilter :: Lens' OperationsList (Maybe Text) Source #
A string for filtering Operations. The following filter fields are supported: * projectId: Required. Corresponds to OperationMetadata.projectId. * createTime: The time this job was created, in seconds from the epoch. Can use `>=` and/or `<=` operators. * status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only one status may be specified. * labels.key where key is a label key. Examples: * `projectId = my-project AND createTime >= 1432140000` * `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING` * `projectId = my-project AND labels.color = *` * `projectId = my-project AND labels.color = red`
olPageToken :: Lens' OperationsList (Maybe Text) Source #
The standard list page token.
olPageSize :: Lens' OperationsList (Maybe Int32) Source #
The maximum number of results to return. If unspecified, defaults to 256. The maximum value is 2048.
olCallback :: Lens' OperationsList (Maybe Text) Source #
JSONP