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 Projects that are visible to the user and satisfy the specified filter. This method returns Projects in an unspecified order. New Projects do not necessarily appear at the end of the list.
See: Google Cloud Resource Manager API Reference for cloudresourcemanager.projects.list
.
- type ProjectsListResource = "v1" :> ("projects" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListProjectsResponse))))))))))))
- projectsList :: ProjectsList
- data ProjectsList
- plXgafv :: Lens' ProjectsList (Maybe Text)
- plUploadProtocol :: Lens' ProjectsList (Maybe Text)
- plPp :: Lens' ProjectsList Bool
- plAccessToken :: Lens' ProjectsList (Maybe Text)
- plUploadType :: Lens' ProjectsList (Maybe Text)
- plBearerToken :: Lens' ProjectsList (Maybe Text)
- plFilter :: Lens' ProjectsList (Maybe Text)
- plPageToken :: Lens' ProjectsList (Maybe Text)
- plPageSize :: Lens' ProjectsList (Maybe Int32)
- plCallback :: Lens' ProjectsList (Maybe Text)
REST Resource
type ProjectsListResource = "v1" :> ("projects" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListProjectsResponse)))))))))))) Source #
A resource alias for cloudresourcemanager.projects.list
method which the
ProjectsList
request conforms to.
Creating a Request
projectsList :: ProjectsList Source #
Creates a value of ProjectsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsList Source #
Lists Projects that are visible to the user and satisfy the specified filter. This method returns Projects in an unspecified order. New Projects do not necessarily appear at the end of the list.
See: projectsList
smart constructor.
Request Lenses
plUploadProtocol :: Lens' ProjectsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plAccessToken :: Lens' ProjectsList (Maybe Text) Source #
OAuth access token.
plUploadType :: Lens' ProjectsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plBearerToken :: Lens' ProjectsList (Maybe Text) Source #
OAuth bearer token.
plFilter :: Lens' ProjectsList (Maybe Text) Source #
An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: + `name` + `id` + labels.key where *key* is the name of a label Some examples of using labels as filters: |Filter|Description| |------|-----------| |name:*|The project has a name.| |name:Howl|The project's name is `Howl` or `howl`.| |name:HOWL|Equivalent to above.| |NAME:howl|Equivalent to above.| |labels.color:*|The project has the label `color`.| |labels.color:red|The project's label `color` has the value `red`.| |labels.color:red label.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`. Optional.
plPageToken :: Lens' ProjectsList (Maybe Text) Source #
A pagination token returned from a previous call to ListProjects that indicates from where listing should continue. Optional.
plPageSize :: Lens' ProjectsList (Maybe Int32) Source #
The maximum number of Projects to return in the response. The server can return fewer Projects than requested. If unspecified, server picks an appropriate default. Optional.
plCallback :: Lens' ProjectsList (Maybe Text) Source #
JSONP