gogol-resourcemanager-0.1.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" 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.

Instances

Eq ProjectsList Source # 
Data ProjectsList Source # 

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 Source # 
Generic ProjectsList Source # 

Associated Types

type Rep ProjectsList :: * -> * #

GoogleRequest ProjectsList Source # 

Associated Types

type Rs ProjectsList :: * #

type Scopes ProjectsList :: [Symbol] #

type Rep ProjectsList Source # 
type Scopes ProjectsList Source # 
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 Source # 

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 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.