gogol-pubsub-0.3.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.Snapshots.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: Google Cloud Pub/Sub API Reference for pubsub.projects.snapshots.getIamPolicy.

Synopsis

REST Resource

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

A resource alias for pubsub.projects.snapshots.getIamPolicy method which the ProjectsSnapshotsGetIAMPolicy request conforms to.

Creating a Request

projectsSnapshotsGetIAMPolicy Source #

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

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

data ProjectsSnapshotsGetIAMPolicy 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: projectsSnapshotsGetIAMPolicy smart constructor.

Instances

Eq ProjectsSnapshotsGetIAMPolicy Source # 
Data ProjectsSnapshotsGetIAMPolicy Source # 

Methods

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

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

toConstr :: ProjectsSnapshotsGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsSnapshotsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsSnapshotsGetIAMPolicy Source # 
Generic ProjectsSnapshotsGetIAMPolicy Source # 
GoogleRequest ProjectsSnapshotsGetIAMPolicy Source # 
type Rep ProjectsSnapshotsGetIAMPolicy Source # 
type Rep ProjectsSnapshotsGetIAMPolicy = D1 (MetaData "ProjectsSnapshotsGetIAMPolicy" "Network.Google.Resource.PubSub.Projects.Snapshots.GetIAMPolicy" "gogol-pubsub-0.3.0-1dJ3Y6KufaPCaIO7uyOMh" False) (C1 (MetaCons "ProjectsSnapshotsGetIAMPolicy'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_psgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_psgipPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_psgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_psgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psgipBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_psgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_psgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsSnapshotsGetIAMPolicy Source # 
type Scopes ProjectsSnapshotsGetIAMPolicy = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/pubsub" ([] Symbol))
type Rs ProjectsSnapshotsGetIAMPolicy Source # 

Request Lenses

psgipUploadProtocol :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text) Source #

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

psgipUploadType :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text) Source #

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

psgipResource :: Lens' ProjectsSnapshotsGetIAMPolicy Text Source #

REQUIRED: The resource for which the policy is being requested. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.