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 the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
See: App Engine Admin API Reference for appengine.apps.operations.get
.
Synopsis
- type AppsOperationsGetResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("operations" :> (Capture "operationsId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Operation))))))))))
- appsOperationsGet :: Text -> Text -> AppsOperationsGet
- data AppsOperationsGet
- aogXgafv :: Lens' AppsOperationsGet (Maybe Xgafv)
- aogUploadProtocol :: Lens' AppsOperationsGet (Maybe Text)
- aogAccessToken :: Lens' AppsOperationsGet (Maybe Text)
- aogUploadType :: Lens' AppsOperationsGet (Maybe Text)
- aogAppsId :: Lens' AppsOperationsGet Text
- aogOperationsId :: Lens' AppsOperationsGet Text
- aogCallback :: Lens' AppsOperationsGet (Maybe Text)
REST Resource
type AppsOperationsGetResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("operations" :> (Capture "operationsId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Operation)))))))))) Source #
A resource alias for appengine.apps.operations.get
method which the
AppsOperationsGet
request conforms to.
Creating a Request
Creates a value of AppsOperationsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AppsOperationsGet Source #
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
See: appsOperationsGet
smart constructor.
Instances
Request Lenses
aogUploadProtocol :: Lens' AppsOperationsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
aogAccessToken :: Lens' AppsOperationsGet (Maybe Text) Source #
OAuth access token.
aogUploadType :: Lens' AppsOperationsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
aogAppsId :: Lens' AppsOperationsGet Text Source #
Part of `name`. The name of the operation resource.
aogOperationsId :: Lens' AppsOperationsGet Text Source #
Part of `name`. See documentation of `appsId`.
aogCallback :: Lens' AppsOperationsGet (Maybe Text) Source #
JSONP