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 tables in the specified dataset. Requires the READER dataset role.
See: BigQuery API Reference for bigquery.tables.list
.
Synopsis
- type TablesListResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] TableList)))))))))
- tablesList :: Text -> Text -> TablesList
- data TablesList
- tlDataSetId :: Lens' TablesList Text
- tlPageToken :: Lens' TablesList (Maybe Text)
- tlProjectId :: Lens' TablesList Text
- tlMaxResults :: Lens' TablesList (Maybe Word32)
REST Resource
type TablesListResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] TableList))))))))) Source #
A resource alias for bigquery.tables.list
method which the
TablesList
request conforms to.
Creating a Request
Creates a value of TablesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TablesList Source #
Lists all tables in the specified dataset. Requires the READER dataset role.
See: tablesList
smart constructor.
Instances
Request Lenses
tlDataSetId :: Lens' TablesList Text Source #
Dataset ID of the tables to list
tlPageToken :: Lens' TablesList (Maybe Text) Source #
Page token, returned by a previous call, to request the next page of results
tlProjectId :: Lens' TablesList Text Source #
Project ID of the tables to list
tlMaxResults :: Lens' TablesList (Maybe Word32) Source #
Maximum number of results to return