Copyright | (c) 2015 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 a list of columns.
See: Fusion Tables API Reference for fusiontables.column.list
.
- type ColumnListResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("columns" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ColumnList)))))))
- columnList' :: Text -> ColumnList'
- data ColumnList'
- clPageToken :: Lens' ColumnList' (Maybe Text)
- clTableId :: Lens' ColumnList' Text
- clMaxResults :: Lens' ColumnList' (Maybe Word32)
REST Resource
type ColumnListResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("columns" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ColumnList))))))) Source
A resource alias for fusiontables.column.list
method which the
ColumnList'
request conforms to.
Creating a Request
:: Text | |
-> ColumnList' |
Creates a value of ColumnList'
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ColumnList' Source
Retrieves a list of columns.
See: columnList'
smart constructor.
Request Lenses
clPageToken :: Lens' ColumnList' (Maybe Text) Source
Continuation token specifying which result page to return.
clTableId :: Lens' ColumnList' Text Source
Table whose columns are being listed.
clMaxResults :: Lens' ColumnList' (Maybe Word32) Source
Maximum number of columns to return. Default is 5.