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

Contents

Description

Gets a list of subaccounts, possibly filtered. This method supports paging.

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

Synopsis

REST Resource

type SubAccountsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("subaccounts" :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" SubAccountsListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" SubAccountsListSortField :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SubAccountsListResponse))))))))))) Source #

A resource alias for dfareporting.subaccounts.list method which the SubAccountsList request conforms to.

Creating a Request

subAccountsList Source #

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

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

data SubAccountsList Source #

Gets a list of subaccounts, possibly filtered. This method supports paging.

See: subAccountsList smart constructor.

Instances
Eq SubAccountsList Source # 
Instance details

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

Data SubAccountsList Source # 
Instance details

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

Methods

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

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

toConstr :: SubAccountsList -> Constr #

dataTypeOf :: SubAccountsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubAccountsList Source # 
Instance details

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

Generic SubAccountsList Source # 
Instance details

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

Associated Types

type Rep SubAccountsList :: Type -> Type #

GoogleRequest SubAccountsList Source # 
Instance details

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

Associated Types

type Rs SubAccountsList :: Type #

type Scopes SubAccountsList :: [Symbol] #

type Rep SubAccountsList Source # 
Instance details

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

type Scopes SubAccountsList Source # 
Instance details

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

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

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

Request Lenses

salSearchString :: Lens' SubAccountsList (Maybe Text) Source #

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

salIds :: Lens' SubAccountsList [Int64] Source #

Select only subaccounts with these IDs.

salProFileId :: Lens' SubAccountsList Int64 Source #

User profile ID associated with this request.

salPageToken :: Lens' SubAccountsList (Maybe Text) Source #

Value of the nextPageToken from the previous result page.

salMaxResults :: Lens' SubAccountsList Int32 Source #

Maximum number of results to return.