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 |
Network.Google.Resource.BigQuery.Tables.Update
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
- 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)))))))))
- tablesUpdate :: Table -> Text -> Text -> Text -> TablesUpdate
- data TablesUpdate
- tuPayload :: Lens' TablesUpdate Table
- tuDataSetId :: Lens' TablesUpdate Text
- tuProjectId :: Lens' TablesUpdate Text
- tuTableId :: Lens' TablesUpdate Text
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
Arguments
:: Table | |
-> Text | |
-> Text | |
-> Text | |
-> TablesUpdate |
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.
Instances
Request Lenses
tuDataSetId :: Lens' TablesUpdate Text Source #
Dataset ID of the table to update
tuProjectId :: Lens' TablesUpdate Text Source #
Project ID of the table to update