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

Contents

Description

Returns the specified Instance resource. Gets a list of available instances by making a list() request.

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

Synopsis

REST Resource

type InstancesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Instance)))))))) Source #

A resource alias for compute.instances.get method which the InstancesGet request conforms to.

Creating a Request

instancesGet Source #

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

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

data InstancesGet Source #

Returns the specified Instance resource. Gets a list of available instances by making a list() request.

See: instancesGet smart constructor.

Instances
Eq InstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.Get

Data InstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.Get

Methods

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

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

toConstr :: InstancesGet -> Constr #

dataTypeOf :: InstancesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.Get

Generic InstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.Get

Associated Types

type Rep InstancesGet :: Type -> Type #

GoogleRequest InstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.Get

Associated Types

type Rs InstancesGet :: Type #

type Scopes InstancesGet :: [Symbol] #

type Rep InstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.Get

type Rep InstancesGet = D1 (MetaData "InstancesGet" "Network.Google.Resource.Compute.Instances.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "InstancesGet'" PrefixI True) (S1 (MetaSel (Just "_igProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_igZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_igInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes InstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.Get

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

Defined in Network.Google.Resource.Compute.Instances.Get

Request Lenses

igProject :: Lens' InstancesGet Text Source #

Project ID for this request.

igZone :: Lens' InstancesGet Text Source #

The name of the zone for this request.

igInstance :: Lens' InstancesGet Text Source #

Name of the instance resource to return.