gogol-compute-0.4.0: Google Compute Engine 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.Compute.Projects.GetXpnHost

Contents

Description

Gets the shared VPC host project that this project links to. May be empty if no link exists.

See: Compute Engine API Reference for compute.projects.getXpnHost.

Synopsis

REST Resource

type ProjectsGetXpnHostResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("getXpnHost" :> (QueryParam "alt" AltJSON :> Get '[JSON] Project))))) Source #

A resource alias for compute.projects.getXpnHost method which the ProjectsGetXpnHost request conforms to.

Creating a Request

projectsGetXpnHost Source #

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

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

data ProjectsGetXpnHost Source #

Gets the shared VPC host project that this project links to. May be empty if no link exists.

See: projectsGetXpnHost smart constructor.

Instances
Eq ProjectsGetXpnHost Source # 
Instance details

Defined in Network.Google.Resource.Compute.Projects.GetXpnHost

Data ProjectsGetXpnHost Source # 
Instance details

Defined in Network.Google.Resource.Compute.Projects.GetXpnHost

Methods

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

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

toConstr :: ProjectsGetXpnHost -> Constr #

dataTypeOf :: ProjectsGetXpnHost -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsGetXpnHost Source # 
Instance details

Defined in Network.Google.Resource.Compute.Projects.GetXpnHost

Generic ProjectsGetXpnHost Source # 
Instance details

Defined in Network.Google.Resource.Compute.Projects.GetXpnHost

Associated Types

type Rep ProjectsGetXpnHost :: Type -> Type #

GoogleRequest ProjectsGetXpnHost Source # 
Instance details

Defined in Network.Google.Resource.Compute.Projects.GetXpnHost

Associated Types

type Rs ProjectsGetXpnHost :: Type #

type Scopes ProjectsGetXpnHost :: [Symbol] #

type Rep ProjectsGetXpnHost Source # 
Instance details

Defined in Network.Google.Resource.Compute.Projects.GetXpnHost

type Rep ProjectsGetXpnHost = D1 (MetaData "ProjectsGetXpnHost" "Network.Google.Resource.Compute.Projects.GetXpnHost" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" True) (C1 (MetaCons "ProjectsGetXpnHost'" PrefixI True) (S1 (MetaSel (Just "_pgxhProject") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes ProjectsGetXpnHost Source # 
Instance details

Defined in Network.Google.Resource.Compute.Projects.GetXpnHost

type Scopes ProjectsGetXpnHost = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/compute" ': ([] :: [Symbol]))
type Rs ProjectsGetXpnHost Source # 
Instance details

Defined in Network.Google.Resource.Compute.Projects.GetXpnHost

Request Lenses

pgxhProject :: Lens' ProjectsGetXpnHost Text Source #

Project ID for this request.