gogol-youtube-reporting-0.3.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.YouTubeReporting

Contents

Description

Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.

See: YouTube Reporting API Reference

Synopsis

Service Configuration

youTubeReportingService :: ServiceConfig #

Default request referring to version v1 of the YouTube Reporting API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

youTubeAnalyticsReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/yt-analytics.readonly"] #

View YouTube Analytics reports for your YouTube content

youTubeAnalyticsMonetaryReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/yt-analytics-monetary.readonly"] #

View monetary and non-monetary YouTube Analytics reports for your YouTube content

API Declaration

type YouTubeReportingAPI = JobsReportsListResource :<|> (JobsReportsGetResource :<|> (JobsListResource :<|> (JobsGetResource :<|> (JobsCreateResource :<|> (JobsDeleteResource :<|> (MediaDownloadResource :<|> ReportTypesListResource)))))) #

Represents the entirety of the methods and resources available for the YouTube Reporting API service.

Resources

youtubereporting.jobs.create

youtubereporting.jobs.delete

youtubereporting.jobs.get

youtubereporting.jobs.list

youtubereporting.jobs.reports.get

youtubereporting.jobs.reports.list

youtubereporting.media.download

youtubereporting.reportTypes.list

Types

ListReportsResponse

data ListReportsResponse #

Response message for ReportingService.ListReports.

See: listReportsResponse smart constructor.

Instances

Eq ListReportsResponse # 
Data ListReportsResponse # 

Methods

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

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

toConstr :: ListReportsResponse -> Constr #

dataTypeOf :: ListReportsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListReportsResponse # 
Generic ListReportsResponse # 
ToJSON ListReportsResponse # 
FromJSON ListReportsResponse # 
type Rep ListReportsResponse # 
type Rep ListReportsResponse = D1 (MetaData "ListReportsResponse" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.3.0-2qGqcrmLZyW6gGtuIHFpIW" False) (C1 (MetaCons "ListReportsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrrReports") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Report])))))

listReportsResponse :: ListReportsResponse #

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

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

lrrNextPageToken :: Lens' ListReportsResponse (Maybe Text) #

A token to retrieve next page of results. Pass this value in the ListReportsRequest.page_token field in the subsequent call to `ListReports` method to retrieve the next page of results.

lrrReports :: Lens' ListReportsResponse [Report] #

The list of report types.

Empty

data Empty #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

See: empty smart constructor.

Instances

Eq Empty # 

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty # 

Methods

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

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

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Empty # 

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty # 

Associated Types

type Rep Empty :: * -> * #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty # 
FromJSON Empty # 
type Rep Empty # 
type Rep Empty = D1 (MetaData "Empty" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.3.0-2qGqcrmLZyW6gGtuIHFpIW" False) (C1 (MetaCons "Empty'" PrefixI False) U1)

empty :: Empty #

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

Report

data Report #

A report's metadata including the URL from which the report itself can be downloaded.

See: report smart constructor.

Instances

Eq Report # 

Methods

(==) :: Report -> Report -> Bool #

(/=) :: Report -> Report -> Bool #

Data Report # 

Methods

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

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

toConstr :: Report -> Constr #

dataTypeOf :: Report -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Report # 
Generic Report # 

Associated Types

type Rep Report :: * -> * #

Methods

from :: Report -> Rep Report x #

to :: Rep Report x -> Report #

ToJSON Report # 
FromJSON Report # 
type Rep Report # 

report :: Report #

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

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

rJobId :: Lens' Report (Maybe Text) #

The ID of the job that created this report.

rStartTime :: Lens' Report (Maybe UTCTime) #

The start of the time period that the report instance covers. The value is inclusive.

rDownloadURL :: Lens' Report (Maybe Text) #

The URL from which the report can be downloaded (max. 1000 characters).

rEndTime :: Lens' Report (Maybe UTCTime) #

The end of the time period that the report instance covers. The value is exclusive.

rId :: Lens' Report (Maybe Text) #

The server-generated ID of the report.

rCreateTime :: Lens' Report (Maybe UTCTime) #

The date/time when this report was created.

rJobExpireTime :: Lens' Report (Maybe UTCTime) #

The date/time when the job this report belongs to will expire/expired.

ListReportTypesResponse

data ListReportTypesResponse #

Response message for ReportingService.ListReportTypes.

See: listReportTypesResponse smart constructor.

Instances

Eq ListReportTypesResponse # 
Data ListReportTypesResponse # 

Methods

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

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

toConstr :: ListReportTypesResponse -> Constr #

dataTypeOf :: ListReportTypesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListReportTypesResponse # 
Generic ListReportTypesResponse # 
ToJSON ListReportTypesResponse # 
FromJSON ListReportTypesResponse # 
type Rep ListReportTypesResponse # 
type Rep ListReportTypesResponse = D1 (MetaData "ListReportTypesResponse" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.3.0-2qGqcrmLZyW6gGtuIHFpIW" False) (C1 (MetaCons "ListReportTypesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrtrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrtrReportTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ReportType])))))

listReportTypesResponse :: ListReportTypesResponse #

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

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

lrtrNextPageToken :: Lens' ListReportTypesResponse (Maybe Text) #

A token to retrieve next page of results. Pass this value in the ListReportTypesRequest.page_token field in the subsequent call to `ListReportTypes` method to retrieve the next page of results.

Media

data Media #

Media resource.

See: media smart constructor.

Instances

Eq Media # 

Methods

(==) :: Media -> Media -> Bool #

(/=) :: Media -> Media -> Bool #

Data Media # 

Methods

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

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

toConstr :: Media -> Constr #

dataTypeOf :: Media -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Media # 

Methods

showsPrec :: Int -> Media -> ShowS #

show :: Media -> String #

showList :: [Media] -> ShowS #

Generic Media # 

Associated Types

type Rep Media :: * -> * #

Methods

from :: Media -> Rep Media x #

to :: Rep Media x -> Media #

ToJSON Media # 
FromJSON Media # 
type Rep Media # 
type Rep Media = D1 (MetaData "Media" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.3.0-2qGqcrmLZyW6gGtuIHFpIW" True) (C1 (MetaCons "Media'" PrefixI True) (S1 (MetaSel (Just Symbol "_mResourceName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

media :: Media #

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

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

mResourceName :: Lens' Media (Maybe Text) #

Name of the media resource.

Job

data Job #

A job creating reports of a specific type.

See: job smart constructor.

Instances

Eq Job # 

Methods

(==) :: Job -> Job -> Bool #

(/=) :: Job -> Job -> Bool #

Data Job # 

Methods

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

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

toConstr :: Job -> Constr #

dataTypeOf :: Job -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Job # 

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

Generic Job # 

Associated Types

type Rep Job :: * -> * #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

ToJSON Job # 
FromJSON Job # 
type Rep Job # 

job :: Job #

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

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

jName :: Lens' Job (Maybe Text) #

The name of the job (max. 100 characters).

jId :: Lens' Job (Maybe Text) #

The server-generated ID of the job (max. 40 characters).

jSystemManaged :: Lens' Job (Maybe Bool) #

True if this a system-managed job that cannot be modified by the user; otherwise false.

jReportTypeId :: Lens' Job (Maybe Text) #

The type of reports this job creates. Corresponds to the ID of a ReportType.

jExpireTime :: Lens' Job (Maybe UTCTime) #

The date/time when this job will expire/expired. After a job expired, no new reports are generated.

jCreateTime :: Lens' Job (Maybe UTCTime) #

The creation date/time of the job.

Xgafv

data Xgafv #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances

Enum Xgafv # 
Eq Xgafv # 

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv # 

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv # 

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv # 
Show Xgafv # 

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv # 

Associated Types

type Rep Xgafv :: * -> * #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv # 

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv # 
FromJSON Xgafv # 
FromHttpApiData Xgafv # 
ToHttpApiData Xgafv # 
type Rep Xgafv # 
type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.YouTubeReporting.Types.Sum" "gogol-youtube-reporting-0.3.0-2qGqcrmLZyW6gGtuIHFpIW" False) ((:+:) (C1 (MetaCons "X1" PrefixI False) U1) (C1 (MetaCons "X2" PrefixI False) U1))

ListJobsResponse

data ListJobsResponse #

Response message for ReportingService.ListJobs.

See: listJobsResponse smart constructor.

Instances

Eq ListJobsResponse # 
Data ListJobsResponse # 

Methods

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

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

toConstr :: ListJobsResponse -> Constr #

dataTypeOf :: ListJobsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListJobsResponse # 
Generic ListJobsResponse # 
ToJSON ListJobsResponse # 
FromJSON ListJobsResponse # 
type Rep ListJobsResponse # 
type Rep ListJobsResponse = D1 (MetaData "ListJobsResponse" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.3.0-2qGqcrmLZyW6gGtuIHFpIW" False) (C1 (MetaCons "ListJobsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ljrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ljrJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Job])))))

listJobsResponse :: ListJobsResponse #

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

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

ljrNextPageToken :: Lens' ListJobsResponse (Maybe Text) #

A token to retrieve next page of results. Pass this value in the ListJobsRequest.page_token field in the subsequent call to `ListJobs` method to retrieve the next page of results.

ljrJobs :: Lens' ListJobsResponse [Job] #

The list of jobs.

ReportType

data ReportType #

A report type.

See: reportType smart constructor.

Instances

Eq ReportType # 
Data ReportType # 

Methods

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

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

toConstr :: ReportType -> Constr #

dataTypeOf :: ReportType -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReportType # 
Generic ReportType # 

Associated Types

type Rep ReportType :: * -> * #

ToJSON ReportType # 
FromJSON ReportType # 
type Rep ReportType # 
type Rep ReportType = D1 (MetaData "ReportType" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.3.0-2qGqcrmLZyW6gGtuIHFpIW" False) (C1 (MetaCons "ReportType'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rtName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rtId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_rtDeprecateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) (S1 (MetaSel (Just Symbol "_rtSystemManaged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))

reportType :: ReportType #

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

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

rtName :: Lens' ReportType (Maybe Text) #

The name of the report type (max. 100 characters).

rtId :: Lens' ReportType (Maybe Text) #

The ID of the report type (max. 100 characters).

rtDeprecateTime :: Lens' ReportType (Maybe UTCTime) #

The date/time when this report type was/will be deprecated.

rtSystemManaged :: Lens' ReportType (Maybe Bool) #

True if this a system-managed report type; otherwise false. Reporting jobs for system-managed report types are created automatically and can thus not be used in the `CreateJob` method.