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 |
Wait for an execution operation to complete. When the client initially makes the request, the server immediately responds with the current status of the execution. The server will leave the request stream open until the operation completes, and then respond with the completed operation. The server MAY choose to stream additional updates as execution progresses, such as to provide an update as to the state of the execution.
See: Remote Build Execution API Reference for remotebuildexecution.operations.waitExecution
.
Synopsis
- type OperationsWaitExecutionResource = "v2" :> (CaptureMode "name" "waitExecution" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BuildBazelRemoteExecutionV2WaitExecutionRequest :> Post '[JSON] GoogleLongrunningOperation))))))))
- operationsWaitExecution :: BuildBazelRemoteExecutionV2WaitExecutionRequest -> Text -> OperationsWaitExecution
- data OperationsWaitExecution
- oweXgafv :: Lens' OperationsWaitExecution (Maybe Xgafv)
- oweUploadProtocol :: Lens' OperationsWaitExecution (Maybe Text)
- oweAccessToken :: Lens' OperationsWaitExecution (Maybe Text)
- oweUploadType :: Lens' OperationsWaitExecution (Maybe Text)
- owePayload :: Lens' OperationsWaitExecution BuildBazelRemoteExecutionV2WaitExecutionRequest
- oweName :: Lens' OperationsWaitExecution Text
- oweCallback :: Lens' OperationsWaitExecution (Maybe Text)
REST Resource
type OperationsWaitExecutionResource = "v2" :> (CaptureMode "name" "waitExecution" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BuildBazelRemoteExecutionV2WaitExecutionRequest :> Post '[JSON] GoogleLongrunningOperation)))))))) Source #
A resource alias for remotebuildexecution.operations.waitExecution
method which the
OperationsWaitExecution
request conforms to.
Creating a Request
operationsWaitExecution Source #
Creates a value of OperationsWaitExecution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OperationsWaitExecution Source #
Wait for an execution operation to complete. When the client initially makes the request, the server immediately responds with the current status of the execution. The server will leave the request stream open until the operation completes, and then respond with the completed operation. The server MAY choose to stream additional updates as execution progresses, such as to provide an update as to the state of the execution.
See: operationsWaitExecution
smart constructor.
Instances
Request Lenses
oweUploadProtocol :: Lens' OperationsWaitExecution (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oweAccessToken :: Lens' OperationsWaitExecution (Maybe Text) Source #
OAuth access token.
oweUploadType :: Lens' OperationsWaitExecution (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
owePayload :: Lens' OperationsWaitExecution BuildBazelRemoteExecutionV2WaitExecutionRequest Source #
Multipart request metadata.
oweName :: Lens' OperationsWaitExecution Text Source #
The name of the Operation returned by Execute.
oweCallback :: Lens' OperationsWaitExecution (Maybe Text) Source #
JSONP