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 |
Returns the IAM access control policy for a ServiceAccount.
See: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.getIamPolicy
.
Synopsis
- type ProjectsServiceAccountsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Policy)))))))
- projectsServiceAccountsGetIAMPolicy :: Text -> ProjectsServiceAccountsGetIAMPolicy
- data ProjectsServiceAccountsGetIAMPolicy
- psagipXgafv :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Xgafv)
- psagipUploadProtocol :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Text)
- psagipAccessToken :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Text)
- psagipUploadType :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Text)
- psagipResource :: Lens' ProjectsServiceAccountsGetIAMPolicy Text
- psagipCallback :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsServiceAccountsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Policy))))))) Source #
A resource alias for iam.projects.serviceAccounts.getIamPolicy
method which the
ProjectsServiceAccountsGetIAMPolicy
request conforms to.
Creating a Request
projectsServiceAccountsGetIAMPolicy Source #
Creates a value of ProjectsServiceAccountsGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsServiceAccountsGetIAMPolicy Source #
Returns the IAM access control policy for a ServiceAccount.
See: projectsServiceAccountsGetIAMPolicy
smart constructor.
Instances
Request Lenses
psagipXgafv :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
psagipUploadProtocol :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psagipAccessToken :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Text) Source #
OAuth access token.
psagipUploadType :: Lens' ProjectsServiceAccountsGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psagipResource :: Lens' ProjectsServiceAccountsGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.