gogol-resourcemanager-0.0.1: Google Cloud Resource Manager SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




Tests the specified permissions against the IAM access control policy for the specified project.

See: Google Cloud Resource Manager API Reference for cloudresourcemanager.projects.testIamPermissions.


REST Resource

type ProjectsTestIAMPermissionsResource = "v1beta1" :> ("projects" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Text :> (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 cloudresourcemanager.projects.testIamPermissions method which the ProjectsTestIAMPermissions request conforms to.

Creating a Request

Request Lenses

ptipUploadProtocol :: Lens' ProjectsTestIAMPermissions (Maybe Text) Source

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

ptipUploadType :: Lens' ProjectsTestIAMPermissions (Maybe Text) Source

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

ptipResource :: Lens' ProjectsTestIAMPermissions Text Source

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