gogol-dfareporting-0.1.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.List

Contents

Description

Retrieves a list of user roles, possibly filtered.

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

Synopsis

REST Resource

type UserRolesListResource = "dfareporting" :> ("v2.5" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("userRoles" :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" UserRolesListSortOrder :> (QueryParam "accountUserRoleOnly" Bool :> (QueryParam "pageToken" Text :> (QueryParam "sortField" UserRolesListSortField :> (QueryParam "subaccountId" (Textual Int64) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] UserRolesListResponse))))))))))))) Source #

A resource alias for dfareporting.userRoles.list method which the UserRolesList request conforms to.

Creating a Request

userRolesList Source #

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

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

data UserRolesList Source #

Retrieves a list of user roles, possibly filtered.

See: userRolesList smart constructor.

Instances

Eq UserRolesList Source # 
Data UserRolesList Source # 

Methods

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

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

toConstr :: UserRolesList -> Constr #

dataTypeOf :: UserRolesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserRolesList Source # 
Generic UserRolesList Source # 

Associated Types

type Rep UserRolesList :: * -> * #

GoogleRequest UserRolesList Source # 

Associated Types

type Rs UserRolesList :: * #

type Scopes UserRolesList :: [Symbol] #

type Rep UserRolesList Source # 
type Scopes UserRolesList Source # 
type Scopes UserRolesList = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs UserRolesList Source # 

Request Lenses

urlSearchString :: Lens' UserRolesList (Maybe Text) Source #

Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "userrole*2015" will return objects with names like "userrole June 2015", "userrole April 2015", or simply "userrole 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "userrole" will match objects with name "my userrole", "userrole 2015", or simply "userrole".

urlIds :: Lens' UserRolesList [Int64] Source #

Select only user roles with the specified IDs.

urlProFileId :: Lens' UserRolesList Int64 Source #

User profile ID associated with this request.

urlSortOrder :: Lens' UserRolesList (Maybe UserRolesListSortOrder) Source #

Order of sorted results, default is ASCENDING.

urlAccountUserRoleOnly :: Lens' UserRolesList (Maybe Bool) Source #

Select only account level user roles not associated with any specific subaccount.

urlPageToken :: Lens' UserRolesList (Maybe Text) Source #

Value of the nextPageToken from the previous result page.

urlSortField :: Lens' UserRolesList (Maybe UserRolesListSortField) Source #

Field by which to sort the list.

urlSubAccountId :: Lens' UserRolesList (Maybe Int64) Source #

Select only user roles that belong to this subaccount.

urlMaxResults :: Lens' UserRolesList (Maybe Int32) Source #

Maximum number of results to return.