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.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: 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 "access_token" Text :> (QueryParam "uploadType" 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 # 
Instance details

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

Data ProjectsSnapshotsGetIAMPolicy Source # 
Instance details

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

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 # 
Instance details

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

Generic ProjectsSnapshotsGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep ProjectsSnapshotsGetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsSnapshotsGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsSnapshotsGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsSnapshotsGetIAMPolicy = D1 (MetaData "ProjectsSnapshotsGetIAMPolicy" "Network.Google.Resource.PubSub.Projects.Snapshots.GetIAMPolicy" "gogol-pubsub-0.4.0-4HrlFZL2Veq5x2Cv2TajBN" False) (C1 (MetaCons "ProjectsSnapshotsGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_psgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_psgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_psgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsSnapshotsGetIAMPolicy Source # 
Instance details

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

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

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

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. See the operation documentation for the appropriate value for this field.