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

Contents

Description

Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following Google IAM permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy`

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

Synopsis

REST Resource

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

A resource alias for cloudtasks.projects.locations.queues.setIamPolicy method which the ProjectsLocationsQueuesSetIAMPolicy request conforms to.

Creating a Request

data ProjectsLocationsQueuesSetIAMPolicy Source #

Sets the access control policy for a Queue. Replaces any existing policy. Note: The Cloud Console does not check queue-level IAM permissions yet. Project-level permissions are required to use the Cloud Console. Authorization requires the following Google IAM permission on the specified resource parent: * `cloudtasks.queues.setIamPolicy`

See: projectsLocationsQueuesSetIAMPolicy smart constructor.

Instances
Eq ProjectsLocationsQueuesSetIAMPolicy Source # 
Instance details

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

Data ProjectsLocationsQueuesSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsQueuesSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsLocationsQueuesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsQueuesSetIAMPolicy Source # 
Instance details

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

Generic ProjectsLocationsQueuesSetIAMPolicy Source # 
Instance details

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

GoogleRequest ProjectsLocationsQueuesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsLocationsQueuesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsLocationsQueuesSetIAMPolicy = D1 (MetaData "ProjectsLocationsQueuesSetIAMPolicy" "Network.Google.Resource.CloudTasks.Projects.Locations.Queues.SetIAMPolicy" "gogol-cloudtasks-0.4.0-JYw8G9RDcROAs8IJ376NEk" False) (C1 (MetaCons "ProjectsLocationsQueuesSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_plqsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plqsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plqsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plqsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_plqsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plqsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsQueuesSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

plqsipUploadProtocol :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Text) Source #

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

plqsipUploadType :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Text) Source #

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

plqsipResource :: Lens' ProjectsLocationsQueuesSetIAMPolicy Text Source #

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