gogol-bigquery-0.3.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.Patch

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. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for bigquery.tables.patch method which the TablesPatch request conforms to.

Creating a Request

tablesPatch #

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

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

data TablesPatch #

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. This method supports patch semantics.

See: tablesPatch smart constructor.

Instances

Eq TablesPatch # 
Data TablesPatch # 

Methods

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

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

toConstr :: TablesPatch -> Constr #

dataTypeOf :: TablesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TablesPatch # 
Generic TablesPatch # 

Associated Types

type Rep TablesPatch :: * -> * #

GoogleRequest TablesPatch # 

Associated Types

type Rs TablesPatch :: * #

type Scopes TablesPatch :: [Symbol] #

type Rep TablesPatch # 
type Rep TablesPatch = D1 (MetaData "TablesPatch" "Network.Google.Resource.BigQuery.Tables.Patch" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "TablesPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Table)) (S1 (MetaSel (Just Symbol "_tpDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tpProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tpTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes TablesPatch # 
type Scopes TablesPatch = (:) Symbol "https://www.googleapis.com/auth/bigquery" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol))
type Rs TablesPatch # 

Request Lenses

tpPayload :: Lens' TablesPatch Table #

Multipart request metadata.

tpDataSetId :: Lens' TablesPatch Text #

Dataset ID of the table to update

tpProjectId :: Lens' TablesPatch Text #

Project ID of the table to update

tpTableId :: Lens' TablesPatch Text #

Table ID of the table to update