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 |
Creates an Export.
See: G Suite Vault API Reference for vault.matters.exports.create
.
Synopsis
- type MattersExportsCreateResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("exports" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Export :> Post '[JSON] Export))))))))))
- mattersExportsCreate :: Export -> Text -> MattersExportsCreate
- data MattersExportsCreate
- mecXgafv :: Lens' MattersExportsCreate (Maybe Xgafv)
- mecUploadProtocol :: Lens' MattersExportsCreate (Maybe Text)
- mecAccessToken :: Lens' MattersExportsCreate (Maybe Text)
- mecUploadType :: Lens' MattersExportsCreate (Maybe Text)
- mecPayload :: Lens' MattersExportsCreate Export
- mecMatterId :: Lens' MattersExportsCreate Text
- mecCallback :: Lens' MattersExportsCreate (Maybe Text)
REST Resource
type MattersExportsCreateResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("exports" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Export :> Post '[JSON] Export)))))))))) Source #
A resource alias for vault.matters.exports.create
method which the
MattersExportsCreate
request conforms to.
Creating a Request
Creates a value of MattersExportsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersExportsCreate Source #
Creates an Export.
See: mattersExportsCreate
smart constructor.
Instances
Request Lenses
mecUploadProtocol :: Lens' MattersExportsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mecAccessToken :: Lens' MattersExportsCreate (Maybe Text) Source #
OAuth access token.
mecUploadType :: Lens' MattersExportsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mecPayload :: Lens' MattersExportsCreate Export Source #
Multipart request metadata.
mecMatterId :: Lens' MattersExportsCreate Text Source #
The matter ID.
mecCallback :: Lens' MattersExportsCreate (Maybe Text) Source #
JSONP