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

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