gogol-sqladmin-0.0.1: Google Cloud SQL Administration SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.SQL.Instances.Update

Contents

Description

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 Administration API Reference for sql.instances.update.

Synopsis

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

instancesUpdate Source

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.

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.