| 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.Sites.Update
Description
Updates an existing site.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.sites.update.
- type SitesUpdateResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sites" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Site :> Put '[JSON] Site))))))
- sitesUpdate :: Int64 -> Site -> SitesUpdate
- data SitesUpdate
- suProFileId :: Lens' SitesUpdate Int64
- suPayload :: Lens' SitesUpdate Site
REST Resource
type SitesUpdateResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sites" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Site :> Put '[JSON] Site)))))) #
A resource alias for dfareporting.sites.update method which the
SitesUpdate request conforms to.
Creating a Request
Arguments
| :: Int64 | |
| -> Site | |
| -> SitesUpdate |
Creates a value of SitesUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitesUpdate #
Updates an existing site.
See: sitesUpdate smart constructor.
Instances
| Eq SitesUpdate # | |
| Data SitesUpdate # | |
| Show SitesUpdate # | |
| Generic SitesUpdate # | |
| GoogleRequest SitesUpdate # | |
| type Rep SitesUpdate # | |
| type Scopes SitesUpdate # | |
| type Rs SitesUpdate # | |
Request Lenses
suProFileId :: Lens' SitesUpdate Int64 #
User profile ID associated with this request.
suPayload :: Lens' SitesUpdate Site #
Multipart request metadata.