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

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