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. Authorization requires the following Google IAM permission: * `genomics.operations.list`
See: Genomics API Reference for genomics.projects.operations.list
.
Synopsis
- type ProjectsOperationsListResource = "v2alpha1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListOperationsResponse))))))))))
- projectsOperationsList :: Text -> ProjectsOperationsList
- data ProjectsOperationsList
- polXgafv :: Lens' ProjectsOperationsList (Maybe Xgafv)
- polUploadProtocol :: Lens' ProjectsOperationsList (Maybe Text)
- polAccessToken :: Lens' ProjectsOperationsList (Maybe Text)
- polUploadType :: Lens' ProjectsOperationsList (Maybe Text)
- polName :: Lens' ProjectsOperationsList Text
- polFilter :: Lens' ProjectsOperationsList (Maybe Text)
- polPageToken :: Lens' ProjectsOperationsList (Maybe Text)
- polPageSize :: Lens' ProjectsOperationsList (Maybe Int32)
- polCallback :: Lens' ProjectsOperationsList (Maybe Text)
REST Resource
type ProjectsOperationsListResource = "v2alpha1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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.projects.operations.list
method which the
ProjectsOperationsList
request conforms to.
Creating a Request
projectsOperationsList Source #
Creates a value of ProjectsOperationsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsOperationsList Source #
Lists operations that match the specified filter in the request. Authorization requires the following Google IAM permission: * `genomics.operations.list`
See: projectsOperationsList
smart constructor.
Instances
Request Lenses
polUploadProtocol :: Lens' ProjectsOperationsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
polAccessToken :: Lens' ProjectsOperationsList (Maybe Text) Source #
OAuth access token.
polUploadType :: Lens' ProjectsOperationsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
polFilter :: Lens' ProjectsOperationsList (Maybe Text) Source #
A string for filtering Operations. In v2alpha1, the following filter fields are supported: * createTime: The time this job was created * events: The set of event (names) that have occurred while running the pipeline. The : operator can be used to determine if a particular event has occurred. * error: If the pipeline is running, this value is NULL. Once the pipeline finishes, the value is the standard Google error code. * labels.key or labels."key with space" where key is a label key. * done: If the pipeline is running, this value is false. Once the pipeline finishes, the value is true. In v1 and v1alpha2, 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`
polPageToken :: Lens' ProjectsOperationsList (Maybe Text) Source #
The standard list page token.
polPageSize :: Lens' ProjectsOperationsList (Maybe Int32) Source #
The maximum number of results to return. If unspecified, defaults to 256. The maximum value is 2048.
polCallback :: Lens' ProjectsOperationsList (Maybe Text) Source #
JSONP