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




Gets the access control policy for a Organization resource. May be empty if no such policy or resource exists.

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


REST Resource

type OrganizationsGetIAMPolicyResource = "v1beta1" :> ("organizations" :> (CaptureMode "resource" "getIamPolicy" 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]` GetIAMPolicyRequest :> Post `[JSON]` Policy))))))))))) Source

A resource alias for cloudresourcemanager.organizations.getIamPolicy method which the OrganizationsGetIAMPolicy request conforms to.

Creating a Request

Request Lenses

ogipUploadProtocol :: Lens' OrganizationsGetIAMPolicy (Maybe Text) Source

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

ogipUploadType :: Lens' OrganizationsGetIAMPolicy (Maybe Text) Source

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

ogipResource :: Lens' OrganizationsGetIAMPolicy Text Source

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