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

Copyright(c) 2015-2016 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.Patch

Contents

Description

Updates an existing user role. This method supports patch semantics.

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

Synopsis

REST Resource

type UserRolesPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("userRoles" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UserRole :> Patch '[JSON] UserRole))))))) Source #

A resource alias for dfareporting.userRoles.patch method which the UserRolesPatch request conforms to.

Creating a Request

userRolesPatch Source #

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

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

data UserRolesPatch Source #

Updates an existing user role. This method supports patch semantics.

See: userRolesPatch smart constructor.

Instances
Eq UserRolesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Patch

Data UserRolesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Patch

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserRolesPatch -> c UserRolesPatch #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserRolesPatch #

toConstr :: UserRolesPatch -> Constr #

dataTypeOf :: UserRolesPatch -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserRolesPatch) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserRolesPatch) #

gmapT :: (forall b. Data b => b -> b) -> UserRolesPatch -> UserRolesPatch #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserRolesPatch -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserRolesPatch -> r #

gmapQ :: (forall d. Data d => d -> u) -> UserRolesPatch -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserRolesPatch -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserRolesPatch -> m UserRolesPatch #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserRolesPatch -> m UserRolesPatch #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserRolesPatch -> m UserRolesPatch #

Show UserRolesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Patch

Generic UserRolesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Patch

Associated Types

type Rep UserRolesPatch :: Type -> Type #

GoogleRequest UserRolesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Patch

Associated Types

type Rs UserRolesPatch :: Type #

type Scopes UserRolesPatch :: [Symbol] #

type Rep UserRolesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Patch

type Rep UserRolesPatch = D1 (MetaData "UserRolesPatch" "Network.Google.Resource.DFAReporting.UserRoles.Patch" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "UserRolesPatch'" PrefixI True) (S1 (MetaSel (Just "_urpProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_urpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UserRole) :*: S1 (MetaSel (Just "_urpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes UserRolesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Patch

type Scopes UserRolesPatch = "https://www.googleapis.com/auth/dfatrafficking" ': ([] :: [Symbol])
type Rs UserRolesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.UserRoles.Patch

Request Lenses

urpProFileId :: Lens' UserRolesPatch Int64 Source #

User profile ID associated with this request.

urpPayload :: Lens' UserRolesPatch UserRole Source #

Multipart request metadata.