Copyright | (c) 2015 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 |
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
.
- 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)))))))))))
- organizationsGetIAMPolicy :: GetIAMPolicyRequest -> Text -> OrganizationsGetIAMPolicy
- data OrganizationsGetIAMPolicy
- ogipXgafv :: Lens' OrganizationsGetIAMPolicy (Maybe Text)
- ogipUploadProtocol :: Lens' OrganizationsGetIAMPolicy (Maybe Text)
- ogipPp :: Lens' OrganizationsGetIAMPolicy Bool
- ogipAccessToken :: Lens' OrganizationsGetIAMPolicy (Maybe Text)
- ogipUploadType :: Lens' OrganizationsGetIAMPolicy (Maybe Text)
- ogipPayload :: Lens' OrganizationsGetIAMPolicy GetIAMPolicyRequest
- ogipBearerToken :: Lens' OrganizationsGetIAMPolicy (Maybe Text)
- ogipResource :: Lens' OrganizationsGetIAMPolicy Text
- ogipCallback :: Lens' OrganizationsGetIAMPolicy (Maybe Text)
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
organizationsGetIAMPolicy Source
Creates a value of OrganizationsGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsGetIAMPolicy Source
Gets the access control policy for a Organization resource. May be empty if no such policy or resource exists.
See: organizationsGetIAMPolicy
smart constructor.
Request Lenses
ogipUploadProtocol :: Lens' OrganizationsGetIAMPolicy (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
ogipPp :: Lens' OrganizationsGetIAMPolicy Bool Source
Pretty-print response.
ogipAccessToken :: Lens' OrganizationsGetIAMPolicy (Maybe Text) Source
OAuth access token.
ogipUploadType :: Lens' OrganizationsGetIAMPolicy (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
ogipPayload :: Lens' OrganizationsGetIAMPolicy GetIAMPolicyRequest Source
Multipart request metadata.
ogipBearerToken :: Lens' OrganizationsGetIAMPolicy (Maybe Text) Source
OAuth bearer token.
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}`.
ogipCallback :: Lens' OrganizationsGetIAMPolicy (Maybe Text) Source
JSONP