gogol-cloudtasks-0.4.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.List

Contents

Description

Lists the tasks in a queue. By default, only the BASIC view is retrieved due to performance considerations; response_view controls the subset of information which is returned. The tasks may be returned in any order. The ordering may change at any time.

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

Synopsis

REST Resource

type ProjectsLocationsQueuesTasksListResource = "v2beta3" :> (Capture "parent" Text :> ("tasks" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "responseView" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTasksResponse))))))))))) Source #

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

Creating a Request

data ProjectsLocationsQueuesTasksList Source #

Lists the tasks in a queue. By default, only the BASIC view is retrieved due to performance considerations; response_view controls the subset of information which is returned. The tasks may be returned in any order. The ordering may change at any time.

See: projectsLocationsQueuesTasksList smart constructor.

Instances
Eq ProjectsLocationsQueuesTasksList Source # 
Instance details

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

Data ProjectsLocationsQueuesTasksList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsQueuesTasksList -> Constr #

dataTypeOf :: ProjectsLocationsQueuesTasksList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsQueuesTasksList Source # 
Instance details

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

Generic ProjectsLocationsQueuesTasksList Source # 
Instance details

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

Associated Types

type Rep ProjectsLocationsQueuesTasksList :: Type -> Type #

GoogleRequest ProjectsLocationsQueuesTasksList Source # 
Instance details

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

type Rep ProjectsLocationsQueuesTasksList Source # 
Instance details

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

type Rep ProjectsLocationsQueuesTasksList = D1 (MetaData "ProjectsLocationsQueuesTasksList" "Network.Google.Resource.CloudTasks.Projects.Locations.Queues.Tasks.List" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ProjectsLocationsQueuesTasksList'" PrefixI True) (((S1 (MetaSel (Just "_plqtlParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plqtlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_plqtlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqtlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plqtlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqtlResponseView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_plqtlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_plqtlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_plqtlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsLocationsQueuesTasksList Source # 
Instance details

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

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

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

Request Lenses

plqtlParent :: Lens' ProjectsLocationsQueuesTasksList Text Source #

Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`

plqtlUploadProtocol :: Lens' ProjectsLocationsQueuesTasksList (Maybe Text) Source #

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

plqtlUploadType :: Lens' ProjectsLocationsQueuesTasksList (Maybe Text) Source #

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

plqtlResponseView :: Lens' ProjectsLocationsQueuesTasksList (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.

plqtlPageToken :: Lens' ProjectsLocationsQueuesTasksList (Maybe Text) Source #

A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.

plqtlPageSize :: Lens' ProjectsLocationsQueuesTasksList (Maybe Int32) Source #

Requested page size. Fewer tasks than requested might be returned. The maximum page size is 1000. If unspecified, the page size will be the maximum. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to determine if more tasks exist.