| 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.DFAReporting.PlacementStrategies.Patch
Description
Updates an existing placement strategy. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.placementStrategies.patch.
Synopsis
- type PlacementStrategiesPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placementStrategies" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlacementStrategy :> Patch '[JSON] PlacementStrategy)))))))
- placementStrategiesPatch :: Int64 -> PlacementStrategy -> Int64 -> PlacementStrategiesPatch
- data PlacementStrategiesPatch
- pspProFileId :: Lens' PlacementStrategiesPatch Int64
- pspPayload :: Lens' PlacementStrategiesPatch PlacementStrategy
- pspId :: Lens' PlacementStrategiesPatch Int64
REST Resource
type PlacementStrategiesPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placementStrategies" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlacementStrategy :> Patch '[JSON] PlacementStrategy))))))) Source #
A resource alias for dfareporting.placementStrategies.patch method which the
PlacementStrategiesPatch request conforms to.
Creating a Request
placementStrategiesPatch Source #
Arguments
| :: Int64 | |
| -> PlacementStrategy | |
| -> Int64 | |
| -> PlacementStrategiesPatch |
Creates a value of PlacementStrategiesPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PlacementStrategiesPatch Source #
Updates an existing placement strategy. This method supports patch semantics.
See: placementStrategiesPatch smart constructor.
Instances
Request Lenses
pspProFileId :: Lens' PlacementStrategiesPatch Int64 Source #
User profile ID associated with this request.
pspPayload :: Lens' PlacementStrategiesPatch PlacementStrategy Source #
Multipart request metadata.