gogol-bigquery-0.0.1: Google BigQuery SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.BigQuery.DataSets.Delete

Contents

Description

Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name.

See: BigQuery API Reference for bigquery.datasets.delete.

Synopsis

REST Resource

type DataSetsDeleteResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "deleteContents" Bool :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))))) Source

A resource alias for bigquery.datasets.delete method which the DataSetsDelete request conforms to.

Creating a Request

dataSetsDelete Source

Creates a value of DataSetsDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DataSetsDelete Source

Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name.

See: dataSetsDelete smart constructor.

Request Lenses

dsdDataSetId :: Lens' DataSetsDelete Text Source

Dataset ID of dataset being deleted

dsdProjectId :: Lens' DataSetsDelete Text Source

Project ID of the dataset being deleted

dsdDeleteContents :: Lens' DataSetsDelete (Maybe Bool) Source

If True, delete all the tables in the dataset. If False and the dataset contains tables, the request will fail. Default is False