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 |
Download many blobs at once. The server may enforce a limit of the combined total size of blobs to be downloaded using this API. This limit may be obtained using the Capabilities API. Requests exceeding the limit should either be split into smaller chunks or downloaded using the ByteStream API, as appropriate. This request is equivalent to calling a Bytestream `Read` request on each individual blob, in parallel. The requests may succeed or fail independently. Errors: * `INVALID_ARGUMENT`: The client attempted to read more than the server supported limit. Every error on individual read will be returned in the corresponding digest status.
See: Remote Build Execution API Reference for remotebuildexecution.blobs.batchRead
.
Synopsis
- type BlobsBatchReadResource = "v2" :> (Capture "instanceName" Text :> ("blobs:batchRead" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BuildBazelRemoteExecutionV2BatchReadBlobsRequest :> Post '[JSON] BuildBazelRemoteExecutionV2BatchReadBlobsResponse)))))))))
- blobsBatchRead :: BuildBazelRemoteExecutionV2BatchReadBlobsRequest -> Text -> BlobsBatchRead
- data BlobsBatchRead
- bbrXgafv :: Lens' BlobsBatchRead (Maybe Xgafv)
- bbrUploadProtocol :: Lens' BlobsBatchRead (Maybe Text)
- bbrAccessToken :: Lens' BlobsBatchRead (Maybe Text)
- bbrUploadType :: Lens' BlobsBatchRead (Maybe Text)
- bbrPayload :: Lens' BlobsBatchRead BuildBazelRemoteExecutionV2BatchReadBlobsRequest
- bbrInstanceName :: Lens' BlobsBatchRead Text
- bbrCallback :: Lens' BlobsBatchRead (Maybe Text)
REST Resource
type BlobsBatchReadResource = "v2" :> (Capture "instanceName" Text :> ("blobs:batchRead" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BuildBazelRemoteExecutionV2BatchReadBlobsRequest :> Post '[JSON] BuildBazelRemoteExecutionV2BatchReadBlobsResponse))))))))) Source #
A resource alias for remotebuildexecution.blobs.batchRead
method which the
BlobsBatchRead
request conforms to.
Creating a Request
Creates a value of BlobsBatchRead
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BlobsBatchRead Source #
Download many blobs at once. The server may enforce a limit of the combined total size of blobs to be downloaded using this API. This limit may be obtained using the Capabilities API. Requests exceeding the limit should either be split into smaller chunks or downloaded using the ByteStream API, as appropriate. This request is equivalent to calling a Bytestream `Read` request on each individual blob, in parallel. The requests may succeed or fail independently. Errors: * `INVALID_ARGUMENT`: The client attempted to read more than the server supported limit. Every error on individual read will be returned in the corresponding digest status.
See: blobsBatchRead
smart constructor.
Instances
Request Lenses
bbrUploadProtocol :: Lens' BlobsBatchRead (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
bbrAccessToken :: Lens' BlobsBatchRead (Maybe Text) Source #
OAuth access token.
bbrUploadType :: Lens' BlobsBatchRead (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
bbrPayload :: Lens' BlobsBatchRead BuildBazelRemoteExecutionV2BatchReadBlobsRequest Source #
Multipart request metadata.
bbrInstanceName :: Lens' BlobsBatchRead 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.
bbrCallback :: Lens' BlobsBatchRead (Maybe Text) Source #
JSONP