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.GetIAMPolicy

Contents

Description

Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have a policy set. Authorization requires the following Google IAM permission on the specified resource parent: * `cloudtasks.queues.getIamPolicy`

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

Synopsis

REST Resource

type ProjectsLocationsQueuesGetIAMPolicyResource = "v2beta3" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #

A resource alias for cloudtasks.projects.locations.queues.getIamPolicy method which the ProjectsLocationsQueuesGetIAMPolicy request conforms to.

Creating a Request

data ProjectsLocationsQueuesGetIAMPolicy Source #

Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have a policy set. Authorization requires the following Google IAM permission on the specified resource parent: * `cloudtasks.queues.getIamPolicy`

See: projectsLocationsQueuesGetIAMPolicy smart constructor.

Instances
Eq ProjectsLocationsQueuesGetIAMPolicy Source # 
Instance details

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

Data ProjectsLocationsQueuesGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsQueuesGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsLocationsQueuesGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsQueuesGetIAMPolicy Source # 
Instance details

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

Generic ProjectsLocationsQueuesGetIAMPolicy Source # 
Instance details

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

GoogleRequest ProjectsLocationsQueuesGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsLocationsQueuesGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsLocationsQueuesGetIAMPolicy = D1 (MetaData "ProjectsLocationsQueuesGetIAMPolicy" "Network.Google.Resource.CloudTasks.Projects.Locations.Queues.GetIAMPolicy" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ProjectsLocationsQueuesGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_plqgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plqgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plqgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqgipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_plqgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plqgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsQueuesGetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

plqgipUploadProtocol :: Lens' ProjectsLocationsQueuesGetIAMPolicy (Maybe Text) Source #

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

plqgipUploadType :: Lens' ProjectsLocationsQueuesGetIAMPolicy (Maybe Text) Source #

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

plqgipResource :: Lens' ProjectsLocationsQueuesGetIAMPolicy Text Source #

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