| 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 |
Network.Google.Resource.Drive.Permissions.Get
Description
Gets a permission by ID.
See: Drive API Reference for drive.permissions.get.
- type PermissionsGetResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("permissions" :> (Capture "permissionId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Permission))))))
- permissionsGet :: Text -> Text -> PermissionsGet
- data PermissionsGet
- pgFileId :: Lens' PermissionsGet Text
- pgPermissionId :: Lens' PermissionsGet Text
REST Resource
type PermissionsGetResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("permissions" :> (Capture "permissionId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Permission)))))) Source #
A resource alias for drive.permissions.get method which the
PermissionsGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> PermissionsGet |
Creates a value of PermissionsGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Request Lenses
pgPermissionId :: Lens' PermissionsGet Text Source #
The ID of the permission.