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

Contents

Description

Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.

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

Synopsis

REST Resource

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

A resource alias for sql.instances.import method which the InstancesImport request conforms to.

Creating a Request

instancesImport Source #

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

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

data InstancesImport Source #

Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.

See: instancesImport smart constructor.

Instances
Eq InstancesImport Source # 
Instance details

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

Data InstancesImport Source # 
Instance details

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

Methods

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

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

toConstr :: InstancesImport -> Constr #

dataTypeOf :: InstancesImport -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesImport Source # 
Instance details

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

Generic InstancesImport Source # 
Instance details

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

Associated Types

type Rep InstancesImport :: Type -> Type #

GoogleRequest InstancesImport Source # 
Instance details

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

Associated Types

type Rs InstancesImport :: Type #

type Scopes InstancesImport :: [Symbol] #

type Rep InstancesImport Source # 
Instance details

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

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

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

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

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

Request Lenses

iiProject :: Lens' InstancesImport Text Source #

Project ID of the project that contains the instance.

iiInstance :: Lens' InstancesImport Text Source #

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