gogol-remotebuildexecution-0.4.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.Blobs.BatchUpdate

Contents

Description

Upload many blobs at once. The server may enforce a limit of the combined total size of blobs to be uploaded using this API. This limit may be obtained using the Capabilities API. Requests exceeding the limit should either be split into smaller chunks or uploaded using the ByteStream API, as appropriate. This request is equivalent to calling a Bytestream `Write` request on each individual blob, in parallel. The requests may succeed or fail independently. Errors: * `INVALID_ARGUMENT`: The client attempted to upload more than the server supported limit. Individual requests may return the following errors, additionally: * `RESOURCE_EXHAUSTED`: There is insufficient disk quota to store the blob. * `INVALID_ARGUMENT`: The Digest does not match the provided data.

See: Remote Build Execution API Reference for remotebuildexecution.blobs.batchUpdate.

Synopsis

REST Resource

type BlobsBatchUpdateResource = "v2" :> (Capture "instanceName" Text :> ("blobs:batchUpdate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest :> Post '[JSON] BuildBazelRemoteExecutionV2BatchUpdateBlobsResponse))))))))) Source #

A resource alias for remotebuildexecution.blobs.batchUpdate method which the BlobsBatchUpdate request conforms to.

Creating a Request

blobsBatchUpdate Source #

Creates a value of BlobsBatchUpdate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data BlobsBatchUpdate Source #

Upload many blobs at once. The server may enforce a limit of the combined total size of blobs to be uploaded using this API. This limit may be obtained using the Capabilities API. Requests exceeding the limit should either be split into smaller chunks or uploaded using the ByteStream API, as appropriate. This request is equivalent to calling a Bytestream `Write` request on each individual blob, in parallel. The requests may succeed or fail independently. Errors: * `INVALID_ARGUMENT`: The client attempted to upload more than the server supported limit. Individual requests may return the following errors, additionally: * `RESOURCE_EXHAUSTED`: There is insufficient disk quota to store the blob. * `INVALID_ARGUMENT`: The Digest does not match the provided data.

See: blobsBatchUpdate smart constructor.

Instances
Eq BlobsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Blobs.BatchUpdate

Data BlobsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Blobs.BatchUpdate

Methods

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

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

toConstr :: BlobsBatchUpdate -> Constr #

dataTypeOf :: BlobsBatchUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BlobsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Blobs.BatchUpdate

Generic BlobsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Blobs.BatchUpdate

Associated Types

type Rep BlobsBatchUpdate :: Type -> Type #

GoogleRequest BlobsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Blobs.BatchUpdate

Associated Types

type Rs BlobsBatchUpdate :: Type #

type Scopes BlobsBatchUpdate :: [Symbol] #

type Rep BlobsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Blobs.BatchUpdate

type Rep BlobsBatchUpdate = D1 (MetaData "BlobsBatchUpdate" "Network.Google.Resource.RemoteBuildExecution.Blobs.BatchUpdate" "gogol-remotebuildexecution-0.4.0-1u4iV8qHDo9Hqh7sKQIjr5" False) (C1 (MetaCons "BlobsBatchUpdate'" PrefixI True) ((S1 (MetaSel (Just "_bbuXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_bbuUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bbuAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_bbuUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bbuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest)) :*: (S1 (MetaSel (Just "_bbuInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bbuCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BlobsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.RemoteBuildExecution.Blobs.BatchUpdate

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

Defined in Network.Google.Resource.RemoteBuildExecution.Blobs.BatchUpdate

Request Lenses

bbuUploadProtocol :: Lens' BlobsBatchUpdate (Maybe Text) Source #

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

bbuUploadType :: Lens' BlobsBatchUpdate (Maybe Text) Source #

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

bbuInstanceName :: Lens' BlobsBatchUpdate 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.