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 |
Update the service information of a resource view or a resource.
See: Google Compute Engine Instance Groups API Reference for resourceviews.zoneViews.setService
.
- type ZoneViewsSetServiceResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("setService" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ZoneViewsSetServiceRequest :> Post '[JSON] Operation))))))))))
- zoneViewsSetService :: Text -> Text -> Text -> ZoneViewsSetServiceRequest -> ZoneViewsSetService
- data ZoneViewsSetService
- zvssResourceView :: Lens' ZoneViewsSetService Text
- zvssProject :: Lens' ZoneViewsSetService Text
- zvssZone :: Lens' ZoneViewsSetService Text
- zvssPayload :: Lens' ZoneViewsSetService ZoneViewsSetServiceRequest
REST Resource
type ZoneViewsSetServiceResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (Capture "resourceView" Text :> ("setService" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ZoneViewsSetServiceRequest :> Post '[JSON] Operation)))))))))) Source #
A resource alias for resourceviews.zoneViews.setService
method which the
ZoneViewsSetService
request conforms to.
Creating a Request
:: Text | |
-> Text | |
-> Text | |
-> ZoneViewsSetServiceRequest | |
-> ZoneViewsSetService |
Creates a value of ZoneViewsSetService
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ZoneViewsSetService Source #
Update the service information of a resource view or a resource.
See: zoneViewsSetService
smart constructor.
Request Lenses
zvssResourceView :: Lens' ZoneViewsSetService Text Source #
The name of the resource view.
zvssProject :: Lens' ZoneViewsSetService Text Source #
The project name of the resource view.
zvssPayload :: Lens' ZoneViewsSetService ZoneViewsSetServiceRequest Source #
Multipart request metadata.