gogol-securitycenter-0.5.0: Google Cloud Security Command Center 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.SecurityCenter.Organizations.Sources.SetIAMPolicy

Contents

Description

Sets the access control policy on the specified Source.

See: Cloud Security Command Center API Reference for securitycenter.organizations.sources.setIamPolicy.

Synopsis

REST Resource

type OrganizationsSourcesSetIAMPolicyResource = "v1" :> (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 securitycenter.organizations.sources.setIamPolicy method which the OrganizationsSourcesSetIAMPolicy request conforms to.

Creating a Request

data OrganizationsSourcesSetIAMPolicy Source #

Sets the access control policy on the specified Source.

See: organizationsSourcesSetIAMPolicy smart constructor.

Instances
Eq OrganizationsSourcesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.SetIAMPolicy

Data OrganizationsSourcesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.SetIAMPolicy

Methods

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

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

toConstr :: OrganizationsSourcesSetIAMPolicy -> Constr #

dataTypeOf :: OrganizationsSourcesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsSourcesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.SetIAMPolicy

Generic OrganizationsSourcesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.SetIAMPolicy

Associated Types

type Rep OrganizationsSourcesSetIAMPolicy :: Type -> Type #

GoogleRequest OrganizationsSourcesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.SetIAMPolicy

type Rep OrganizationsSourcesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.SetIAMPolicy

type Rep OrganizationsSourcesSetIAMPolicy = D1 (MetaData "OrganizationsSourcesSetIAMPolicy" "Network.Google.Resource.SecurityCenter.Organizations.Sources.SetIAMPolicy" "gogol-securitycenter-0.5.0-4oi8fso9vls5uQpo9HyLkG" False) (C1 (MetaCons "OrganizationsSourcesSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_ossipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ossipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ossipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ossipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ossipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_ossipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ossipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsSourcesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.SetIAMPolicy

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

Defined in Network.Google.Resource.SecurityCenter.Organizations.Sources.SetIAMPolicy

Request Lenses

ossipUploadProtocol :: Lens' OrganizationsSourcesSetIAMPolicy (Maybe Text) Source #

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

ossipUploadType :: Lens' OrganizationsSourcesSetIAMPolicy (Maybe Text) Source #

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

ossipResource :: Lens' OrganizationsSourcesSetIAMPolicy Text Source #

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