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.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" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "bearer_token" 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:

Request Lenses

jcXgafv :: Lens' JobsCreate (Maybe Text) Source

V1 error format.

jcUploadProtocol :: Lens' JobsCreate (Maybe Text) Source

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

jcPp :: Lens' JobsCreate Bool Source

Pretty-print response.

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

jcBearerToken :: Lens' JobsCreate (Maybe Text) Source

OAuth bearer token.