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

Contents

Description

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: Service Broker API Reference for servicebroker.getIamPolicy.

Synopsis

REST Resource

type GetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleIAMV1__Policy))))))) Source #

A resource alias for servicebroker.getIamPolicy method which the GetIAMPolicy request conforms to.

Creating a Request

getIAMPolicy Source #

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

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

data GetIAMPolicy Source #

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: getIAMPolicy smart constructor.

Instances
Eq GetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.GetIAMPolicy

Data GetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.GetIAMPolicy

Methods

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

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

toConstr :: GetIAMPolicy -> Constr #

dataTypeOf :: GetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.GetIAMPolicy

Generic GetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.GetIAMPolicy

Associated Types

type Rep GetIAMPolicy :: Type -> Type #

GoogleRequest GetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.GetIAMPolicy

Associated Types

type Rs GetIAMPolicy :: Type #

type Scopes GetIAMPolicy :: [Symbol] #

type Rep GetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.GetIAMPolicy

type Rep GetIAMPolicy = D1 (MetaData "GetIAMPolicy" "Network.Google.Resource.ServiceBroker.GetIAMPolicy" "gogol-servicebroker-0.4.0-378DxXBBEB9BcpeeXB9Tvu" False) (C1 (MetaCons "GetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_gipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_gipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_gipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes GetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.ServiceBroker.GetIAMPolicy

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

Defined in Network.Google.Resource.ServiceBroker.GetIAMPolicy

Request Lenses

gipUploadProtocol :: Lens' GetIAMPolicy (Maybe Text) Source #

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

gipUploadType :: Lens' GetIAMPolicy (Maybe Text) Source #

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

gipResource :: Lens' GetIAMPolicy Text Source #

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