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.Update

Contents

Description

Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource.

See: BigQuery API Reference for bigquery.tables.update.

Synopsis

REST Resource

type TablesUpdateResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (Capture "tableId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Table :> Put '[JSON] Table))))))))) Source #

A resource alias for bigquery.tables.update method which the TablesUpdate request conforms to.

Creating a Request

tablesUpdate Source #

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

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

data TablesUpdate Source #

Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource.

See: tablesUpdate smart constructor.

Instances
Eq TablesUpdate Source # 
Instance details

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

Data TablesUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: TablesUpdate -> Constr #

dataTypeOf :: TablesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TablesUpdate Source # 
Instance details

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

Generic TablesUpdate Source # 
Instance details

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

Associated Types

type Rep TablesUpdate :: Type -> Type #

GoogleRequest TablesUpdate Source # 
Instance details

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

Associated Types

type Rs TablesUpdate :: Type #

type Scopes TablesUpdate :: [Symbol] #

type Rep TablesUpdate Source # 
Instance details

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

type Rep TablesUpdate = D1 (MetaData "TablesUpdate" "Network.Google.Resource.BigQuery.Tables.Update" "gogol-bigquery-0.4.0-3wbQXUDNgiIGV0tYGk98l5" False) (C1 (MetaCons "TablesUpdate'" PrefixI True) ((S1 (MetaSel (Just "_tuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Table) :*: S1 (MetaSel (Just "_tuDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_tuProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tuTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TablesUpdate Source # 
Instance details

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

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

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

Request Lenses

tuPayload :: Lens' TablesUpdate Table Source #

Multipart request metadata.

tuDataSetId :: Lens' TablesUpdate Text Source #

Dataset ID of the table to update

tuProjectId :: Lens' TablesUpdate Text Source #

Project ID of the table to update

tuTableId :: Lens' TablesUpdate Text Source #

Table ID of the table to update