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 |
Lists queues. Queues are returned in lexicographical order.
See: Cloud Tasks API Reference for cloudtasks.projects.locations.queues.list
.
Synopsis
- type ProjectsLocationsQueuesListResource = "v2beta3" :> (Capture "parent" Text :> ("queues" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListQueuesResponse)))))))))))
- projectsLocationsQueuesList :: Text -> ProjectsLocationsQueuesList
- data ProjectsLocationsQueuesList
- plqlParent :: Lens' ProjectsLocationsQueuesList Text
- plqlXgafv :: Lens' ProjectsLocationsQueuesList (Maybe Xgafv)
- plqlUploadProtocol :: Lens' ProjectsLocationsQueuesList (Maybe Text)
- plqlAccessToken :: Lens' ProjectsLocationsQueuesList (Maybe Text)
- plqlUploadType :: Lens' ProjectsLocationsQueuesList (Maybe Text)
- plqlFilter :: Lens' ProjectsLocationsQueuesList (Maybe Text)
- plqlPageToken :: Lens' ProjectsLocationsQueuesList (Maybe Text)
- plqlPageSize :: Lens' ProjectsLocationsQueuesList (Maybe Int32)
- plqlCallback :: Lens' ProjectsLocationsQueuesList (Maybe Text)
REST Resource
type ProjectsLocationsQueuesListResource = "v2beta3" :> (Capture "parent" Text :> ("queues" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListQueuesResponse))))))))))) Source #
A resource alias for cloudtasks.projects.locations.queues.list
method which the
ProjectsLocationsQueuesList
request conforms to.
Creating a Request
projectsLocationsQueuesList Source #
Creates a value of ProjectsLocationsQueuesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsQueuesList Source #
Lists queues. Queues are returned in lexicographical order.
See: projectsLocationsQueuesList
smart constructor.
Instances
Request Lenses
plqlParent :: Lens' ProjectsLocationsQueuesList Text Source #
Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`
plqlUploadProtocol :: Lens' ProjectsLocationsQueuesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plqlAccessToken :: Lens' ProjectsLocationsQueuesList (Maybe Text) Source #
OAuth access token.
plqlUploadType :: Lens' ProjectsLocationsQueuesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plqlFilter :: Lens' ProjectsLocationsQueuesList (Maybe Text) Source #
`filter` can be used to specify a subset of queues. Any Queue field can be used as a filter and several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as described in Stackdriver's Advanced Logs Filters. Sample filter "state: PAUSED". Note that using filters might cause fewer queues than the requested page_size to be returned.
plqlPageToken :: Lens' ProjectsLocationsQueuesList (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 ListQueues method. It is an error to switch the value of the filter while iterating through pages.
plqlPageSize :: Lens' ProjectsLocationsQueuesList (Maybe Int32) Source #
Requested page size. The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might be returned, even if more queues exist; use the next_page_token in the response to determine if more queues exist.
plqlCallback :: Lens' ProjectsLocationsQueuesList (Maybe Text) Source #
JSONP