gogol-cloudtasks-0.5.0: Google Cloud Tasks 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.CloudTasks.Projects.Locations.Queues.Tasks.Get

Contents

Description

Gets a task.

See: Cloud Tasks API Reference for cloudtasks.projects.locations.queues.tasks.get.

Synopsis

REST Resource

type ProjectsLocationsQueuesTasksGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "responseView" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Task)))))))) Source #

A resource alias for cloudtasks.projects.locations.queues.tasks.get method which the ProjectsLocationsQueuesTasksGet request conforms to.

Creating a Request

projectsLocationsQueuesTasksGet Source #

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

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

data ProjectsLocationsQueuesTasksGet Source #

Gets a task.

See: projectsLocationsQueuesTasksGet smart constructor.

Instances
Eq ProjectsLocationsQueuesTasksGet Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Get

Data ProjectsLocationsQueuesTasksGet Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Get

Methods

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

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

toConstr :: ProjectsLocationsQueuesTasksGet -> Constr #

dataTypeOf :: ProjectsLocationsQueuesTasksGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsQueuesTasksGet Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Get

Generic ProjectsLocationsQueuesTasksGet Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Get

Associated Types

type Rep ProjectsLocationsQueuesTasksGet :: Type -> Type #

GoogleRequest ProjectsLocationsQueuesTasksGet Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Get

type Rep ProjectsLocationsQueuesTasksGet Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Get

type Rep ProjectsLocationsQueuesTasksGet = D1 (MetaData "ProjectsLocationsQueuesTasksGet" "Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Get" "gogol-cloudtasks-0.5.0-1OIp4lJq6ykJbnFcch0eRs" False) (C1 (MetaCons "ProjectsLocationsQueuesTasksGet'" PrefixI True) ((S1 (MetaSel (Just "_plqtgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plqtgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqtgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plqtgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqtgResponseView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_plqtgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plqtgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsQueuesTasksGet Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Get

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

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.Get

Request Lenses

plqtgUploadProtocol :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Text) Source #

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

plqtgUploadType :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Text) Source #

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

plqtgResponseView :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Text) Source #

The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires `cloudtasks.tasks.fullView` Google IAM permission on the Task resource.

plqtgName :: Lens' ProjectsLocationsQueuesTasksGet Text Source #

Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`