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 permissions that the caller has on the specified instance resource.
See: Cloud Bigtable Admin API Reference for bigtableadmin.projects.instances.testIamPermissions
.
Synopsis
- type ProjectsInstancesTestIAMPermissionsResource = "v2" :> (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))))))))
- projectsInstancesTestIAMPermissions :: TestIAMPermissionsRequest -> Text -> ProjectsInstancesTestIAMPermissions
- data ProjectsInstancesTestIAMPermissions
- pitipXgafv :: Lens' ProjectsInstancesTestIAMPermissions (Maybe Xgafv)
- pitipUploadProtocol :: Lens' ProjectsInstancesTestIAMPermissions (Maybe Text)
- pitipAccessToken :: Lens' ProjectsInstancesTestIAMPermissions (Maybe Text)
- pitipUploadType :: Lens' ProjectsInstancesTestIAMPermissions (Maybe Text)
- pitipPayload :: Lens' ProjectsInstancesTestIAMPermissions TestIAMPermissionsRequest
- pitipResource :: Lens' ProjectsInstancesTestIAMPermissions Text
- pitipCallback :: Lens' ProjectsInstancesTestIAMPermissions (Maybe Text)
REST Resource
type ProjectsInstancesTestIAMPermissionsResource = "v2" :> (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 bigtableadmin.projects.instances.testIamPermissions
method which the
ProjectsInstancesTestIAMPermissions
request conforms to.
Creating a Request
projectsInstancesTestIAMPermissions Source #
Creates a value of ProjectsInstancesTestIAMPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesTestIAMPermissions Source #
Returns permissions that the caller has on the specified instance resource.
See: projectsInstancesTestIAMPermissions
smart constructor.
Instances
Request Lenses
pitipXgafv :: Lens' ProjectsInstancesTestIAMPermissions (Maybe Xgafv) Source #
V1 error format.
pitipUploadProtocol :: Lens' ProjectsInstancesTestIAMPermissions (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pitipAccessToken :: Lens' ProjectsInstancesTestIAMPermissions (Maybe Text) Source #
OAuth access token.
pitipUploadType :: Lens' ProjectsInstancesTestIAMPermissions (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pitipPayload :: Lens' ProjectsInstancesTestIAMPermissions TestIAMPermissionsRequest Source #
Multipart request metadata.
pitipResource :: Lens' ProjectsInstancesTestIAMPermissions Text Source #
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.