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 |
Retrieve a cached execution result. Errors: * `NOT_FOUND`: The requested `ActionResult` is not in the cache.
See: Remote Build Execution API Reference for remotebuildexecution.actionResults.get
.
Synopsis
- type ActionResultsGetResource = "v2" :> (Capture "instanceName" Text :> ("actionResults" :> (Capture "hash" Text :> (Capture "sizeBytes" (Textual Int64) :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BuildBazelRemoteExecutionV2ActionResult))))))))))
- actionResultsGet :: Int64 -> Text -> Text -> ActionResultsGet
- data ActionResultsGet
- argSizeBytes :: Lens' ActionResultsGet Int64
- argXgafv :: Lens' ActionResultsGet (Maybe Xgafv)
- argHash :: Lens' ActionResultsGet Text
- argUploadProtocol :: Lens' ActionResultsGet (Maybe Text)
- argAccessToken :: Lens' ActionResultsGet (Maybe Text)
- argUploadType :: Lens' ActionResultsGet (Maybe Text)
- argInstanceName :: Lens' ActionResultsGet Text
- argCallback :: Lens' ActionResultsGet (Maybe Text)
REST Resource
type ActionResultsGetResource = "v2" :> (Capture "instanceName" Text :> ("actionResults" :> (Capture "hash" Text :> (Capture "sizeBytes" (Textual Int64) :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BuildBazelRemoteExecutionV2ActionResult)))))))))) Source #
A resource alias for remotebuildexecution.actionResults.get
method which the
ActionResultsGet
request conforms to.
Creating a Request
Creates a value of ActionResultsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ActionResultsGet Source #
Retrieve a cached execution result. Errors: * `NOT_FOUND`: The requested `ActionResult` is not in the cache.
See: actionResultsGet
smart constructor.
Instances
Request Lenses
argSizeBytes :: Lens' ActionResultsGet Int64 Source #
The size of the blob, in bytes.
argHash :: Lens' ActionResultsGet Text Source #
The hash. In the case of SHA-256, it will always be a lowercase hex string exactly 64 characters long.
argUploadProtocol :: Lens' ActionResultsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
argAccessToken :: Lens' ActionResultsGet (Maybe Text) Source #
OAuth access token.
argUploadType :: Lens' ActionResultsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
argInstanceName :: Lens' ActionResultsGet Text Source #
The instance of the execution system to operate against. A server may support multiple instances of the execution system (with their own workers, storage, caches, etc.). The server MAY require use of this field to select between them in an implementation-defined fashion, otherwise it can be omitted.
argCallback :: Lens' ActionResultsGet (Maybe Text) Source #
JSONP