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

Contents

Description

Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request.

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

Synopsis

REST Resource

type SnapshotsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("snapshots" :> (Capture "snapshot" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot))))))) Source #

A resource alias for compute.snapshots.get method which the SnapshotsGet request conforms to.

Creating a Request

snapshotsGet Source #

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

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

data SnapshotsGet Source #

Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request.

See: snapshotsGet smart constructor.

Instances
Eq SnapshotsGet Source # 
Instance details

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

Data SnapshotsGet Source # 
Instance details

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

Methods

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

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

toConstr :: SnapshotsGet -> Constr #

dataTypeOf :: SnapshotsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SnapshotsGet Source # 
Instance details

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

Generic SnapshotsGet Source # 
Instance details

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

Associated Types

type Rep SnapshotsGet :: Type -> Type #

GoogleRequest SnapshotsGet Source # 
Instance details

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

Associated Types

type Rs SnapshotsGet :: Type #

type Scopes SnapshotsGet :: [Symbol] #

type Rep SnapshotsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

sggSnapshot :: Lens' SnapshotsGet Text Source #

Name of the Snapshot resource to return.

sggProject :: Lens' SnapshotsGet Text Source #

Project ID for this request.