gogol-servicebroker-0.4.0: Google Service Broker 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.ServiceBroker.SetIAMPolicy

Contents

Description

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

See: Service Broker API Reference for servicebroker.setIamPolicy.

Synopsis

REST Resource

type SetIAMPolicyResource = "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] GoogleIAMV1__SetIAMPolicyRequest :> Post '[JSON] GoogleIAMV1__Policy)))))))) Source #

A resource alias for servicebroker.setIamPolicy method which the SetIAMPolicy request conforms to.

Creating a Request

setIAMPolicy Source #

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

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

data SetIAMPolicy Source #

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

See: setIAMPolicy smart constructor.

Instances
Eq SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.SetIAMPolicy

Data SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.SetIAMPolicy

Methods

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

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

toConstr :: SetIAMPolicy -> Constr #

dataTypeOf :: SetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.SetIAMPolicy

Generic SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.SetIAMPolicy

Associated Types

type Rep SetIAMPolicy :: Type -> Type #

GoogleRequest SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.SetIAMPolicy

Associated Types

type Rs SetIAMPolicy :: Type #

type Scopes SetIAMPolicy :: [Symbol] #

type Rep SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.SetIAMPolicy

type Rep SetIAMPolicy = D1 (MetaData "SetIAMPolicy" "Network.Google.Resource.ServiceBroker.SetIAMPolicy" "gogol-servicebroker-0.4.0-378DxXBBEB9BcpeeXB9Tvu" False) (C1 (MetaCons "SetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_sipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_sipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleIAMV1__SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_sipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.SetIAMPolicy

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

Defined in Network.Google.Resource.ServiceBroker.SetIAMPolicy

Request Lenses

sipUploadProtocol :: Lens' SetIAMPolicy (Maybe Text) Source #

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

sipUploadType :: Lens' SetIAMPolicy (Maybe Text) Source #

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

sipResource :: Lens' SetIAMPolicy Text Source #

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