gogol-resourcemanager-0.3.0: Google Cloud Resource Manager 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.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 = "v1" :> ("projects" :> (QueryParam "$.xgafv" Xgafv :> (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)))))))))))) #

A resource alias for cloudresourcemanager.projects.list method which the ProjectsList request conforms to.

Creating a Request

projectsList :: ProjectsList #

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 #

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.

Instances

Eq ProjectsList # 
Data ProjectsList # 

Methods

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

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

toConstr :: ProjectsList -> Constr #

dataTypeOf :: ProjectsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsList # 
Generic ProjectsList # 

Associated Types

type Rep ProjectsList :: * -> * #

GoogleRequest ProjectsList # 

Associated Types

type Rs ProjectsList :: * #

type Scopes ProjectsList :: [Symbol] #

type Rep ProjectsList # 
type Scopes ProjectsList # 
type Scopes ProjectsList = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform.read-only" ([] Symbol))
type Rs ProjectsList # 

Request Lenses

plXgafv :: Lens' ProjectsList (Maybe Xgafv) #

V1 error format.

plUploadProtocol :: Lens' ProjectsList (Maybe Text) #

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

plPp :: Lens' ProjectsList Bool #

Pretty-print response.

plAccessToken :: Lens' ProjectsList (Maybe Text) #

OAuth access token.

plUploadType :: Lens' ProjectsList (Maybe Text) #

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

plBearerToken :: Lens' ProjectsList (Maybe Text) #

OAuth bearer token.

plFilter :: Lens' ProjectsList (Maybe Text) #

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) #

A pagination token returned from a previous call to ListProjects that indicates from where listing should continue. Optional.

plPageSize :: Lens' ProjectsList (Maybe Int32) #

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.