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 |
Create a resource view.
See: Google Compute Engine Instance Groups API Reference for resourceviews.zoneViews.insert
.
- type ZoneViewsInsertResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResourceView :> Post '[JSON] Operation))))))))
- zoneViewsInsert :: Text -> Text -> ResourceView -> ZoneViewsInsert
- data ZoneViewsInsert
- zviProject :: Lens' ZoneViewsInsert Text
- zviZone :: Lens' ZoneViewsInsert Text
- zviPayload :: Lens' ZoneViewsInsert ResourceView
REST Resource
type ZoneViewsInsertResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResourceView :> Post '[JSON] Operation)))))))) Source #
A resource alias for resourceviews.zoneViews.insert
method which the
ZoneViewsInsert
request conforms to.
Creating a Request
Creates a value of ZoneViewsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ZoneViewsInsert Source #
Create a resource view.
See: zoneViewsInsert
smart constructor.
Request Lenses
zviProject :: Lens' ZoneViewsInsert Text Source #
The project name of the resource view.
zviPayload :: Lens' ZoneViewsInsert ResourceView Source #
Multipart request metadata.