| 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 |
Network.Google.Resource.Compute.Images.GetFromFamily
Description
Returns the latest image that is part of an image family and is not deprecated.
See: Compute Engine API Reference for compute.images.getFromFamily.
Synopsis
- type ImagesGetFromFamilyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("images" :> ("family" :> (Capture "family" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Image))))))))
- imagesGetFromFamily :: Text -> Text -> ImagesGetFromFamily
- data ImagesGetFromFamily
- igffProject :: Lens' ImagesGetFromFamily Text
- igffFamily :: Lens' ImagesGetFromFamily Text
REST Resource
type ImagesGetFromFamilyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("images" :> ("family" :> (Capture "family" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Image)))))))) Source #
A resource alias for compute.images.getFromFamily method which the
ImagesGetFromFamily request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> ImagesGetFromFamily |
Creates a value of ImagesGetFromFamily with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ImagesGetFromFamily Source #
Returns the latest image that is part of an image family and is not deprecated.
See: imagesGetFromFamily smart constructor.
Instances
Request Lenses
igffProject :: Lens' ImagesGetFromFamily Text Source #
Project ID for this request.
igffFamily :: Lens' ImagesGetFromFamily Text Source #
Name of the image family to search for.