gogol-youtube-reporting-0.1.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 Source #

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"] Source #

View YouTube Analytics reports for your YouTube content

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

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

API Declaration

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 Source #

Response message for ReportingService.ListReports.

See: listReportsResponse smart constructor.

Instances

Eq ListReportsResponse Source # 
Data ListReportsResponse Source # 

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 Source # 
Generic ListReportsResponse Source # 
ToJSON ListReportsResponse Source # 
FromJSON ListReportsResponse Source # 
type Rep ListReportsResponse Source # 
type Rep ListReportsResponse = D1 (MetaData "ListReportsResponse" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.1.0-4Pz5lxQnyFsFL1lbNAgyXa" 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 Source #

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) Source #

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] Source #

The list of report types.

Empty

data Empty Source #

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 Source # 

Methods

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

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

Data Empty Source # 

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 Source # 

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 

Associated Types

type Rep Empty :: * -> * #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

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

empty :: Empty Source #

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

Report

data Report Source #

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

See: report smart constructor.

Instances

Eq Report Source # 

Methods

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

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

Data Report Source # 

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 Source # 
Generic Report Source # 

Associated Types

type Rep Report :: * -> * #

Methods

from :: Report -> Rep Report x #

to :: Rep Report x -> Report #

ToJSON Report Source # 
FromJSON Report Source # 
type Rep Report Source # 

report :: Report Source #

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) Source #

The ID of the job that created this report.

rStartTime :: Lens' Report (Maybe Text) Source #

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

rDownloadURL :: Lens' Report (Maybe Text) Source #

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

rEndTime :: Lens' Report (Maybe Text) Source #

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

rId :: Lens' Report (Maybe Text) Source #

The server-generated ID of the report.

rCreateTime :: Lens' Report (Maybe Text) Source #

The date/time when this report was created.

rJobExpireTime :: Lens' Report (Maybe Text) Source #

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

ListReportTypesResponse

data ListReportTypesResponse Source #

Response message for ReportingService.ListReportTypes.

See: listReportTypesResponse smart constructor.

Instances

Eq ListReportTypesResponse Source # 
Data ListReportTypesResponse Source # 

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 Source # 
Generic ListReportTypesResponse Source # 
ToJSON ListReportTypesResponse Source # 
FromJSON ListReportTypesResponse Source # 
type Rep ListReportTypesResponse Source # 
type Rep ListReportTypesResponse = D1 (MetaData "ListReportTypesResponse" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.1.0-4Pz5lxQnyFsFL1lbNAgyXa" 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 Source #

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) Source #

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 Source #

Media resource.

See: media smart constructor.

Instances

Eq Media Source # 

Methods

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

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

Data Media Source # 

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 Source # 

Methods

showsPrec :: Int -> Media -> ShowS #

show :: Media -> String #

showList :: [Media] -> ShowS #

Generic Media Source # 

Associated Types

type Rep Media :: * -> * #

Methods

from :: Media -> Rep Media x #

to :: Rep Media x -> Media #

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

media :: Media Source #

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) Source #

Name of the media resource.

Job

data Job Source #

A job creating reports of a specific type.

See: job smart constructor.

Instances

Eq Job Source # 

Methods

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

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

Data Job Source # 

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 Source # 

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

Generic Job Source # 

Associated Types

type Rep Job :: * -> * #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

ToJSON Job Source # 

Methods

toJSON :: Job -> Value #

toEncoding :: Job -> Encoding #

FromJSON Job Source # 

Methods

parseJSON :: Value -> Parser Job #

type Rep Job Source # 
type Rep Job = D1 (MetaData "Job" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.1.0-4Pz5lxQnyFsFL1lbNAgyXa" False) (C1 (MetaCons "Job'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_jId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jSystemManaged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_jReportTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_jExpireTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

job :: Job Source #

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) Source #

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

jId :: Lens' Job (Maybe Text) Source #

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

jSystemManaged :: Lens' Job (Maybe Bool) Source #

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

jReportTypeId :: Lens' Job (Maybe Text) Source #

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

jExpireTime :: Lens' Job (Maybe Text) Source #

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

jCreateTime :: Lens' Job (Maybe Text) Source #

The creation date/time of the job.

ListJobsResponse

data ListJobsResponse Source #

Response message for ReportingService.ListJobs.

See: listJobsResponse smart constructor.

Instances

Eq ListJobsResponse Source # 
Data ListJobsResponse Source # 

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 Source # 
Generic ListJobsResponse Source # 
ToJSON ListJobsResponse Source # 
FromJSON ListJobsResponse Source # 
type Rep ListJobsResponse Source # 
type Rep ListJobsResponse = D1 (MetaData "ListJobsResponse" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.1.0-4Pz5lxQnyFsFL1lbNAgyXa" 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 Source #

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) Source #

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] Source #

The list of jobs.

ReportType

data ReportType Source #

A report type.

See: reportType smart constructor.

Instances

Eq ReportType Source # 
Data ReportType Source # 

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 Source # 
Generic ReportType Source # 

Associated Types

type Rep ReportType :: * -> * #

ToJSON ReportType Source # 
FromJSON ReportType Source # 
type Rep ReportType Source # 
type Rep ReportType = D1 (MetaData "ReportType" "Network.Google.YouTubeReporting.Types.Product" "gogol-youtube-reporting-0.1.0-4Pz5lxQnyFsFL1lbNAgyXa" 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 Text))) (S1 (MetaSel (Just Symbol "_rtSystemManaged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))

reportType :: ReportType Source #

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) Source #

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

rtId :: Lens' ReportType (Maybe Text) Source #

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

rtDeprecateTime :: Lens' ReportType (Maybe Text) Source #

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

rtSystemManaged :: Lens' ReportType (Maybe Bool) Source #

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.