gogol-storage-transfer-0.4.0: Google Storage Transfer 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.StorageTransfer.TransferJobs.Get

Contents

Description

Gets a transfer job.

See: Storage Transfer API Reference for storagetransfer.transferJobs.get.

Synopsis

REST Resource

type TransferJobsGetResource = "v1" :> (Capture "jobName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TransferJob)))))))) Source #

A resource alias for storagetransfer.transferJobs.get method which the TransferJobsGet request conforms to.

Creating a Request

transferJobsGet Source #

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

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

data TransferJobsGet Source #

Gets a transfer job.

See: transferJobsGet smart constructor.

Instances
Eq TransferJobsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Get

Data TransferJobsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Get

Methods

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

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

toConstr :: TransferJobsGet -> Constr #

dataTypeOf :: TransferJobsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TransferJobsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Get

Generic TransferJobsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Get

Associated Types

type Rep TransferJobsGet :: Type -> Type #

GoogleRequest TransferJobsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Get

Associated Types

type Rs TransferJobsGet :: Type #

type Scopes TransferJobsGet :: [Symbol] #

type Rep TransferJobsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Get

type Rep TransferJobsGet = D1 (MetaData "TransferJobsGet" "Network.Google.Resource.StorageTransfer.TransferJobs.Get" "gogol-storage-transfer-0.4.0-GGwHgHZplO0LWcGDc7JAZR" False) (C1 (MetaCons "TransferJobsGet'" PrefixI True) ((S1 (MetaSel (Just "_tjgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_tjgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tjgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_tjgJobName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tjgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tjgProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tjgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes TransferJobsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Get

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

Defined in Network.Google.Resource.StorageTransfer.TransferJobs.Get

Request Lenses

tjgUploadProtocol :: Lens' TransferJobsGet (Maybe Text) Source #

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

tjgJobName :: Lens' TransferJobsGet Text Source #

The job to get. Required.

tjgUploadType :: Lens' TransferJobsGet (Maybe Text) Source #

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

tjgProjectId :: Lens' TransferJobsGet (Maybe Text) Source #

The ID of the Google Cloud Platform Console project that owns the job. Required.