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 |
Creates an address resource in the specified project using the data included in the request.
See: Compute Engine API Reference for compute.globalAddresses.insert
.
- type GlobalAddressesInsertResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("addresses" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Address :> Post '[JSON] Operation)))))))
- globalAddressesInsert :: Text -> Address -> GlobalAddressesInsert
- data GlobalAddressesInsert
- gaiProject :: Lens' GlobalAddressesInsert Text
- gaiPayload :: Lens' GlobalAddressesInsert Address
REST Resource
type GlobalAddressesInsertResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("addresses" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Address :> Post '[JSON] Operation))))))) Source #
A resource alias for compute.globalAddresses.insert
method which the
GlobalAddressesInsert
request conforms to.
Creating a Request
globalAddressesInsert Source #
Creates a value of GlobalAddressesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GlobalAddressesInsert Source #
Creates an address resource in the specified project using the data included in the request.
See: globalAddressesInsert
smart constructor.
Request Lenses
gaiProject :: Lens' GlobalAddressesInsert Text Source #
Project ID for this request.
gaiPayload :: Lens' GlobalAddressesInsert Address Source #
Multipart request metadata.