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

Contents

Description

Gets a list of ancestors in the resource hierarchy for the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project.

See: Google Cloud Resource Manager API Reference for cloudresourcemanager.projects.getAncestry.

Synopsis

REST Resource

type ProjectsGetAncestryResource = "v1" :> ("projects" :> (CaptureMode "projectId" "getAncestry" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetAncestryRequest :> Post '[JSON] GetAncestryResponse))))))))))) Source #

A resource alias for cloudresourcemanager.projects.getAncestry method which the ProjectsGetAncestry request conforms to.

Creating a Request

projectsGetAncestry Source #

Creates a value of ProjectsGetAncestry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsGetAncestry Source #

Gets a list of ancestors in the resource hierarchy for the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project.

See: projectsGetAncestry smart constructor.

Instances

Eq ProjectsGetAncestry Source # 
Data ProjectsGetAncestry Source # 

Methods

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

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

toConstr :: ProjectsGetAncestry -> Constr #

dataTypeOf :: ProjectsGetAncestry -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

pgaUploadProtocol :: Lens' ProjectsGetAncestry (Maybe Text) Source #

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

pgaPp :: Lens' ProjectsGetAncestry Bool Source #

Pretty-print response.

pgaUploadType :: Lens' ProjectsGetAncestry (Maybe Text) Source #

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

pgaProjectId :: Lens' ProjectsGetAncestry Text Source #

The Project ID (for example, `my-project-123`). Required.