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

Contents

Description

Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.

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

Synopsis

REST Resource

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

A resource alias for sql.instances.export method which the InstancesExport request conforms to.

Creating a Request

instancesExport Source #

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

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

data InstancesExport Source #

Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.

See: instancesExport smart constructor.

Instances
Eq InstancesExport Source # 
Instance details

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

Data InstancesExport Source # 
Instance details

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

Methods

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

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

toConstr :: InstancesExport -> Constr #

dataTypeOf :: InstancesExport -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesExport Source # 
Instance details

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

Generic InstancesExport Source # 
Instance details

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

Associated Types

type Rep InstancesExport :: Type -> Type #

GoogleRequest InstancesExport Source # 
Instance details

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

Associated Types

type Rs InstancesExport :: Type #

type Scopes InstancesExport :: [Symbol] #

type Rep InstancesExport Source # 
Instance details

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

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

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

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

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

Request Lenses

ieProject :: Lens' InstancesExport Text Source #

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

ieInstance :: Lens' InstancesExport Text Source #

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