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 |
Gets an approval request. Returns NOT_FOUND if the request does not exist.
See: Access Approval API Reference for accessapproval.folders.approvalRequests.get
.
Synopsis
- type FoldersApprovalRequestsGetResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ApprovalRequest)))))))
- foldersApprovalRequestsGet :: Text -> FoldersApprovalRequestsGet
- data FoldersApprovalRequestsGet
- fargXgafv :: Lens' FoldersApprovalRequestsGet (Maybe Xgafv)
- fargUploadProtocol :: Lens' FoldersApprovalRequestsGet (Maybe Text)
- fargAccessToken :: Lens' FoldersApprovalRequestsGet (Maybe Text)
- fargUploadType :: Lens' FoldersApprovalRequestsGet (Maybe Text)
- fargName :: Lens' FoldersApprovalRequestsGet Text
- fargCallback :: Lens' FoldersApprovalRequestsGet (Maybe Text)
REST Resource
type FoldersApprovalRequestsGetResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ApprovalRequest))))))) Source #
A resource alias for accessapproval.folders.approvalRequests.get
method which the
FoldersApprovalRequestsGet
request conforms to.
Creating a Request
foldersApprovalRequestsGet Source #
Creates a value of FoldersApprovalRequestsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FoldersApprovalRequestsGet Source #
Gets an approval request. Returns NOT_FOUND if the request does not exist.
See: foldersApprovalRequestsGet
smart constructor.
Instances
Request Lenses
fargUploadProtocol :: Lens' FoldersApprovalRequestsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
fargAccessToken :: Lens' FoldersApprovalRequestsGet (Maybe Text) Source #
OAuth access token.
fargUploadType :: Lens' FoldersApprovalRequestsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
fargCallback :: Lens' FoldersApprovalRequestsGet (Maybe Text) Source #
JSONP