gogol-bigtableadmin-0.4.0: Google Cloud Bigtable 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.BigtableAdmin.Projects.Instances.Create

Contents

Description

Create an instance within a project.

See: Cloud Bigtable Admin API Reference for bigtableadmin.projects.instances.create.

Synopsis

REST Resource

type ProjectsInstancesCreateResource = "v2" :> (Capture "parent" Text :> ("instances" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateInstanceRequest :> Post '[JSON] Operation))))))))) Source #

A resource alias for bigtableadmin.projects.instances.create method which the ProjectsInstancesCreate request conforms to.

Creating a Request

projectsInstancesCreate Source #

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

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

data ProjectsInstancesCreate Source #

Create an instance within a project.

See: projectsInstancesCreate smart constructor.

Instances
Eq ProjectsInstancesCreate Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Create

Data ProjectsInstancesCreate Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Create

Methods

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

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

toConstr :: ProjectsInstancesCreate -> Constr #

dataTypeOf :: ProjectsInstancesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesCreate Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Create

Generic ProjectsInstancesCreate Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Create

Associated Types

type Rep ProjectsInstancesCreate :: Type -> Type #

GoogleRequest ProjectsInstancesCreate Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Create

type Rep ProjectsInstancesCreate Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Create

type Rep ProjectsInstancesCreate = D1 (MetaData "ProjectsInstancesCreate" "Network.Google.Resource.BigtableAdmin.Projects.Instances.Create" "gogol-bigtableadmin-0.4.0-6szCCW4cHyY2Lkz5NnlqK" False) (C1 (MetaCons "ProjectsInstancesCreate'" PrefixI True) ((S1 (MetaSel (Just "_picParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_picXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_picUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_picAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_picUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_picPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateInstanceRequest) :*: S1 (MetaSel (Just "_picCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesCreate Source # 
Instance details

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Create

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

Defined in Network.Google.Resource.BigtableAdmin.Projects.Instances.Create

Request Lenses

picParent :: Lens' ProjectsInstancesCreate Text Source #

The unique name of the project in which to create the new instance. Values are of the form `projects/`.

picUploadProtocol :: Lens' ProjectsInstancesCreate (Maybe Text) Source #

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

picUploadType :: Lens' ProjectsInstancesCreate (Maybe Text) Source #

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