gogol-cloudtasks-0.4.0: Google Cloud Tasks 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.CloudTasks.Projects.Locations.Queues.TestIAMPermissions

Contents

Description

Returns permissions that a caller has on a Queue. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

See: Cloud Tasks API Reference for cloudtasks.projects.locations.queues.testIamPermissions.

Synopsis

REST Resource

type ProjectsLocationsQueuesTestIAMPermissionsResource = "v2beta3" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))) Source #

A resource alias for cloudtasks.projects.locations.queues.testIamPermissions method which the ProjectsLocationsQueuesTestIAMPermissions request conforms to.

Creating a Request

data ProjectsLocationsQueuesTestIAMPermissions Source #

Returns permissions that a caller has on a Queue. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

See: projectsLocationsQueuesTestIAMPermissions smart constructor.

Instances
Eq ProjectsLocationsQueuesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.TestIAMPermissions

Data ProjectsLocationsQueuesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.TestIAMPermissions

Methods

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

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

toConstr :: ProjectsLocationsQueuesTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsLocationsQueuesTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsQueuesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.TestIAMPermissions

Generic ProjectsLocationsQueuesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.TestIAMPermissions

GoogleRequest ProjectsLocationsQueuesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.TestIAMPermissions

type Rep ProjectsLocationsQueuesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.TestIAMPermissions

type Rep ProjectsLocationsQueuesTestIAMPermissions = D1 (MetaData "ProjectsLocationsQueuesTestIAMPermissions" "Network.Google.Resource.CloudTasks.Projects.Locations.Queues.TestIAMPermissions" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ProjectsLocationsQueuesTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_plqtipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plqtipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqtipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plqtipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqtipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_plqtipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plqtipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsQueuesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.TestIAMPermissions

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

Defined in Network.Google.Resource.CloudTasks.Projects.Locations.Queues.TestIAMPermissions

Request Lenses

plqtipUploadProtocol :: Lens' ProjectsLocationsQueuesTestIAMPermissions (Maybe Text) Source #

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

plqtipUploadType :: Lens' ProjectsLocationsQueuesTestIAMPermissions (Maybe Text) Source #

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

plqtipResource :: Lens' ProjectsLocationsQueuesTestIAMPermissions Text Source #

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