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