| 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.AccessApproval.Organizations.ApprovalRequests.Get
Description
Gets an approval request. Returns NOT_FOUND if the request does not exist.
See: Access Approval API Reference for accessapproval.organizations.approvalRequests.get.
Synopsis
- type OrganizationsApprovalRequestsGetResource = "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)))))))
- organizationsApprovalRequestsGet :: Text -> OrganizationsApprovalRequestsGet
- data OrganizationsApprovalRequestsGet
- oargXgafv :: Lens' OrganizationsApprovalRequestsGet (Maybe Xgafv)
- oargUploadProtocol :: Lens' OrganizationsApprovalRequestsGet (Maybe Text)
- oargAccessToken :: Lens' OrganizationsApprovalRequestsGet (Maybe Text)
- oargUploadType :: Lens' OrganizationsApprovalRequestsGet (Maybe Text)
- oargName :: Lens' OrganizationsApprovalRequestsGet Text
- oargCallback :: Lens' OrganizationsApprovalRequestsGet (Maybe Text)
REST Resource
type OrganizationsApprovalRequestsGetResource = "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.organizations.approvalRequests.get method which the
OrganizationsApprovalRequestsGet request conforms to.
Creating a Request
organizationsApprovalRequestsGet Source #
Arguments
| :: Text | |
| -> OrganizationsApprovalRequestsGet |
Creates a value of OrganizationsApprovalRequestsGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsApprovalRequestsGet Source #
Gets an approval request. Returns NOT_FOUND if the request does not exist.
See: organizationsApprovalRequestsGet smart constructor.
Instances
Request Lenses
oargUploadProtocol :: Lens' OrganizationsApprovalRequestsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oargAccessToken :: Lens' OrganizationsApprovalRequestsGet (Maybe Text) Source #
OAuth access token.
oargUploadType :: Lens' OrganizationsApprovalRequestsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").