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

Contents

Description

Creates a new, empty table in the dataset.

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

Synopsis

REST Resource

type TablesInsertResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Table :> Post `[JSON]` Table)))))))) Source

A resource alias for bigquery.tables.insert method which the TablesInsert request conforms to.

Creating a Request

tablesInsert Source

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

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

Request Lenses

tiPayload :: Lens' TablesInsert Table Source

Multipart request metadata.

tiDataSetId :: Lens' TablesInsert Text Source

Dataset ID of the new table

tiProjectId :: Lens' TablesInsert Text Source

Project ID of the new table