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 all datasets in the specified project to which you have been granted the READER dataset role.
See: BigQuery API Reference for bigquery.datasets.list
.
- type DataSetsListResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (QueryParam "all" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSetList))))))))
- dataSetsList :: Text -> DataSetsList
- data DataSetsList
- dslAll :: Lens' DataSetsList (Maybe Bool)
- dslPageToken :: Lens' DataSetsList (Maybe Text)
- dslProjectId :: Lens' DataSetsList Text
- dslMaxResults :: Lens' DataSetsList (Maybe Word32)
REST Resource
type DataSetsListResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (QueryParam "all" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSetList)))))))) Source #
A resource alias for bigquery.datasets.list
method which the
DataSetsList
request conforms to.
Creating a Request
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 all datasets in the specified project to which you have been granted the READER dataset role.
See: dataSetsList
smart constructor.
Request Lenses
dslAll :: Lens' DataSetsList (Maybe Bool) Source #
Whether to list all datasets, including hidden ones
dslPageToken :: Lens' DataSetsList (Maybe Text) Source #
Page token, returned by a previous call, to request the next page of results
dslProjectId :: Lens' DataSetsList Text Source #
Project ID of the datasets to be listed
dslMaxResults :: Lens' DataSetsList (Maybe Word32) Source #
The maximum number of results to return