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 address resource.
See: Compute Engine API Reference for compute.addresses.get
.
Synopsis
- type AddressesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("addresses" :> (Capture "address" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Address))))))))
- addressesGet :: Text -> Text -> Text -> AddressesGet
- data AddressesGet
- addProject :: Lens' AddressesGet Text
- addAddress :: Lens' AddressesGet Text
- addRegion :: Lens' AddressesGet Text
REST Resource
type AddressesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("addresses" :> (Capture "address" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Address)))))))) Source #
A resource alias for compute.addresses.get
method which the
AddressesGet
request conforms to.
Creating a Request
Creates a value of AddressesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AddressesGet Source #
Returns the specified address resource.
See: addressesGet
smart constructor.
Instances
Request Lenses
addProject :: Lens' AddressesGet Text Source #
Project ID for this request.
addAddress :: Lens' AddressesGet Text Source #
Name of the address resource to return.