| 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.Patch
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.
- 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))))))))) #
A resource alias for bigquery.tables.patch method which the
TablesPatch request conforms to.
Creating a Request
Arguments
| :: Table | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> TablesPatch |
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 #
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
| Eq TablesPatch # | |
| Data TablesPatch # | |
| Show TablesPatch # | |
| Generic TablesPatch # | |
| GoogleRequest TablesPatch # | |
| type Rep TablesPatch # | |
| type Scopes TablesPatch # | |
| type Rs TablesPatch # | |
Request Lenses
tpPayload :: Lens' TablesPatch Table #
Multipart request metadata.
tpDataSetId :: Lens' TablesPatch Text #
Dataset ID of the table to update
tpProjectId :: Lens' TablesPatch Text #
Project ID of the table to update
tpTableId :: Lens' TablesPatch Text #
Table ID of the table to update