gogol-videointelligence-0.4.0: Google Cloud Video Intelligence 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.VideoIntelligence.Videos.Annotate

Contents

Description

Performs asynchronous video annotation. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `AnnotateVideoProgress` (progress). `Operation.response` contains `AnnotateVideoResponse` (results).

See: Cloud Video Intelligence API Reference for videointelligence.videos.annotate.

Synopsis

REST Resource

type VideosAnnotateResource = "v1p1beta1" :> ("videos:annotate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoRequest :> Post '[JSON] GoogleLongrunning_Operation)))))))) Source #

A resource alias for videointelligence.videos.annotate method which the VideosAnnotate request conforms to.

Creating a Request

videosAnnotate Source #

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

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

data VideosAnnotate Source #

Performs asynchronous video annotation. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `AnnotateVideoProgress` (progress). `Operation.response` contains `AnnotateVideoResponse` (results).

See: videosAnnotate smart constructor.

Instances
Eq VideosAnnotate Source # 
Instance details

Defined in Network.Google.Resource.VideoIntelligence.Videos.Annotate

Data VideosAnnotate Source # 
Instance details

Defined in Network.Google.Resource.VideoIntelligence.Videos.Annotate

Methods

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

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

toConstr :: VideosAnnotate -> Constr #

dataTypeOf :: VideosAnnotate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VideosAnnotate Source # 
Instance details

Defined in Network.Google.Resource.VideoIntelligence.Videos.Annotate

Generic VideosAnnotate Source # 
Instance details

Defined in Network.Google.Resource.VideoIntelligence.Videos.Annotate

Associated Types

type Rep VideosAnnotate :: Type -> Type #

GoogleRequest VideosAnnotate Source # 
Instance details

Defined in Network.Google.Resource.VideoIntelligence.Videos.Annotate

Associated Types

type Rs VideosAnnotate :: Type #

type Scopes VideosAnnotate :: [Symbol] #

type Rep VideosAnnotate Source # 
Instance details

Defined in Network.Google.Resource.VideoIntelligence.Videos.Annotate

type Rep VideosAnnotate = D1 (MetaData "VideosAnnotate" "Network.Google.Resource.VideoIntelligence.Videos.Annotate" "gogol-videointelligence-0.4.0-33YwUF2oXgzGsYmP62p2e3" False) (C1 (MetaCons "VideosAnnotate'" PrefixI True) ((S1 (MetaSel (Just "_vaXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_vaUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_vaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_vaUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_vaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoRequest) :*: S1 (MetaSel (Just "_vaCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes VideosAnnotate Source # 
Instance details

Defined in Network.Google.Resource.VideoIntelligence.Videos.Annotate

type Scopes VideosAnnotate = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs VideosAnnotate Source # 
Instance details

Defined in Network.Google.Resource.VideoIntelligence.Videos.Annotate

Request Lenses

vaUploadProtocol :: Lens' VideosAnnotate (Maybe Text) Source #

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

vaUploadType :: Lens' VideosAnnotate (Maybe Text) Source #

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