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.BatchRead

Contents

Description

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

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

blobsBatchRead Source #

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

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

Data BlobsBatchRead Source # 
Instance details

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

Methods

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

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

toConstr :: BlobsBatchRead -> Constr #

dataTypeOf :: BlobsBatchRead -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BlobsBatchRead Source # 
Instance details

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

Generic BlobsBatchRead Source # 
Instance details

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

Associated Types

type Rep BlobsBatchRead :: Type -> Type #

GoogleRequest BlobsBatchRead Source # 
Instance details

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

Associated Types

type Rs BlobsBatchRead :: Type #

type Scopes BlobsBatchRead :: [Symbol] #

type Rep BlobsBatchRead Source # 
Instance details

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

type Rep BlobsBatchRead = D1 (MetaData "BlobsBatchRead" "Network.Google.Resource.RemoteBuildExecution.Blobs.BatchRead" "gogol-remotebuildexecution-0.4.0-1u4iV8qHDo9Hqh7sKQIjr5" False) (C1 (MetaCons "BlobsBatchRead'" PrefixI True) ((S1 (MetaSel (Just "_bbrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_bbrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bbrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_bbrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bbrPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BuildBazelRemoteExecutionV2BatchReadBlobsRequest)) :*: (S1 (MetaSel (Just "_bbrInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bbrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes BlobsBatchRead Source # 
Instance details

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

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

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

Request Lenses

bbrUploadProtocol :: Lens' BlobsBatchRead (Maybe Text) Source #

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

bbrUploadType :: Lens' BlobsBatchRead (Maybe Text) Source #

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

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.