gogol-compute-0.3.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.HealthChecks.Get

Contents

Description

Returns the specified HealthCheck resource. Get a list of available health checks by making a list() request.

See: Compute Engine API Reference for compute.healthChecks.get.

Synopsis

REST Resource

type HealthChecksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("healthChecks" :> (Capture "healthCheck" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] HealthCheck))))))) Source #

A resource alias for compute.healthChecks.get method which the HealthChecksGet request conforms to.

Creating a Request

healthChecksGet Source #

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

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

data HealthChecksGet Source #

Returns the specified HealthCheck resource. Get a list of available health checks by making a list() request.

See: healthChecksGet smart constructor.

Instances

Eq HealthChecksGet Source # 
Data HealthChecksGet Source # 

Methods

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

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

toConstr :: HealthChecksGet -> Constr #

dataTypeOf :: HealthChecksGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HealthChecksGet Source # 
Generic HealthChecksGet Source # 
GoogleRequest HealthChecksGet Source # 
type Rep HealthChecksGet Source # 
type Rep HealthChecksGet = D1 (MetaData "HealthChecksGet" "Network.Google.Resource.Compute.HealthChecks.Get" "gogol-compute-0.3.0-JmC4j0JQjdEJ6YK33fLFL4" False) (C1 (MetaCons "HealthChecksGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_hcgHealthCheck") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_hcgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes HealthChecksGet Source # 
type Scopes HealthChecksGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ((:) Symbol "https://www.googleapis.com/auth/compute.readonly" ([] Symbol)))
type Rs HealthChecksGet Source # 

Request Lenses

hcgHealthCheck :: Lens' HealthChecksGet Text Source #

Name of the HealthCheck resource to return.

hcgProject :: Lens' HealthChecksGet Text Source #

Project ID for this request.