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 |
Updates the OU and/or query parameters of a hold. You cannot add accounts to a hold that covers an OU, nor can you add OUs to a hold that covers individual accounts. Accounts listed in the hold will be ignored.
See: G Suite Vault API Reference for vault.matters.holds.update
.
Synopsis
- type MattersHoldsUpdateResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (Capture "holdId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Hold :> Put '[JSON] Hold)))))))))))
- mattersHoldsUpdate :: Text -> Hold -> Text -> MattersHoldsUpdate
- data MattersHoldsUpdate
- mhuXgafv :: Lens' MattersHoldsUpdate (Maybe Xgafv)
- mhuUploadProtocol :: Lens' MattersHoldsUpdate (Maybe Text)
- mhuHoldId :: Lens' MattersHoldsUpdate Text
- mhuAccessToken :: Lens' MattersHoldsUpdate (Maybe Text)
- mhuUploadType :: Lens' MattersHoldsUpdate (Maybe Text)
- mhuPayload :: Lens' MattersHoldsUpdate Hold
- mhuMatterId :: Lens' MattersHoldsUpdate Text
- mhuCallback :: Lens' MattersHoldsUpdate (Maybe Text)
REST Resource
type MattersHoldsUpdateResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (Capture "holdId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Hold :> Put '[JSON] Hold))))))))))) Source #
A resource alias for vault.matters.holds.update
method which the
MattersHoldsUpdate
request conforms to.
Creating a Request
Creates a value of MattersHoldsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersHoldsUpdate Source #
Updates the OU and/or query parameters of a hold. You cannot add accounts to a hold that covers an OU, nor can you add OUs to a hold that covers individual accounts. Accounts listed in the hold will be ignored.
See: mattersHoldsUpdate
smart constructor.
Instances
Request Lenses
mhuUploadProtocol :: Lens' MattersHoldsUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
mhuAccessToken :: Lens' MattersHoldsUpdate (Maybe Text) Source #
OAuth access token.
mhuUploadType :: Lens' MattersHoldsUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
mhuPayload :: Lens' MattersHoldsUpdate Hold Source #
Multipart request metadata.
mhuMatterId :: Lens' MattersHoldsUpdate Text Source #
The matter ID.
mhuCallback :: Lens' MattersHoldsUpdate (Maybe Text) Source #
JSONP