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 Spanner API Reference for spanner.projects.instances.operations.get
.
Synopsis
- type ProjectsInstancesOperationsGetResource = "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] Operation)))))))
- projectsInstancesOperationsGet :: Text -> ProjectsInstancesOperationsGet
- data ProjectsInstancesOperationsGet
- piogXgafv :: Lens' ProjectsInstancesOperationsGet (Maybe Xgafv)
- piogUploadProtocol :: Lens' ProjectsInstancesOperationsGet (Maybe Text)
- piogAccessToken :: Lens' ProjectsInstancesOperationsGet (Maybe Text)
- piogUploadType :: Lens' ProjectsInstancesOperationsGet (Maybe Text)
- piogName :: Lens' ProjectsInstancesOperationsGet Text
- piogCallback :: Lens' ProjectsInstancesOperationsGet (Maybe Text)
REST Resource
type ProjectsInstancesOperationsGetResource = "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] Operation))))))) Source #
A resource alias for spanner.projects.instances.operations.get
method which the
ProjectsInstancesOperationsGet
request conforms to.
Creating a Request
projectsInstancesOperationsGet Source #
Creates a value of ProjectsInstancesOperationsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesOperationsGet 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: projectsInstancesOperationsGet
smart constructor.
Instances
Request Lenses
piogUploadProtocol :: Lens' ProjectsInstancesOperationsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
piogAccessToken :: Lens' ProjectsInstancesOperationsGet (Maybe Text) Source #
OAuth access token.
piogUploadType :: Lens' ProjectsInstancesOperationsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
piogCallback :: Lens' ProjectsInstancesOperationsGet (Maybe Text) Source #
JSONP