gogol-youtube-reporting-0.0.1: Google YouTube Reporting 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.YouTubeReporting.ReportTypes.List

Contents

Description

Lists report types.

See: YouTube Reporting API Reference for youtubereporting.reportTypes.list.

Synopsis

REST Resource

type ReportTypesListResource = "v1" :> ("reportTypes" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` ListReportTypesResponse)))))))))))) Source

A resource alias for youtubereporting.reportTypes.list method which the ReportTypesList request conforms to.

Creating a Request

reportTypesList :: ReportTypesList Source

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

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

Request Lenses

rtlUploadProtocol :: Lens' ReportTypesList (Maybe Text) Source

Upload protocol for media (e.g. "raw", "multipart").

rtlPp :: Lens' ReportTypesList Bool Source

Pretty-print response.

rtlUploadType :: Lens' ReportTypesList (Maybe Text) Source

Legacy upload protocol for media (e.g. "media", "multipart").

rtlOnBehalfOfContentOwner :: Lens' ReportTypesList (Maybe Text) Source

The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).

rtlPageToken :: Lens' ReportTypesList (Maybe Text) Source

A token identifying a page of results the server should return. Typically, this is the value of ListReportTypesResponse.next_page_token returned in response to the previous call to the `ListReportTypes` method.

rtlPageSize :: Lens' ReportTypesList (Maybe Int32) Source

Requested page size. Server may return fewer report types than requested. If unspecified, server will pick an appropriate default.