gogol-resourcemanager-0.0.1: Google Cloud Resource Manager SDK.

Copyright(c) 2015 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.CloudResourceManager.Projects.List

Contents

Description

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.

Synopsis

REST Resource

type ProjectsListResource = "v1beta1" :> ("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

plXgafv :: Lens' ProjectsList (Maybe Text) Source

V1 error format.

plUploadProtocol :: Lens' ProjectsList (Maybe Text) Source

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

plPp :: Lens' ProjectsList Bool Source

Pretty-print response.

plUploadType :: Lens' ProjectsList (Maybe Text) Source

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

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 ListProject that indicates from where listing should continue. Note: pagination is not yet supported; the server ignores this field. 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. Note: pagination is not yet supported; the server ignores this field. Optional.