| 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 |
Network.Google.Resource.Autoscaler.Autoscalers.Patch
Description
Update the entire content of the Autoscaler resource. This method supports patch semantics.
See: Google Compute Engine Autoscaler API Reference for autoscaler.autoscalers.patch.
- type AutoscalersPatchResource = "autoscaler" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("autoscalers" :> (Capture "autoscaler" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Autoscaler :> Patch '[JSON] Operation)))))))))
- autoscalersPatch :: Text -> Text -> Autoscaler -> Text -> AutoscalersPatch
- data AutoscalersPatch
- apProject :: Lens' AutoscalersPatch Text
- apZone :: Lens' AutoscalersPatch Text
- apPayload :: Lens' AutoscalersPatch Autoscaler
- apAutoscaler :: Lens' AutoscalersPatch Text
REST Resource
type AutoscalersPatchResource = "autoscaler" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("autoscalers" :> (Capture "autoscaler" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Autoscaler :> Patch '[JSON] Operation))))))))) Source #
A resource alias for autoscaler.autoscalers.patch method which the
AutoscalersPatch request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Autoscaler | |
| -> Text | |
| -> AutoscalersPatch |
Creates a value of AutoscalersPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AutoscalersPatch Source #
Update the entire content of the Autoscaler resource. This method supports patch semantics.
See: autoscalersPatch smart constructor.
Request Lenses
apPayload :: Lens' AutoscalersPatch Autoscaler Source #
Multipart request metadata.
apAutoscaler :: Lens' AutoscalersPatch Text Source #
Name of the Autoscaler resource.