| Copyright | (c) 2015 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.Genomics.DataSets.Get
Description
Gets a dataset by ID.
See: API Reference for genomics.datasets.get.
- type DataSetsGetResource = "v1" :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` DataSet))))))))))
- dataSetsGet :: Text -> DataSetsGet
- data DataSetsGet
- dsgXgafv :: Lens' DataSetsGet (Maybe Text)
- dsgUploadProtocol :: Lens' DataSetsGet (Maybe Text)
- dsgPp :: Lens' DataSetsGet Bool
- dsgAccessToken :: Lens' DataSetsGet (Maybe Text)
- dsgUploadType :: Lens' DataSetsGet (Maybe Text)
- dsgBearerToken :: Lens' DataSetsGet (Maybe Text)
- dsgDataSetId :: Lens' DataSetsGet Text
- dsgCallback :: Lens' DataSetsGet (Maybe Text)
REST Resource
type DataSetsGetResource = "v1" :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` DataSet)))))))))) Source
A resource alias for genomics.datasets.get method which the
DataSetsGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> DataSetsGet |
Creates a value of DataSetsGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Request Lenses
dsgUploadProtocol :: Lens' DataSetsGet (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
dsgPp :: Lens' DataSetsGet Bool Source
Pretty-print response.
dsgAccessToken :: Lens' DataSetsGet (Maybe Text) Source
OAuth access token.
dsgUploadType :: Lens' DataSetsGet (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
dsgBearerToken :: Lens' DataSetsGet (Maybe Text) Source
OAuth bearer token.
dsgDataSetId :: Lens' DataSetsGet Text Source
The ID of the dataset.
dsgCallback :: Lens' DataSetsGet (Maybe Text) Source
JSONP