gogol-remotebuildexecution-0.5.0: Google Remote Build Execution SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.RemoteBuildExecution.Operations.WaitExecution

Contents

Description

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

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
Eq OperationsWaitExecution Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Operations.WaitExecution

Data OperationsWaitExecution Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Operations.WaitExecution

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OperationsWaitExecution -> c OperationsWaitExecution #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OperationsWaitExecution #

toConstr :: OperationsWaitExecution -> Constr #

dataTypeOf :: OperationsWaitExecution -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OperationsWaitExecution) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OperationsWaitExecution) #

gmapT :: (forall b. Data b => b -> b) -> OperationsWaitExecution -> OperationsWaitExecution #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OperationsWaitExecution -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OperationsWaitExecution -> r #

gmapQ :: (forall d. Data d => d -> u) -> OperationsWaitExecution -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OperationsWaitExecution -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OperationsWaitExecution -> m OperationsWaitExecution #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationsWaitExecution -> m OperationsWaitExecution #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationsWaitExecution -> m OperationsWaitExecution #

Show OperationsWaitExecution Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Operations.WaitExecution

Generic OperationsWaitExecution Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Operations.WaitExecution

Associated Types

type Rep OperationsWaitExecution :: Type -> Type #

GoogleRequest OperationsWaitExecution Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Operations.WaitExecution

type Rep OperationsWaitExecution Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Operations.WaitExecution

type Rep OperationsWaitExecution = D1 (MetaData "OperationsWaitExecution" "Network.Google.Resource.RemoteBuildExecution.Operations.WaitExecution" "gogol-remotebuildexecution-0.5.0-FTmPv3yIimd7vwvSASsukd" False) (C1 (MetaCons "OperationsWaitExecution'" PrefixI True) ((S1 (MetaSel (Just "_oweXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_oweUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oweAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_oweUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_owePayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BuildBazelRemoteExecutionV2WaitExecutionRequest)) :*: (S1 (MetaSel (Just "_oweName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_oweCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OperationsWaitExecution Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Operations.WaitExecution

type Scopes OperationsWaitExecution = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs OperationsWaitExecution Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Operations.WaitExecution

Request Lenses

oweUploadProtocol :: Lens' OperationsWaitExecution (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

oweUploadType :: Lens' OperationsWaitExecution (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

oweName :: Lens' OperationsWaitExecution Text Source #

The name of the Operation returned by Execute.