gogol-sqladmin-0.5.0: Google Cloud SQL Admin SDK.

Copyright(c) 2015-2016 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 Admin 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.

Instances
Eq InstancesUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.Update

Data InstancesUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.Update

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstancesUpdate -> c InstancesUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstancesUpdate #

toConstr :: InstancesUpdate -> Constr #

dataTypeOf :: InstancesUpdate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstancesUpdate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstancesUpdate) #

gmapT :: (forall b. Data b => b -> b) -> InstancesUpdate -> InstancesUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstancesUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstancesUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstancesUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstancesUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstancesUpdate -> m InstancesUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstancesUpdate -> m InstancesUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstancesUpdate -> m InstancesUpdate #

Show InstancesUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.Update

Generic InstancesUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.Update

Associated Types

type Rep InstancesUpdate :: Type -> Type #

GoogleRequest InstancesUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.Update

Associated Types

type Rs InstancesUpdate :: Type #

type Scopes InstancesUpdate :: [Symbol] #

type Rep InstancesUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.Update

type Rep InstancesUpdate = D1 (MetaData "InstancesUpdate" "Network.Google.Resource.SQL.Instances.Update" "gogol-sqladmin-0.5.0-8B6e7VZcIFdAjKub4oGppa" False) (C1 (MetaCons "InstancesUpdate'" PrefixI True) (S1 (MetaSel (Just "_iuProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_iuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DatabaseInstance) :*: S1 (MetaSel (Just "_iuInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes InstancesUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.Update

type Scopes InstancesUpdate = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/sqlservice.admin" ': ([] :: [Symbol]))
type Rs InstancesUpdate Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.Update

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.