| 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.BigQuery.DataSets.List
Description
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.
Synopsis
- type DataSetsListResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (QueryParam "all" Bool :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSetList)))))))))
- dataSetsList :: Text -> DataSetsList
- data DataSetsList
- dslAll :: Lens' DataSetsList (Maybe Bool)
- dslFilter :: Lens' DataSetsList (Maybe Text)
- 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 "filter" Text :> (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
Arguments
| :: Text | |
| -> DataSetsList |
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.
Instances
Request Lenses
dslAll :: Lens' DataSetsList (Maybe Bool) Source #
Whether to list all datasets, including hidden ones
dslFilter :: Lens' DataSetsList (Maybe Text) Source #
An expression for filtering the results of the request by label. The syntax is "labels.[:]". Multiple filters can be ANDed together by connecting with a space. Example: "labels.department:receiving labels.active". See Filtering datasets using labels for details.
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