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 |
Retrieves table data from a specified set of rows. Requires the READER dataset role.
See: BigQuery API Reference for bigquery.tabledata.list
.
Synopsis
- type TableDataListResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (Capture "tableId" Text :> ("data" :> (QueryParam "pageToken" Text :> (QueryParam "selectedFields" Text :> (QueryParam "startIndex" (Textual Word64) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] TableDataList)))))))))))))
- tableDataList' :: Text -> Text -> Text -> TableDataList'
- data TableDataList'
- tDataSetId :: Lens' TableDataList' Text
- tPageToken :: Lens' TableDataList' (Maybe Text)
- tProjectId :: Lens' TableDataList' Text
- tSelectedFields :: Lens' TableDataList' (Maybe Text)
- tTableId :: Lens' TableDataList' Text
- tStartIndex :: Lens' TableDataList' (Maybe Word64)
- tMaxResults :: Lens' TableDataList' (Maybe Word32)
REST Resource
type TableDataListResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (Capture "tableId" Text :> ("data" :> (QueryParam "pageToken" Text :> (QueryParam "selectedFields" Text :> (QueryParam "startIndex" (Textual Word64) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] TableDataList))))))))))))) Source #
A resource alias for bigquery.tabledata.list
method which the
TableDataList'
request conforms to.
Creating a Request
Creates a value of TableDataList'
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TableDataList' Source #
Retrieves table data from a specified set of rows. Requires the READER dataset role.
See: tableDataList'
smart constructor.
Instances
Request Lenses
tDataSetId :: Lens' TableDataList' Text Source #
Dataset ID of the table to read
tPageToken :: Lens' TableDataList' (Maybe Text) Source #
A token used for paging results. Providing this token instead of the startIndex parameter can help you retrieve stable results when an underlying table is changing.
tProjectId :: Lens' TableDataList' Text Source #
Project ID of the table to read
tSelectedFields :: Lens' TableDataList' (Maybe Text) Source #
List of fields to return (comma-separated). If unspecified, all fields are returned
tStartIndex :: Lens' TableDataList' (Maybe Word64) Source #
Zero-based index of the starting row to read
tMaxResults :: Lens' TableDataList' (Maybe Word32) Source #
Maximum number of results to return