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

Contents

Description

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

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

Synopsis

REST Resource

type ProjectsPolicySetIAMPolicyResource = "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.policy.setIamPolicy method which the ProjectsPolicySetIAMPolicy request conforms to.

Creating a Request

projectsPolicySetIAMPolicy Source #

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

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

data ProjectsPolicySetIAMPolicy Source #

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

See: projectsPolicySetIAMPolicy smart constructor.

Instances
Eq ProjectsPolicySetIAMPolicy Source # 
Instance details

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

Data ProjectsPolicySetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsPolicySetIAMPolicy -> Constr #

dataTypeOf :: ProjectsPolicySetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsPolicySetIAMPolicy Source # 
Instance details

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

Generic ProjectsPolicySetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep ProjectsPolicySetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsPolicySetIAMPolicy Source # 
Instance details

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

type Rep ProjectsPolicySetIAMPolicy Source # 
Instance details

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

type Rep ProjectsPolicySetIAMPolicy = D1 (MetaData "ProjectsPolicySetIAMPolicy" "Network.Google.Resource.BinaryAuthorization.Projects.Policy.SetIAMPolicy" "gogol-binaryauthorization-0.4.0-BhgUYr1FlAtBUJGnGudaWV" False) (C1 (MetaCons "ProjectsPolicySetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_ppsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ppsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ppsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ppsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ppsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_ppsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ppsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsPolicySetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

ppsipUploadProtocol :: Lens' ProjectsPolicySetIAMPolicy (Maybe Text) Source #

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

ppsipUploadType :: Lens' ProjectsPolicySetIAMPolicy (Maybe Text) Source #

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

ppsipResource :: Lens' ProjectsPolicySetIAMPolicy Text Source #

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