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 Speech API Reference for speech.projects.operations.manualRecognitionTasks.get
.
Synopsis
- type ProjectsOperationsManualRecognitionTasksGetResource = "v1p1beta1" :> (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)))))))
- projectsOperationsManualRecognitionTasksGet :: Text -> ProjectsOperationsManualRecognitionTasksGet
- data ProjectsOperationsManualRecognitionTasksGet
- pomrtgXgafv :: Lens' ProjectsOperationsManualRecognitionTasksGet (Maybe Xgafv)
- pomrtgUploadProtocol :: Lens' ProjectsOperationsManualRecognitionTasksGet (Maybe Text)
- pomrtgAccessToken :: Lens' ProjectsOperationsManualRecognitionTasksGet (Maybe Text)
- pomrtgUploadType :: Lens' ProjectsOperationsManualRecognitionTasksGet (Maybe Text)
- pomrtgName :: Lens' ProjectsOperationsManualRecognitionTasksGet Text
- pomrtgCallback :: Lens' ProjectsOperationsManualRecognitionTasksGet (Maybe Text)
REST Resource
type ProjectsOperationsManualRecognitionTasksGetResource = "v1p1beta1" :> (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 speech.projects.operations.manualRecognitionTasks.get
method which the
ProjectsOperationsManualRecognitionTasksGet
request conforms to.
Creating a Request
projectsOperationsManualRecognitionTasksGet Source #
Creates a value of ProjectsOperationsManualRecognitionTasksGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsOperationsManualRecognitionTasksGet 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: projectsOperationsManualRecognitionTasksGet
smart constructor.
Instances
Request Lenses
pomrtgXgafv :: Lens' ProjectsOperationsManualRecognitionTasksGet (Maybe Xgafv) Source #
V1 error format.
pomrtgUploadProtocol :: Lens' ProjectsOperationsManualRecognitionTasksGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pomrtgAccessToken :: Lens' ProjectsOperationsManualRecognitionTasksGet (Maybe Text) Source #
OAuth access token.
pomrtgUploadType :: Lens' ProjectsOperationsManualRecognitionTasksGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pomrtgName :: Lens' ProjectsOperationsManualRecognitionTasksGet Text Source #
The name of the operation resource.