gogol-youtube-reporting-0.4.0: Google YouTube Reporting 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.YouTubeReporting.Jobs.Reports.List

Contents

Description

Lists reports created by a specific job. Returns NOT_FOUND if the job does not exist.

See: YouTube Reporting API Reference for youtubereporting.jobs.reports.list.

Synopsis

REST Resource

type JobsReportsListResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> ("reports" :> (QueryParam "createdAfter" DateTime' :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "startTimeAtOrAfter" DateTime' :> (QueryParam "startTimeBefore" DateTime' :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListReportsResponse))))))))))))))) Source #

A resource alias for youtubereporting.jobs.reports.list method which the JobsReportsList request conforms to.

Creating a Request

data JobsReportsList Source #

Lists reports created by a specific job. Returns NOT_FOUND if the job does not exist.

See: jobsReportsList smart constructor.

Instances
Eq JobsReportsList Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Reports.List

Data JobsReportsList Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Reports.List

Methods

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

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

toConstr :: JobsReportsList -> Constr #

dataTypeOf :: JobsReportsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobsReportsList Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Reports.List

Generic JobsReportsList Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Reports.List

Associated Types

type Rep JobsReportsList :: Type -> Type #

GoogleRequest JobsReportsList Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Reports.List

Associated Types

type Rs JobsReportsList :: Type #

type Scopes JobsReportsList :: [Symbol] #

type Rep JobsReportsList Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Reports.List

type Rep JobsReportsList = D1 (MetaData "JobsReportsList" "Network.Google.Resource.YouTubeReporting.Jobs.Reports.List" "gogol-youtube-reporting-0.4.0-Dr9CDcNGMDRA1BwOES1tMd" False) (C1 (MetaCons "JobsReportsList'" PrefixI True) (((S1 (MetaSel (Just "_jrlCreatedAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_jrlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_jrlJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_jrlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_jrlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_jrlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_jrlStartTimeAtOrAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_jrlStartTimeBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_jrlOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_jrlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_jrlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_jrlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes JobsReportsList Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Reports.List

type Scopes JobsReportsList = "https://www.googleapis.com/auth/yt-analytics-monetary.readonly" ': ("https://www.googleapis.com/auth/yt-analytics.readonly" ': ([] :: [Symbol]))
type Rs JobsReportsList Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Reports.List

Request Lenses

jrlCreatedAfter :: Lens' JobsReportsList (Maybe UTCTime) Source #

If set, only reports created after the specified date/time are returned.

jrlJobId :: Lens' JobsReportsList Text Source #

The ID of the job.

jrlUploadProtocol :: Lens' JobsReportsList (Maybe Text) Source #

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

jrlUploadType :: Lens' JobsReportsList (Maybe Text) Source #

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

jrlStartTimeAtOrAfter :: Lens' JobsReportsList (Maybe UTCTime) Source #

If set, only reports whose start time is greater than or equal the specified date/time are returned.

jrlStartTimeBefore :: Lens' JobsReportsList (Maybe UTCTime) Source #

If set, only reports whose start time is smaller than the specified date/time are returned.

jrlOnBehalfOfContentOwner :: Lens' JobsReportsList (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).

jrlPageToken :: Lens' JobsReportsList (Maybe Text) Source #

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

jrlPageSize :: Lens' JobsReportsList (Maybe Int32) Source #

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