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.Topics.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.topics.getIamPolicy.

Synopsis

REST Resource

type ProjectsTopicsGetIAMPolicyResource = "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.topics.getIamPolicy method which the ProjectsTopicsGetIAMPolicy request conforms to.

Creating a Request

projectsTopicsGetIAMPolicy Source #

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

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

data ProjectsTopicsGetIAMPolicy 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: projectsTopicsGetIAMPolicy smart constructor.

Instances
Eq ProjectsTopicsGetIAMPolicy Source # 
Instance details

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

Data ProjectsTopicsGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsTopicsGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsTopicsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTopicsGetIAMPolicy Source # 
Instance details

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

Generic ProjectsTopicsGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep ProjectsTopicsGetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsTopicsGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsTopicsGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsTopicsGetIAMPolicy = D1 (MetaData "ProjectsTopicsGetIAMPolicy" "Network.Google.Resource.PubSub.Projects.Topics.GetIAMPolicy" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ProjectsTopicsGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_ptgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ptgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ptgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ptgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTopicsGetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

ptgipUploadProtocol :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text) Source #

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

ptgipUploadType :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text) Source #

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

ptgipResource :: Lens' ProjectsTopicsGetIAMPolicy Text Source #

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