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

Contents

Description

Retrieves a list of projects, possibly filtered.

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

Synopsis

REST Resource

type ProjectsListResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("projects" :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" ProjectsListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" ProjectsListSortField :> (QueryParams "advertiserIds" (Textual Int64) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ProjectsListResponse)))))))))))) Source

A resource alias for dfareporting.projects.list method which the ProjectsList request conforms to.

Creating a Request

projectsList Source

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

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

Request Lenses

plSearchString :: Lens' ProjectsList (Maybe Text) Source

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

plIds :: Lens' ProjectsList [Int64] Source

Select only projects with these IDs.

plProFileId :: Lens' ProjectsList Int64 Source

User profile ID associated with this request.

plSortOrder :: Lens' ProjectsList (Maybe ProjectsListSortOrder) Source

Order of sorted results, default is ASCENDING.

plPageToken :: Lens' ProjectsList (Maybe Text) Source

Value of the nextPageToken from the previous result page.

plSortField :: Lens' ProjectsList (Maybe ProjectsListSortField) Source

Field by which to sort the list.

plAdvertiserIds :: Lens' ProjectsList [Int64] Source

Select only projects with these advertiser IDs.

plMaxResults :: Lens' ProjectsList (Maybe Int32) Source

Maximum number of results to return.