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: Cloud Datastore API Reference for datastore.projects.operations.get
.
Synopsis
- type ProjectsOperationsGetResource = "v1" :> (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] GoogleLongrunningOperation)))))))
- projectsOperationsGet :: Text -> ProjectsOperationsGet
- data ProjectsOperationsGet
- pogXgafv :: Lens' ProjectsOperationsGet (Maybe Xgafv)
- pogUploadProtocol :: Lens' ProjectsOperationsGet (Maybe Text)
- pogAccessToken :: Lens' ProjectsOperationsGet (Maybe Text)
- pogUploadType :: Lens' ProjectsOperationsGet (Maybe Text)
- pogName :: Lens' ProjectsOperationsGet Text
- pogCallback :: Lens' ProjectsOperationsGet (Maybe Text)
REST Resource
type ProjectsOperationsGetResource = "v1" :> (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] GoogleLongrunningOperation))))))) Source #
A resource alias for datastore.projects.operations.get
method which the
ProjectsOperationsGet
request conforms to.
Creating a Request
projectsOperationsGet Source #
Creates a value of ProjectsOperationsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsOperationsGet 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: projectsOperationsGet
smart constructor.
Instances
Request Lenses
pogUploadProtocol :: Lens' ProjectsOperationsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pogAccessToken :: Lens' ProjectsOperationsGet (Maybe Text) Source #
OAuth access token.
pogUploadType :: Lens' ProjectsOperationsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pogCallback :: Lens' ProjectsOperationsGet (Maybe Text) Source #
JSONP