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 Firestore API Reference for firestore.projects.databases.operations.get
.
Synopsis
- type ProjectsDatabasesOperationsGetResource = "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)))))))
- projectsDatabasesOperationsGet :: Text -> ProjectsDatabasesOperationsGet
- data ProjectsDatabasesOperationsGet
- pdogXgafv :: Lens' ProjectsDatabasesOperationsGet (Maybe Xgafv)
- pdogUploadProtocol :: Lens' ProjectsDatabasesOperationsGet (Maybe Text)
- pdogAccessToken :: Lens' ProjectsDatabasesOperationsGet (Maybe Text)
- pdogUploadType :: Lens' ProjectsDatabasesOperationsGet (Maybe Text)
- pdogName :: Lens' ProjectsDatabasesOperationsGet Text
- pdogCallback :: Lens' ProjectsDatabasesOperationsGet (Maybe Text)
REST Resource
type ProjectsDatabasesOperationsGetResource = "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 firestore.projects.databases.operations.get
method which the
ProjectsDatabasesOperationsGet
request conforms to.
Creating a Request
projectsDatabasesOperationsGet Source #
Creates a value of ProjectsDatabasesOperationsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDatabasesOperationsGet 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: projectsDatabasesOperationsGet
smart constructor.
Instances
Request Lenses
pdogUploadProtocol :: Lens' ProjectsDatabasesOperationsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdogAccessToken :: Lens' ProjectsDatabasesOperationsGet (Maybe Text) Source #
OAuth access token.
pdogUploadType :: Lens' ProjectsDatabasesOperationsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdogCallback :: Lens' ProjectsDatabasesOperationsGet (Maybe Text) Source #
JSONP