gogol-spanner-0.4.0: Google Cloud Spanner 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.Spanner.Projects.Instances.Databases.GetDdl

Contents

Description

Returns the schema of a Cloud Spanner database as a list of formatted DDL statements. This method does not show pending schema updates, those may be queried using the Operations API.

See: Cloud Spanner API Reference for spanner.projects.instances.databases.getDdl.

Synopsis

REST Resource

type ProjectsInstancesDatabasesGetDdlResource = "v1" :> (Capture "database" Text :> ("ddl" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetDatabaseDdlResponse)))))))) Source #

A resource alias for spanner.projects.instances.databases.getDdl method which the ProjectsInstancesDatabasesGetDdl request conforms to.

Creating a Request

projectsInstancesDatabasesGetDdl Source #

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

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

data ProjectsInstancesDatabasesGetDdl Source #

Returns the schema of a Cloud Spanner database as a list of formatted DDL statements. This method does not show pending schema updates, those may be queried using the Operations API.

See: projectsInstancesDatabasesGetDdl smart constructor.

Instances
Eq ProjectsInstancesDatabasesGetDdl Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.GetDdl

Data ProjectsInstancesDatabasesGetDdl Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.GetDdl

Methods

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

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

toConstr :: ProjectsInstancesDatabasesGetDdl -> Constr #

dataTypeOf :: ProjectsInstancesDatabasesGetDdl -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesDatabasesGetDdl Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.GetDdl

Generic ProjectsInstancesDatabasesGetDdl Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.GetDdl

Associated Types

type Rep ProjectsInstancesDatabasesGetDdl :: Type -> Type #

GoogleRequest ProjectsInstancesDatabasesGetDdl Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.GetDdl

type Rep ProjectsInstancesDatabasesGetDdl Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.GetDdl

type Rep ProjectsInstancesDatabasesGetDdl = D1 (MetaData "ProjectsInstancesDatabasesGetDdl" "Network.Google.Resource.Spanner.Projects.Instances.Databases.GetDdl" "gogol-spanner-0.4.0-Gx6Dlj0rchWGrfXCDHk4fo" False) (C1 (MetaCons "ProjectsInstancesDatabasesGetDdl'" PrefixI True) ((S1 (MetaSel (Just "_pidgdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pidgdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidgdDatabase") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_pidgdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pidgdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidgdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesDatabasesGetDdl Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.GetDdl

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

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.GetDdl

Request Lenses

pidgdUploadProtocol :: Lens' ProjectsInstancesDatabasesGetDdl (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pidgdDatabase :: Lens' ProjectsInstancesDatabasesGetDdl Text Source #

Required. The database whose schema we wish to get.

pidgdUploadType :: Lens' ProjectsInstancesDatabasesGetDdl (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").