gogol-dfareporting-0.0.1: Google DCM/DFA Reporting And Trafficking SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.DFAReporting.UserRoles.Insert

Contents

Description

Inserts a new user role.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.userRoles.insert.

Synopsis

REST Resource

type UserRolesInsertResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("userRoles" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` UserRole :> Post `[JSON]` UserRole)))))) Source

A resource alias for dfareporting.userRoles.insert method which the UserRolesInsert request conforms to.

Creating a Request

userRolesInsert Source

Creates a value of UserRolesInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

uriProFileId :: Lens' UserRolesInsert Int64 Source

User profile ID associated with this request.

uriPayload :: Lens' UserRolesInsert UserRole Source

Multipart request metadata.