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.RestoreBackup

Contents

Description

Restores a backup of a Cloud SQL instance.

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

Synopsis

REST Resource

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

A resource alias for sql.instances.restoreBackup method which the InstancesRestoreBackup request conforms to.

Creating a Request

instancesRestoreBackup Source #

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

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

data InstancesRestoreBackup Source #

Restores a backup of a Cloud SQL instance.

See: instancesRestoreBackup smart constructor.

Instances
Eq InstancesRestoreBackup Source # 
Instance details

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

Data InstancesRestoreBackup Source # 
Instance details

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

Methods

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

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

toConstr :: InstancesRestoreBackup -> Constr #

dataTypeOf :: InstancesRestoreBackup -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesRestoreBackup Source # 
Instance details

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

Generic InstancesRestoreBackup Source # 
Instance details

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

Associated Types

type Rep InstancesRestoreBackup :: Type -> Type #

GoogleRequest InstancesRestoreBackup Source # 
Instance details

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

type Rep InstancesRestoreBackup Source # 
Instance details

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

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

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

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

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

Request Lenses

irbProject :: Lens' InstancesRestoreBackup Text Source #

Project ID of the project that contains the instance.

irbInstance :: Lens' InstancesRestoreBackup Text Source #

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