Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets a task.
See: Cloud Tasks API Reference for cloudtasks.projects.locations.queues.tasks.get
.
Synopsis
- type ProjectsLocationsQueuesTasksGetResource = "v2beta3" :> (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))))))))
- projectsLocationsQueuesTasksGet :: Text -> ProjectsLocationsQueuesTasksGet
- data ProjectsLocationsQueuesTasksGet
- plqtgXgafv :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Xgafv)
- plqtgUploadProtocol :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Text)
- plqtgAccessToken :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Text)
- plqtgUploadType :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Text)
- plqtgResponseView :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Text)
- plqtgName :: Lens' ProjectsLocationsQueuesTasksGet Text
- plqtgCallback :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Text)
REST Resource
type ProjectsLocationsQueuesTasksGetResource = "v2beta3" :> (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
Request Lenses
plqtgXgafv :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Xgafv) Source #
V1 error format.
plqtgUploadProtocol :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plqtgAccessToken :: Lens' ProjectsLocationsQueuesTasksGet (Maybe Text) Source #
OAuth access token.
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.