gogol-sqladmin-0.2.0: Google Cloud SQL Administration 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.Patch

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.. This method supports patch semantics.

See: Cloud SQL Administration API Reference for sql.instances.patch.

Synopsis

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

instancesPatch Source #

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.

Instances

Eq InstancesPatch Source # 
Data InstancesPatch Source # 

Methods

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

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

toConstr :: InstancesPatch -> Constr #

dataTypeOf :: InstancesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesPatch Source # 
Generic InstancesPatch Source # 

Associated Types

type Rep InstancesPatch :: * -> * #

GoogleRequest InstancesPatch Source # 
type Rep InstancesPatch Source # 
type Rep InstancesPatch = D1 (MetaData "InstancesPatch" "Network.Google.Resource.SQL.Instances.Patch" "gogol-sqladmin-0.2.0-BihfPAXdzgqA8dYlEmHsAp" False) (C1 (MetaCons "InstancesPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DatabaseInstance)) (S1 (MetaSel (Just Symbol "_ipInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes InstancesPatch Source # 
type Scopes InstancesPatch = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/sqlservice.admin" ([] Symbol))
type Rs InstancesPatch Source # 

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.