gogol-compute-0.2.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. Get 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. Get a list of available snapshots by making a list() request.

See: snapshotsGet smart constructor.

Instances

Eq SnapshotsGet Source # 
Data SnapshotsGet Source # 

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 # 
Generic SnapshotsGet Source # 

Associated Types

type Rep SnapshotsGet :: * -> * #

GoogleRequest SnapshotsGet Source # 

Associated Types

type Rs SnapshotsGet :: * #

type Scopes SnapshotsGet :: [Symbol] #

type Rep SnapshotsGet Source # 
type Rep SnapshotsGet = D1 (MetaData "SnapshotsGet" "Network.Google.Resource.Compute.Snapshots.Get" "gogol-compute-0.2.0-Au6gUXsPbe4EHzC1JwxdWw" False) (C1 (MetaCons "SnapshotsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sggSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sggProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SnapshotsGet Source # 
type Scopes SnapshotsGet = (:) 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 SnapshotsGet Source # 

Request Lenses

sggSnapshot :: Lens' SnapshotsGet Text Source #

Name of the Snapshot resource to return.

sggProject :: Lens' SnapshotsGet Text Source #

Project ID for this request.