gogol-sqladmin-0.4.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.Restart

Contents

Description

Restarts a Cloud SQL instance.

See: Cloud SQL Admin API Reference for sql.instances.restart.

Synopsis

REST Resource

type InstancesRestartResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("restart" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))) Source #

A resource alias for sql.instances.restart method which the InstancesRestart request conforms to.

Creating a Request

instancesRestart Source #

Creates a value of InstancesRestart with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data InstancesRestart Source #

Restarts a Cloud SQL instance.

See: instancesRestart smart constructor.

Instances
Eq InstancesRestart Source # 
Instance details

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

Data InstancesRestart Source # 
Instance details

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

Methods

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

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

toConstr :: InstancesRestart -> Constr #

dataTypeOf :: InstancesRestart -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesRestart Source # 
Instance details

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

Generic InstancesRestart Source # 
Instance details

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

Associated Types

type Rep InstancesRestart :: Type -> Type #

GoogleRequest InstancesRestart Source # 
Instance details

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

Associated Types

type Rs InstancesRestart :: Type #

type Scopes InstancesRestart :: [Symbol] #

type Rep InstancesRestart Source # 
Instance details

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

type Rep InstancesRestart = D1 (MetaData "InstancesRestart" "Network.Google.Resource.SQL.Instances.Restart" "gogol-sqladmin-0.4.0-E7PrzlfFsl19SfOpZznMc2" False) (C1 (MetaCons "InstancesRestart'" PrefixI True) (S1 (MetaSel (Just "_irProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_irInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes InstancesRestart Source # 
Instance details

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

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

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

Request Lenses

irProject :: Lens' InstancesRestart Text Source #

Project ID of the project that contains the instance to be restarted.

irInstance :: Lens' InstancesRestart Text Source #

Cloud SQL instance ID. This does not include the project ID.