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