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 |
Runs a pipeline. **Note:** Before you can use this method, the Genomics Service Agent must have access to your project. This is done automatically when the Cloud Genomics API is first enabled, but if you delete this permission, or if you enabled the Cloud Genomics API before the v2alpha1 API launch, you must disable and re-enable the API to grant the Genomics Service Agent the required permissions. Authorization requires the following Google IAM permission: * `genomics.operations.create` [1]: /genomics/gsa
See: Genomics API Reference for genomics.pipelines.run
.
Synopsis
- type PipelinesRunResource = "v2alpha1" :> ("pipelines:run" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunPipelineRequest :> Post '[JSON] Operation))))))))
- pipelinesRun :: RunPipelineRequest -> PipelinesRun
- data PipelinesRun
- prXgafv :: Lens' PipelinesRun (Maybe Xgafv)
- prUploadProtocol :: Lens' PipelinesRun (Maybe Text)
- prAccessToken :: Lens' PipelinesRun (Maybe Text)
- prUploadType :: Lens' PipelinesRun (Maybe Text)
- prPayload :: Lens' PipelinesRun RunPipelineRequest
- prCallback :: Lens' PipelinesRun (Maybe Text)
REST Resource
type PipelinesRunResource = "v2alpha1" :> ("pipelines:run" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunPipelineRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for genomics.pipelines.run
method which the
PipelinesRun
request conforms to.
Creating a Request
Creates a value of PipelinesRun
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PipelinesRun Source #
Runs a pipeline. **Note:** Before you can use this method, the Genomics Service Agent must have access to your project. This is done automatically when the Cloud Genomics API is first enabled, but if you delete this permission, or if you enabled the Cloud Genomics API before the v2alpha1 API launch, you must disable and re-enable the API to grant the Genomics Service Agent the required permissions. Authorization requires the following Google IAM permission: * `genomics.operations.create` [1]: /genomics/gsa
See: pipelinesRun
smart constructor.
Instances
Request Lenses
prUploadProtocol :: Lens' PipelinesRun (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prAccessToken :: Lens' PipelinesRun (Maybe Text) Source #
OAuth access token.
prUploadType :: Lens' PipelinesRun (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prPayload :: Lens' PipelinesRun RunPipelineRequest Source #
Multipart request metadata.
prCallback :: Lens' PipelinesRun (Maybe Text) Source #
JSONP