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




Returns permissions that a caller has on the specified Organization.

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


REST Resource

type OrganizationsTestIAMPermissionsResource = "v1beta1" :> ("organizations" :> (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.organizations.testIamPermissions method which the OrganizationsTestIAMPermissions request conforms to.

Creating a Request

Request Lenses

otipUploadProtocol :: Lens' OrganizationsTestIAMPermissions (Maybe Text) Source

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

otipUploadType :: Lens' OrganizationsTestIAMPermissions (Maybe Text) Source

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

otipResource :: Lens' OrganizationsTestIAMPermissions Text Source

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