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.Accounts.List

Contents

Description

Retrieves the list of accounts, possibly filtered. This method supports paging.

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

Synopsis

REST Resource

type AccountsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accounts" :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" AccountsListSortOrder :> (QueryParam "active" Bool :> (QueryParam "pageToken" Text :> (QueryParam "sortField" AccountsListSortField :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountsListResponse)))))))))))) Source #

A resource alias for dfareporting.accounts.list method which the AccountsList request conforms to.

Creating a Request

accountsList Source #

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

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

data AccountsList Source #

Retrieves the list of accounts, possibly filtered. This method supports paging.

See: accountsList smart constructor.

Instances
Eq AccountsList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.List

Data AccountsList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.List

Methods

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

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

toConstr :: AccountsList -> Constr #

dataTypeOf :: AccountsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.List

Generic AccountsList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.List

Associated Types

type Rep AccountsList :: Type -> Type #

GoogleRequest AccountsList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.List

Associated Types

type Rs AccountsList :: Type #

type Scopes AccountsList :: [Symbol] #

type Rep AccountsList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.List

type Scopes AccountsList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.List

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

Defined in Network.Google.Resource.DFAReporting.Accounts.List

Request Lenses

accSearchString :: Lens' AccountsList (Maybe Text) Source #

Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "account*2015" will return objects with names like "account June 2015", "account April 2015", or simply "account 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 "account" will match objects with name "my account", "account 2015", or simply "account".

accIds :: Lens' AccountsList [Int64] Source #

Select only accounts with these IDs.

accProFileId :: Lens' AccountsList Int64 Source #

User profile ID associated with this request.

accActive :: Lens' AccountsList (Maybe Bool) Source #

Select only active accounts. Don't set this field to select both active and non-active accounts.

accPageToken :: Lens' AccountsList (Maybe Text) Source #

Value of the nextPageToken from the previous result page.

accSortField :: Lens' AccountsList AccountsListSortField Source #

Field by which to sort the list.

accMaxResults :: Lens' AccountsList Int32 Source #

Maximum number of results to return.