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.Snapshots.Get
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
.
- type SnapshotsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("snapshots" :> (Capture "snapshot" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot)))))))
- snapshotsGet :: Text -> Text -> SnapshotsGet
- data SnapshotsGet
- sggSnapshot :: Lens' SnapshotsGet Text
- sggProject :: Lens' SnapshotsGet Text
REST Resource
type SnapshotsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("snapshots" :> (Capture "snapshot" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Snapshot))))))) #
A resource alias for compute.snapshots.get
method which the
SnapshotsGet
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> SnapshotsGet |
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 #
Returns the specified Snapshot resource. Get a list of available snapshots by making a list() request.
See: snapshotsGet
smart constructor.
Instances
Eq SnapshotsGet # | |
Data SnapshotsGet # | |
Show SnapshotsGet # | |
Generic SnapshotsGet # | |
GoogleRequest SnapshotsGet # | |
type Rep SnapshotsGet # | |
type Scopes SnapshotsGet # | |
type Rs SnapshotsGet # | |
Request Lenses
sggSnapshot :: Lens' SnapshotsGet Text #
Name of the Snapshot resource to return.
sggProject :: Lens' SnapshotsGet Text #
Project ID for this request.