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.Create

Contents

Description

Creates a job and returns it.

See: YouTube Reporting API Reference for youtubereporting.jobs.create.

Synopsis

REST Resource

type JobsCreateResource = "v1" :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Job :> Post '[JSON] Job))))))))) Source #

A resource alias for youtubereporting.jobs.create method which the JobsCreate request conforms to.

Creating a Request

jobsCreate Source #

Arguments

:: Job

jcPayload

-> JobsCreate 

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

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

data JobsCreate Source #

Creates a job and returns it.

See: jobsCreate smart constructor.

Instances
Eq JobsCreate Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Create

Data JobsCreate Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Create

Methods

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

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

toConstr :: JobsCreate -> Constr #

dataTypeOf :: JobsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobsCreate Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Create

Generic JobsCreate Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Create

Associated Types

type Rep JobsCreate :: Type -> Type #

GoogleRequest JobsCreate Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Create

Associated Types

type Rs JobsCreate :: Type #

type Scopes JobsCreate :: [Symbol] #

type Rep JobsCreate Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Create

type Rep JobsCreate = D1 (MetaData "JobsCreate" "Network.Google.Resource.YouTubeReporting.Jobs.Create" "gogol-youtube-reporting-0.4.0-Dr9CDcNGMDRA1BwOES1tMd" False) (C1 (MetaCons "JobsCreate'" PrefixI True) ((S1 (MetaSel (Just "_jcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_jcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_jcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_jcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_jcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Job)) :*: (S1 (MetaSel (Just "_jcOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_jcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes JobsCreate Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Create

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

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Create

Request Lenses

jcXgafv :: Lens' JobsCreate (Maybe Xgafv) Source #

V1 error format.

jcUploadProtocol :: Lens' JobsCreate (Maybe Text) Source #

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

jcAccessToken :: Lens' JobsCreate (Maybe Text) Source #

OAuth access token.

jcUploadType :: Lens' JobsCreate (Maybe Text) Source #

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

jcPayload :: Lens' JobsCreate Job Source #

Multipart request metadata.

jcOnBehalfOfContentOwner :: Lens' JobsCreate (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).