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.databases.operations.get
.
Synopsis
- type ProjectsInstancesDatabasesOperationsGetResource = "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)))))))
- projectsInstancesDatabasesOperationsGet :: Text -> ProjectsInstancesDatabasesOperationsGet
- data ProjectsInstancesDatabasesOperationsGet
- pidogXgafv :: Lens' ProjectsInstancesDatabasesOperationsGet (Maybe Xgafv)
- pidogUploadProtocol :: Lens' ProjectsInstancesDatabasesOperationsGet (Maybe Text)
- pidogAccessToken :: Lens' ProjectsInstancesDatabasesOperationsGet (Maybe Text)
- pidogUploadType :: Lens' ProjectsInstancesDatabasesOperationsGet (Maybe Text)
- pidogName :: Lens' ProjectsInstancesDatabasesOperationsGet Text
- pidogCallback :: Lens' ProjectsInstancesDatabasesOperationsGet (Maybe Text)
REST Resource
type ProjectsInstancesDatabasesOperationsGetResource = "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.databases.operations.get
method which the
ProjectsInstancesDatabasesOperationsGet
request conforms to.
Creating a Request
projectsInstancesDatabasesOperationsGet Source #
Creates a value of ProjectsInstancesDatabasesOperationsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInstancesDatabasesOperationsGet 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: projectsInstancesDatabasesOperationsGet
smart constructor.
Instances
Request Lenses
pidogXgafv :: Lens' ProjectsInstancesDatabasesOperationsGet (Maybe Xgafv) Source #
V1 error format.
pidogUploadProtocol :: Lens' ProjectsInstancesDatabasesOperationsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pidogAccessToken :: Lens' ProjectsInstancesDatabasesOperationsGet (Maybe Text) Source #
OAuth access token.
pidogUploadType :: Lens' ProjectsInstancesDatabasesOperationsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").