gogol-pubsub-0.4.0: Google Cloud Pub/Sub 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.PubSub.Projects.Subscriptions.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: Cloud Pub/Sub API Reference for pubsub.projects.subscriptions.getIamPolicy.

Synopsis

REST Resource

type ProjectsSubscriptionsGetIAMPolicyResource = "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] Policy))))))) Source #

A resource alias for pubsub.projects.subscriptions.getIamPolicy method which the ProjectsSubscriptionsGetIAMPolicy request conforms to.

Creating a Request

projectsSubscriptionsGetIAMPolicy Source #

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

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

data ProjectsSubscriptionsGetIAMPolicy 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: projectsSubscriptionsGetIAMPolicy smart constructor.

Instances
Eq ProjectsSubscriptionsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.GetIAMPolicy

Data ProjectsSubscriptionsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.GetIAMPolicy

Methods

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

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

toConstr :: ProjectsSubscriptionsGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsSubscriptionsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsSubscriptionsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.GetIAMPolicy

Generic ProjectsSubscriptionsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.GetIAMPolicy

Associated Types

type Rep ProjectsSubscriptionsGetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsSubscriptionsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.GetIAMPolicy

type Rep ProjectsSubscriptionsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.GetIAMPolicy

type Rep ProjectsSubscriptionsGetIAMPolicy = D1 (MetaData "ProjectsSubscriptionsGetIAMPolicy" "Network.Google.Resource.PubSub.Projects.Subscriptions.GetIAMPolicy" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ProjectsSubscriptionsGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_psgiampXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psgiampUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psgiampAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_psgiampUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_psgiampResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psgiampCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsSubscriptionsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.GetIAMPolicy

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

Defined in Network.Google.Resource.PubSub.Projects.Subscriptions.GetIAMPolicy

Request Lenses

psgiampUploadProtocol :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) Source #

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

psgiampUploadType :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) Source #

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

psgiampResource :: Lens' ProjectsSubscriptionsGetIAMPolicy Text Source #

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