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.BackupRuns.Insert

Contents

Description

Creates a new backup run on demand. This method is applicable only to Second Generation instances.

See: Cloud SQL Admin API Reference for sql.backupRuns.insert.

Synopsis

REST Resource

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

A resource alias for sql.backupRuns.insert method which the BackupRunsInsert request conforms to.

Creating a Request

backupRunsInsert Source #

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

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

data BackupRunsInsert Source #

Creates a new backup run on demand. This method is applicable only to Second Generation instances.

See: backupRunsInsert smart constructor.

Instances
Eq BackupRunsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.BackupRuns.Insert

Data BackupRunsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.BackupRuns.Insert

Methods

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

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

toConstr :: BackupRunsInsert -> Constr #

dataTypeOf :: BackupRunsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BackupRunsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.BackupRuns.Insert

Generic BackupRunsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.BackupRuns.Insert

Associated Types

type Rep BackupRunsInsert :: Type -> Type #

GoogleRequest BackupRunsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.BackupRuns.Insert

Associated Types

type Rs BackupRunsInsert :: Type #

type Scopes BackupRunsInsert :: [Symbol] #

type Rep BackupRunsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.BackupRuns.Insert

type Rep BackupRunsInsert = D1 (MetaData "BackupRunsInsert" "Network.Google.Resource.SQL.BackupRuns.Insert" "gogol-sqladmin-0.4.0-E7PrzlfFsl19SfOpZznMc2" False) (C1 (MetaCons "BackupRunsInsert'" PrefixI True) (S1 (MetaSel (Just "_briProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_briPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BackupRun) :*: S1 (MetaSel (Just "_briInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes BackupRunsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.BackupRuns.Insert

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

Defined in Network.Google.Resource.SQL.BackupRuns.Insert

Request Lenses

briProject :: Lens' BackupRunsInsert Text Source #

Project ID of the project that contains the instance.

briPayload :: Lens' BackupRunsInsert BackupRun Source #

Multipart request metadata.

briInstance :: Lens' BackupRunsInsert Text Source #

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