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

Contents

Description

Sets the access control policy on an instance resource. Replaces any existing policy.

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

Synopsis

REST Resource

type ProjectsInstancesSetIAMPolicyResource = "v2" :> (CaptureMode "resource" "setIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #

A resource alias for bigtableadmin.projects.instances.setIamPolicy method which the ProjectsInstancesSetIAMPolicy request conforms to.

Creating a Request

data ProjectsInstancesSetIAMPolicy Source #

Sets the access control policy on an instance resource. Replaces any existing policy.

See: projectsInstancesSetIAMPolicy smart constructor.

Instances
Eq ProjectsInstancesSetIAMPolicy Source # 
Instance details

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

Data ProjectsInstancesSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInstancesSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsInstancesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesSetIAMPolicy Source # 
Instance details

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

Generic ProjectsInstancesSetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep ProjectsInstancesSetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsInstancesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsInstancesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsInstancesSetIAMPolicy = D1 (MetaData "ProjectsInstancesSetIAMPolicy" "Network.Google.Resource.BigtableAdmin.Projects.Instances.SetIAMPolicy" "gogol-bigtableadmin-0.4.0-6szCCW4cHyY2Lkz5NnlqK" False) (C1 (MetaCons "ProjectsInstancesSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pisipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pisipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pisipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pisipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pisipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_pisipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pisipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

pisipUploadProtocol :: Lens' ProjectsInstancesSetIAMPolicy (Maybe Text) Source #

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

pisipUploadType :: Lens' ProjectsInstancesSetIAMPolicy (Maybe Text) Source #

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

pisipResource :: Lens' ProjectsInstancesSetIAMPolicy Text Source #

REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.