gogol-bigquery-0.5.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))))))))) Source #

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

Creating a Request

tablesPatch Source #

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

See: tablesPatch smart constructor.

Instances
Eq TablesPatch Source # 
Instance details

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

Data TablesPatch Source # 
Instance details

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

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

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

Generic TablesPatch Source # 
Instance details

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

Associated Types

type Rep TablesPatch :: Type -> Type #

GoogleRequest TablesPatch Source # 
Instance details

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

Associated Types

type Rs TablesPatch :: Type #

type Scopes TablesPatch :: [Symbol] #

type Rep TablesPatch Source # 
Instance details

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

type Rep TablesPatch = D1 (MetaData "TablesPatch" "Network.Google.Resource.BigQuery.Tables.Patch" "gogol-bigquery-0.5.0-8a50FZYxIVDKuJhx6dYzvX" False) (C1 (MetaCons "TablesPatch'" PrefixI True) ((S1 (MetaSel (Just "_tpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Table) :*: S1 (MetaSel (Just "_tpDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_tpProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tpTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TablesPatch Source # 
Instance details

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

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

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

Request Lenses

tpPayload :: Lens' TablesPatch Table Source #

Multipart request metadata.

tpDataSetId :: Lens' TablesPatch Text Source #

Dataset ID of the table to update

tpProjectId :: Lens' TablesPatch Text Source #

Project ID of the table to update

tpTableId :: Lens' TablesPatch Text Source #

Table ID of the table to update