gogol-binaryauthorization-0.4.0: Google Binary Authorization 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.BinaryAuthorization.Projects.Attestors.SetIAMPolicy

Contents

Description

Sets the access control policy on the specified resource. Replaces any existing policy.

See: Binary Authorization API Reference for binaryauthorization.projects.attestors.setIamPolicy.

Synopsis

REST Resource

type ProjectsAttestorsSetIAMPolicyResource = "v1beta1" :> (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] IAMPolicy)))))))) Source #

A resource alias for binaryauthorization.projects.attestors.setIamPolicy method which the ProjectsAttestorsSetIAMPolicy request conforms to.

Creating a Request

data ProjectsAttestorsSetIAMPolicy Source #

Sets the access control policy on the specified resource. Replaces any existing policy.

See: projectsAttestorsSetIAMPolicy smart constructor.

Instances
Eq ProjectsAttestorsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Attestors.SetIAMPolicy

Data ProjectsAttestorsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Attestors.SetIAMPolicy

Methods

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

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

toConstr :: ProjectsAttestorsSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsAttestorsSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsAttestorsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Attestors.SetIAMPolicy

Generic ProjectsAttestorsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Attestors.SetIAMPolicy

Associated Types

type Rep ProjectsAttestorsSetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsAttestorsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Attestors.SetIAMPolicy

type Rep ProjectsAttestorsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Attestors.SetIAMPolicy

type Rep ProjectsAttestorsSetIAMPolicy = D1 (MetaData "ProjectsAttestorsSetIAMPolicy" "Network.Google.Resource.BinaryAuthorization.Projects.Attestors.SetIAMPolicy" "gogol-binaryauthorization-0.4.0-BhgUYr1FlAtBUJGnGudaWV" False) (C1 (MetaCons "ProjectsAttestorsSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pasipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pasipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pasipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pasipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pasipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_pasipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pasipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsAttestorsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Attestors.SetIAMPolicy

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

Defined in Network.Google.Resource.BinaryAuthorization.Projects.Attestors.SetIAMPolicy

Request Lenses

pasipUploadProtocol :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Text) Source #

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

pasipUploadType :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Text) Source #

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

pasipResource :: Lens' ProjectsAttestorsSetIAMPolicy Text Source #

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