Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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)))))))))
- tablesPatch :: Table -> Text -> Text -> Text -> TablesPatch
- data TablesPatch
- tpPayload :: Lens' TablesPatch Table
- tpDataSetId :: Lens' TablesPatch Text
- tpProjectId :: Lens' TablesPatch Text
- tpTableId :: Lens' TablesPatch Text
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
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
Request Lenses
tpDataSetId :: Lens' TablesPatch Text Source #
Dataset ID of the table to update
tpProjectId :: Lens' TablesPatch Text Source #
Project ID of the table to update