gogol-pubsub-0.2.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.TestIAMPermissions

Contents

Description

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

See: Google Cloud Pub/Sub API Reference for pubsub.projects.subscriptions.testIamPermissions.

Synopsis

REST Resource

type ProjectsSubscriptionsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" 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 :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))))) Source #

A resource alias for pubsub.projects.subscriptions.testIamPermissions method which the ProjectsSubscriptionsTestIAMPermissions request conforms to.

Creating a Request

data ProjectsSubscriptionsTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.

See: projectsSubscriptionsTestIAMPermissions smart constructor.

Instances

Eq ProjectsSubscriptionsTestIAMPermissions Source # 
Data ProjectsSubscriptionsTestIAMPermissions Source # 

Methods

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

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

toConstr :: ProjectsSubscriptionsTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsSubscriptionsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsSubscriptionsTestIAMPermissions Source # 
Generic ProjectsSubscriptionsTestIAMPermissions Source # 
GoogleRequest ProjectsSubscriptionsTestIAMPermissions Source # 
type Rep ProjectsSubscriptionsTestIAMPermissions Source # 
type Rep ProjectsSubscriptionsTestIAMPermissions = D1 (MetaData "ProjectsSubscriptionsTestIAMPermissions" "Network.Google.Resource.PubSub.Projects.Subscriptions.TestIAMPermissions" "gogol-pubsub-0.2.0-2dIISV1WvQ8F6ZilEJHl39" False) (C1 (MetaCons "ProjectsSubscriptionsTestIAMPermissions'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pstiampXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_pstiampUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_pstiampPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_pstiampAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pstiampUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pstiampPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest))) ((:*:) (S1 (MetaSel (Just Symbol "_pstiampBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pstiampResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_pstiampCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes ProjectsSubscriptionsTestIAMPermissions Source # 
type Scopes ProjectsSubscriptionsTestIAMPermissions = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/pubsub" ([] Symbol))
type Rs ProjectsSubscriptionsTestIAMPermissions Source # 

Request Lenses

pstiampUploadProtocol :: Lens' ProjectsSubscriptionsTestIAMPermissions (Maybe Text) Source #

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

pstiampUploadType :: Lens' ProjectsSubscriptionsTestIAMPermissions (Maybe Text) Source #

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

pstiampResource :: Lens' ProjectsSubscriptionsTestIAMPermissions Text Source #

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