| 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.Genomics.DataSets.Get
Description
Gets a dataset by ID. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics
See: Genomics API Reference for genomics.datasets.get.
- type DataSetsGetResource = "v1" :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "$.xgafv" Xgafv :> (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 Xgafv)
- 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" Xgafv :> (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:
data DataSetsGet Source #
Gets a dataset by ID. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics
See: dataSetsGet smart constructor.
Instances
Request Lenses
dsgUploadProtocol :: Lens' DataSetsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
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