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 |
Determine if blobs are present in the CAS. Clients can use this API before uploading blobs to determine which ones are already present in the CAS and do not need to be uploaded again. There are no method-specific errors.
See: Remote Build Execution API Reference for remotebuildexecution.blobs.findMissing
.
Synopsis
- type BlobsFindMissingResource = "v2" :> (Capture "instanceName" Text :> ("blobs:findMissing" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BuildBazelRemoteExecutionV2FindMissingBlobsRequest :> Post '[JSON] BuildBazelRemoteExecutionV2FindMissingBlobsResponse)))))))))
- blobsFindMissing :: BuildBazelRemoteExecutionV2FindMissingBlobsRequest -> Text -> BlobsFindMissing
- data BlobsFindMissing
- bfmXgafv :: Lens' BlobsFindMissing (Maybe Xgafv)
- bfmUploadProtocol :: Lens' BlobsFindMissing (Maybe Text)
- bfmAccessToken :: Lens' BlobsFindMissing (Maybe Text)
- bfmUploadType :: Lens' BlobsFindMissing (Maybe Text)
- bfmPayload :: Lens' BlobsFindMissing BuildBazelRemoteExecutionV2FindMissingBlobsRequest
- bfmInstanceName :: Lens' BlobsFindMissing Text
- bfmCallback :: Lens' BlobsFindMissing (Maybe Text)
REST Resource
type BlobsFindMissingResource = "v2" :> (Capture "instanceName" Text :> ("blobs:findMissing" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BuildBazelRemoteExecutionV2FindMissingBlobsRequest :> Post '[JSON] BuildBazelRemoteExecutionV2FindMissingBlobsResponse))))))))) Source #
A resource alias for remotebuildexecution.blobs.findMissing
method which the
BlobsFindMissing
request conforms to.
Creating a Request
Creates a value of BlobsFindMissing
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BlobsFindMissing Source #
Determine if blobs are present in the CAS. Clients can use this API before uploading blobs to determine which ones are already present in the CAS and do not need to be uploaded again. There are no method-specific errors.
See: blobsFindMissing
smart constructor.
Instances
Request Lenses
bfmUploadProtocol :: Lens' BlobsFindMissing (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
bfmAccessToken :: Lens' BlobsFindMissing (Maybe Text) Source #
OAuth access token.
bfmUploadType :: Lens' BlobsFindMissing (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
bfmPayload :: Lens' BlobsFindMissing BuildBazelRemoteExecutionV2FindMissingBlobsRequest Source #
Multipart request metadata.
bfmInstanceName :: Lens' BlobsFindMissing 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.
bfmCallback :: Lens' BlobsFindMissing (Maybe Text) Source #
JSONP