Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))
- projectsLocationsQueuesSetIAMPolicy :: SetIAMPolicyRequest -> Text -> ProjectsLocationsQueuesSetIAMPolicy
- data ProjectsLocationsQueuesSetIAMPolicy
- plqsipXgafv :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Xgafv)
- plqsipUploadProtocol :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Text)
- plqsipAccessToken :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Text)
- plqsipUploadType :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Text)
- plqsipPayload :: Lens' ProjectsLocationsQueuesSetIAMPolicy SetIAMPolicyRequest
- plqsipResource :: Lens' ProjectsLocationsQueuesSetIAMPolicy Text
- plqsipCallback :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Text)
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
projectsLocationsQueuesSetIAMPolicy Source #
Creates a value of ProjectsLocationsQueuesSetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
Request Lenses
plqsipXgafv :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
plqsipUploadProtocol :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plqsipAccessToken :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Text) Source #
OAuth access token.
plqsipUploadType :: Lens' ProjectsLocationsQueuesSetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plqsipPayload :: Lens' ProjectsLocationsQueuesSetIAMPolicy SetIAMPolicyRequest Source #
Multipart request metadata.
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.