Copyright | (c) 2015 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 |
Updates settings of a Cloud SQL instance. Caution: This is not a partial update, so you must include values for all the settings that you want to retain. For partial updates, use patch.. This method supports patch semantics.
See: Cloud SQL Administration API Reference for sql.instances.patch
.
- type InstancesPatchResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` DatabaseInstance :> Patch `[JSON]` Operation)))))))
- instancesPatch :: Text -> DatabaseInstance -> Text -> InstancesPatch
- data InstancesPatch
- ipProject :: Lens' InstancesPatch Text
- ipPayload :: Lens' InstancesPatch DatabaseInstance
- ipInstance :: Lens' InstancesPatch Text
REST Resource
type InstancesPatchResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` DatabaseInstance :> Patch `[JSON]` Operation))))))) Source
A resource alias for sql.instances.patch
method which the
InstancesPatch
request conforms to.
Creating a Request
Creates a value of InstancesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesPatch Source
Updates settings of a Cloud SQL instance. Caution: This is not a partial update, so you must include values for all the settings that you want to retain. For partial updates, use patch.. This method supports patch semantics.
See: instancesPatch
smart constructor.
Request Lenses
ipProject :: Lens' InstancesPatch Text Source
Project ID of the project that contains the instance.
ipPayload :: Lens' InstancesPatch DatabaseInstance Source
Multipart request metadata.
ipInstance :: Lens' InstancesPatch Text Source
Cloud SQL instance ID. This does not include the project ID.