gogol-bigquery-0.4.0: Google BigQuery SDK.

Copyright(c) 2015-2016 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.Tables.Delete

Contents

Description

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

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

tablesDelete Source #

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
Eq TablesDelete Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Tables.Delete

Data TablesDelete Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Tables.Delete

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TablesDelete -> c TablesDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TablesDelete #

toConstr :: TablesDelete -> Constr #

dataTypeOf :: TablesDelete -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TablesDelete) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TablesDelete) #

gmapT :: (forall b. Data b => b -> b) -> TablesDelete -> TablesDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TablesDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TablesDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> TablesDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TablesDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TablesDelete -> m TablesDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TablesDelete -> m TablesDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TablesDelete -> m TablesDelete #

Show TablesDelete Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Tables.Delete

Generic TablesDelete Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Tables.Delete

Associated Types

type Rep TablesDelete :: Type -> Type #

GoogleRequest TablesDelete Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Tables.Delete

Associated Types

type Rs TablesDelete :: Type #

type Scopes TablesDelete :: [Symbol] #

type Rep TablesDelete Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Tables.Delete

type Rep TablesDelete = D1 (MetaData "TablesDelete" "Network.Google.Resource.BigQuery.Tables.Delete" "gogol-bigquery-0.4.0-3wbQXUDNgiIGV0tYGk98l5" False) (C1 (MetaCons "TablesDelete'" PrefixI True) (S1 (MetaSel (Just "_tdDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_tdProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tdTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TablesDelete Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Tables.Delete

type Scopes TablesDelete = "https://www.googleapis.com/auth/bigquery" ': ("https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol]))
type Rs TablesDelete Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Tables.Delete

type Rs TablesDelete = ()

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

tdTableId :: Lens' TablesDelete Text Source #

Table ID of the table to delete