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 |
Tests the specified permissions against the IAM access control policy for a ServiceAccount.
See: Identity and Access Management (IAM) API Reference for iam.projects.serviceAccounts.testIamPermissions
.
Synopsis
- type ProjectsServiceAccountsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse))))))))
- projectsServiceAccountsTestIAMPermissions :: TestIAMPermissionsRequest -> Text -> ProjectsServiceAccountsTestIAMPermissions
- data ProjectsServiceAccountsTestIAMPermissions
- psatipXgafv :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Xgafv)
- psatipUploadProtocol :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Text)
- psatipAccessToken :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Text)
- psatipUploadType :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Text)
- psatipPayload :: Lens' ProjectsServiceAccountsTestIAMPermissions TestIAMPermissionsRequest
- psatipResource :: Lens' ProjectsServiceAccountsTestIAMPermissions Text
- psatipCallback :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Text)
REST Resource
type ProjectsServiceAccountsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))) Source #
A resource alias for iam.projects.serviceAccounts.testIamPermissions
method which the
ProjectsServiceAccountsTestIAMPermissions
request conforms to.
Creating a Request
projectsServiceAccountsTestIAMPermissions Source #
Creates a value of ProjectsServiceAccountsTestIAMPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsServiceAccountsTestIAMPermissions Source #
Tests the specified permissions against the IAM access control policy for a ServiceAccount.
See: projectsServiceAccountsTestIAMPermissions
smart constructor.
Instances
Request Lenses
psatipXgafv :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Xgafv) Source #
V1 error format.
psatipUploadProtocol :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psatipAccessToken :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Text) Source #
OAuth access token.
psatipUploadType :: Lens' ProjectsServiceAccountsTestIAMPermissions (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psatipPayload :: Lens' ProjectsServiceAccountsTestIAMPermissions TestIAMPermissionsRequest Source #
Multipart request metadata.
psatipResource :: Lens' ProjectsServiceAccountsTestIAMPermissions Text Source #
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.