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 a caller has on the specified resource. See Testing Permissions for more information. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics
See: Genomics API Reference for genomics.datasets.testIamPermissions
.
- type DataSetsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (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] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse))))))))))
- dataSetsTestIAMPermissions :: TestIAMPermissionsRequest -> Text -> DataSetsTestIAMPermissions
- data DataSetsTestIAMPermissions
- dstipXgafv :: Lens' DataSetsTestIAMPermissions (Maybe Xgafv)
- dstipUploadProtocol :: Lens' DataSetsTestIAMPermissions (Maybe Text)
- dstipPp :: Lens' DataSetsTestIAMPermissions Bool
- dstipAccessToken :: Lens' DataSetsTestIAMPermissions (Maybe Text)
- dstipUploadType :: Lens' DataSetsTestIAMPermissions (Maybe Text)
- dstipPayload :: Lens' DataSetsTestIAMPermissions TestIAMPermissionsRequest
- dstipBearerToken :: Lens' DataSetsTestIAMPermissions (Maybe Text)
- dstipResource :: Lens' DataSetsTestIAMPermissions Text
- dstipCallback :: Lens' DataSetsTestIAMPermissions (Maybe Text)
REST Resource
type DataSetsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (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] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))))) Source #
A resource alias for genomics.datasets.testIamPermissions
method which the
DataSetsTestIAMPermissions
request conforms to.
Creating a Request
dataSetsTestIAMPermissions Source #
Creates a value of DataSetsTestIAMPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DataSetsTestIAMPermissions Source #
Returns permissions that a caller has on the specified resource. See Testing Permissions for more information. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics
See: dataSetsTestIAMPermissions
smart constructor.
Request Lenses
dstipXgafv :: Lens' DataSetsTestIAMPermissions (Maybe Xgafv) Source #
V1 error format.
dstipUploadProtocol :: Lens' DataSetsTestIAMPermissions (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
dstipAccessToken :: Lens' DataSetsTestIAMPermissions (Maybe Text) Source #
OAuth access token.
dstipUploadType :: Lens' DataSetsTestIAMPermissions (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
dstipPayload :: Lens' DataSetsTestIAMPermissions TestIAMPermissionsRequest Source #
Multipart request metadata.
dstipBearerToken :: Lens' DataSetsTestIAMPermissions (Maybe Text) Source #
OAuth bearer token.
dstipResource :: Lens' DataSetsTestIAMPermissions Text Source #
REQUIRED: The resource for which policy is being specified. Format is `datasets/`.
dstipCallback :: Lens' DataSetsTestIAMPermissions (Maybe Text) Source #
JSONP