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

Contents

Description

Gets information about a particular instance.

See: Cloud Spanner API Reference for spanner.projects.instances.get.

Synopsis

REST Resource

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

A resource alias for spanner.projects.instances.get method which the ProjectsInstancesGet request conforms to.

Creating a Request

projectsInstancesGet Source #

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

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

data ProjectsInstancesGet Source #

Gets information about a particular instance.

See: projectsInstancesGet smart constructor.

Instances
Eq ProjectsInstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Get

Data ProjectsInstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Get

Methods

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

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

toConstr :: ProjectsInstancesGet -> Constr #

dataTypeOf :: ProjectsInstancesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Get

Generic ProjectsInstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Get

Associated Types

type Rep ProjectsInstancesGet :: Type -> Type #

GoogleRequest ProjectsInstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Get

Associated Types

type Rs ProjectsInstancesGet :: Type #

type Scopes ProjectsInstancesGet :: [Symbol] #

type Rep ProjectsInstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Get

type Rep ProjectsInstancesGet = D1 (MetaData "ProjectsInstancesGet" "Network.Google.Resource.Spanner.Projects.Instances.Get" "gogol-spanner-0.4.0-Gx6Dlj0rchWGrfXCDHk4fo" False) (C1 (MetaCons "ProjectsInstancesGet'" PrefixI True) ((S1 (MetaSel (Just "_pigXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pigUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pigAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pigUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pigName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pigCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Get

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

Defined in Network.Google.Resource.Spanner.Projects.Instances.Get

Request Lenses

pigUploadProtocol :: Lens' ProjectsInstancesGet (Maybe Text) Source #

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

pigUploadType :: Lens' ProjectsInstancesGet (Maybe Text) Source #

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

pigName :: Lens' ProjectsInstancesGet Text Source #

Required. The name of the requested instance. Values are of the form `projects//instances/`.