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.Clusters.Create

Contents

Description

Creates a cluster within an instance.

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

Synopsis

REST Resource

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

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

Creating a Request

projectsInstancesClustersCreate Source #

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

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

data ProjectsInstancesClustersCreate Source #

Creates a cluster within an instance.

See: projectsInstancesClustersCreate smart constructor.

Instances
Eq ProjectsInstancesClustersCreate Source # 
Instance details

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

Data ProjectsInstancesClustersCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInstancesClustersCreate -> Constr #

dataTypeOf :: ProjectsInstancesClustersCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesClustersCreate Source # 
Instance details

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

Generic ProjectsInstancesClustersCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsInstancesClustersCreate :: Type -> Type #

GoogleRequest ProjectsInstancesClustersCreate Source # 
Instance details

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

type Rep ProjectsInstancesClustersCreate Source # 
Instance details

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

type Rep ProjectsInstancesClustersCreate = D1 (MetaData "ProjectsInstancesClustersCreate" "Network.Google.Resource.BigtableAdmin.Projects.Instances.Clusters.Create" "gogol-bigtableadmin-0.4.0-6szCCW4cHyY2Lkz5NnlqK" False) (C1 (MetaCons "ProjectsInstancesClustersCreate'" PrefixI True) (((S1 (MetaSel (Just "_piccParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_piccXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_piccUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piccAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_piccUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piccPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Cluster)) :*: (S1 (MetaSel (Just "_piccClusterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piccCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesClustersCreate Source # 
Instance details

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

type Scopes ProjectsInstancesClustersCreate = "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 ProjectsInstancesClustersCreate Source # 
Instance details

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

Request Lenses

piccParent :: Lens' ProjectsInstancesClustersCreate Text Source #

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

piccUploadProtocol :: Lens' ProjectsInstancesClustersCreate (Maybe Text) Source #

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

piccUploadType :: Lens' ProjectsInstancesClustersCreate (Maybe Text) Source #

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

piccClusterId :: Lens' ProjectsInstancesClustersCreate (Maybe Text) Source #

The ID to be used when referring to the new cluster within its instance, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`.