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 |
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.
See: Cloud SQL Admin API Reference for sql.instances.update
.
Synopsis
- type InstancesUpdateResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DatabaseInstance :> Put '[JSON] Operation)))))))
- instancesUpdate :: Text -> DatabaseInstance -> Text -> InstancesUpdate
- data InstancesUpdate
- iuProject :: Lens' InstancesUpdate Text
- iuPayload :: Lens' InstancesUpdate DatabaseInstance
- iuInstance :: Lens' InstancesUpdate Text
REST Resource
type InstancesUpdateResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DatabaseInstance :> Put '[JSON] Operation))))))) Source #
A resource alias for sql.instances.update
method which the
InstancesUpdate
request conforms to.
Creating a Request
Creates a value of InstancesUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesUpdate 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.
See: instancesUpdate
smart constructor.
Instances
Request Lenses
iuProject :: Lens' InstancesUpdate Text Source #
Project ID of the project that contains the instance.
iuPayload :: Lens' InstancesUpdate DatabaseInstance Source #
Multipart request metadata.
iuInstance :: Lens' InstancesUpdate Text Source #
Cloud SQL instance ID. This does not include the project ID.