Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the specified image. Gets a list of available images by making a list() request.
See: Compute Engine API Reference for compute.images.get
.
Synopsis
- type ImagesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("images" :> (Capture "image" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Image)))))))
- imagesGet :: Text -> Text -> ImagesGet
- data ImagesGet
- imaImage :: Lens' ImagesGet Text
- imaProject :: Lens' ImagesGet Text
REST Resource
type ImagesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("images" :> (Capture "image" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Image))))))) Source #
A resource alias for compute.images.get
method which the
ImagesGet
request conforms to.
Creating a Request
Creates a value of ImagesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Returns the specified image. Gets a list of available images by making a list() request.
See: imagesGet
smart constructor.
Instances
Eq ImagesGet Source # | |
Data ImagesGet Source # | |
Defined in Network.Google.Resource.Compute.Images.Get gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ImagesGet -> c ImagesGet # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ImagesGet # toConstr :: ImagesGet -> Constr # dataTypeOf :: ImagesGet -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ImagesGet) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ImagesGet) # gmapT :: (forall b. Data b => b -> b) -> ImagesGet -> ImagesGet # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ImagesGet -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ImagesGet -> r # gmapQ :: (forall d. Data d => d -> u) -> ImagesGet -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ImagesGet -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ImagesGet -> m ImagesGet # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ImagesGet -> m ImagesGet # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ImagesGet -> m ImagesGet # | |
Show ImagesGet Source # | |
Generic ImagesGet Source # | |
GoogleRequest ImagesGet Source # | |
type Rep ImagesGet Source # | |
Defined in Network.Google.Resource.Compute.Images.Get type Rep ImagesGet = D1 (MetaData "ImagesGet" "Network.Google.Resource.Compute.Images.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "ImagesGet'" PrefixI True) (S1 (MetaSel (Just "_imaImage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_imaProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) | |
type Scopes ImagesGet Source # | |
Defined in Network.Google.Resource.Compute.Images.Get | |
type Rs ImagesGet Source # | |
Defined in Network.Google.Resource.Compute.Images.Get |