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 datasets within a project. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics
See: Genomics API Reference for genomics.datasets.list
.
- type DataSetsListResource = "v1" :> ("datasets" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDataSetsResponse))))))))))))
- dataSetsList :: DataSetsList
- data DataSetsList
- dslXgafv :: Lens' DataSetsList (Maybe Text)
- dslUploadProtocol :: Lens' DataSetsList (Maybe Text)
- dslPp :: Lens' DataSetsList Bool
- dslAccessToken :: Lens' DataSetsList (Maybe Text)
- dslUploadType :: Lens' DataSetsList (Maybe Text)
- dslBearerToken :: Lens' DataSetsList (Maybe Text)
- dslPageToken :: Lens' DataSetsList (Maybe Text)
- dslProjectId :: Lens' DataSetsList (Maybe Text)
- dslPageSize :: Lens' DataSetsList (Maybe Int32)
- dslCallback :: Lens' DataSetsList (Maybe Text)
REST Resource
type DataSetsListResource = "v1" :> ("datasets" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDataSetsResponse)))))))))))) Source #
A resource alias for genomics.datasets.list
method which the
DataSetsList
request conforms to.
Creating a Request
dataSetsList :: DataSetsList Source #
Creates a value of DataSetsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DataSetsList Source #
Lists datasets within a project. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics
See: dataSetsList
smart constructor.
Request Lenses
dslUploadProtocol :: Lens' DataSetsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
dslAccessToken :: Lens' DataSetsList (Maybe Text) Source #
OAuth access token.
dslUploadType :: Lens' DataSetsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
dslBearerToken :: Lens' DataSetsList (Maybe Text) Source #
OAuth bearer token.
dslPageToken :: Lens' DataSetsList (Maybe Text) Source #
The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
dslProjectId :: Lens' DataSetsList (Maybe Text) Source #
Required. The project to list datasets for.
dslPageSize :: Lens' DataSetsList (Maybe Int32) Source #
The maximum number of results to return in a single page. If unspecified, defaults to 50. The maximum value is 1024.
dslCallback :: Lens' DataSetsList (Maybe Text) Source #
JSONP