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 |
Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.
See: BigQuery API Reference for bigquery.tables.delete
.
Synopsis
- type TablesDeleteResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (Capture "tableId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))
- tablesDelete :: Text -> Text -> Text -> TablesDelete
- data TablesDelete
- tdDataSetId :: Lens' TablesDelete Text
- tdProjectId :: Lens' TablesDelete Text
- tdTableId :: Lens' TablesDelete Text
REST Resource
type TablesDeleteResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (Capture "tableId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))) Source #
A resource alias for bigquery.tables.delete
method which the
TablesDelete
request conforms to.
Creating a Request
Creates a value of TablesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TablesDelete Source #
Deletes the table specified by tableId from the dataset. If the table contains data, all the data will be deleted.
See: tablesDelete
smart constructor.
Instances
Request Lenses
tdDataSetId :: Lens' TablesDelete Text Source #
Dataset ID of the table to delete
tdProjectId :: Lens' TablesDelete Text Source #
Project ID of the table to delete