gogol-storage-transfer-0.0.1: Google Storage Transfer SDK.

Copyright(c) 2015 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.StorageTransfer.TransferOperations.List

Contents

Description

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding below allows API services to override the binding to use different resource name schemes, such as `users/*/operations`.

See: Google Storage Transfer API Reference for storagetransfer.transferOperations.list.

Synopsis

REST Resource

type TransferOperationsListResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` ListOperationsResponse)))))))))))) Source

A resource alias for storagetransfer.transferOperations.list method which the TransferOperationsList request conforms to.

Creating a Request

transferOperationsList Source

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

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

data TransferOperationsList Source

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding below allows API services to override the binding to use different resource name schemes, such as `users/*/operations`.

See: transferOperationsList smart constructor.

Request Lenses

tolUploadProtocol :: Lens' TransferOperationsList (Maybe Text) Source

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

tolPp :: Lens' TransferOperationsList Bool Source

Pretty-print response.

tolUploadType :: Lens' TransferOperationsList (Maybe Text) Source

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

tolName :: Lens' TransferOperationsList Text Source

The value `transferOperations`.

tolFilter :: Lens' TransferOperationsList (Maybe Text) Source

The standard list filter.

tolPageToken :: Lens' TransferOperationsList (Maybe Text) Source

The standard list page token.

tolPageSize :: Lens' TransferOperationsList (Maybe Int32) Source

The standard list page size.