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

Contents

Description

Updates an instance within a project. This method updates only the display name and type for an Instance. To update other Instance properties, such as labels, use PartialUpdateInstance.

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

Synopsis

REST Resource

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

A resource alias for bigtableadmin.projects.instances.update method which the ProjectsInstancesUpdate request conforms to.

Creating a Request

projectsInstancesUpdate Source #

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

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

data ProjectsInstancesUpdate Source #

Updates an instance within a project. This method updates only the display name and type for an Instance. To update other Instance properties, such as labels, use PartialUpdateInstance.

See: projectsInstancesUpdate smart constructor.

Instances
Eq ProjectsInstancesUpdate Source # 
Instance details

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

Data ProjectsInstancesUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInstancesUpdate -> Constr #

dataTypeOf :: ProjectsInstancesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesUpdate Source # 
Instance details

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

Generic ProjectsInstancesUpdate Source # 
Instance details

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

Associated Types

type Rep ProjectsInstancesUpdate :: Type -> Type #

GoogleRequest ProjectsInstancesUpdate Source # 
Instance details

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

type Rep ProjectsInstancesUpdate Source # 
Instance details

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

type Rep ProjectsInstancesUpdate = D1 (MetaData "ProjectsInstancesUpdate" "Network.Google.Resource.BigtableAdmin.Projects.Instances.Update" "gogol-bigtableadmin-0.4.0-6szCCW4cHyY2Lkz5NnlqK" False) (C1 (MetaCons "ProjectsInstancesUpdate'" PrefixI True) ((S1 (MetaSel (Just "_piuXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_piuUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piuAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_piuUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Instance)) :*: (S1 (MetaSel (Just "_piuName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_piuCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesUpdate Source # 
Instance details

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

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

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

Request Lenses

piuUploadProtocol :: Lens' ProjectsInstancesUpdate (Maybe Text) Source #

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

piuUploadType :: Lens' ProjectsInstancesUpdate (Maybe Text) Source #

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

piuName :: Lens' ProjectsInstancesUpdate Text Source #

(`OutputOnly`) The unique name of the instance. Values are of the form `projects//instances/a-z+[a-z0-9]`.