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 |
Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.
See: Compute Engine API Reference for compute.routers.preview
.
Synopsis
- type RoutersPreviewResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("routers" :> (Capture "router" Text :> ("preview" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Router :> Post '[JSON] RoutersPreviewResponse))))))))))
- routersPreview :: Text -> Text -> Router -> Text -> RoutersPreview
- data RoutersPreview
- rppProject :: Lens' RoutersPreview Text
- rppRouter :: Lens' RoutersPreview Text
- rppPayload :: Lens' RoutersPreview Router
- rppRegion :: Lens' RoutersPreview Text
REST Resource
type RoutersPreviewResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("routers" :> (Capture "router" Text :> ("preview" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Router :> Post '[JSON] RoutersPreviewResponse)))))))))) Source #
A resource alias for compute.routers.preview
method which the
RoutersPreview
request conforms to.
Creating a Request
Creates a value of RoutersPreview
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RoutersPreview Source #
Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.
See: routersPreview
smart constructor.
Instances
Request Lenses
rppProject :: Lens' RoutersPreview Text Source #
Project ID for this request.
rppPayload :: Lens' RoutersPreview Router Source #
Multipart request metadata.