gogol-storage-transfer-0.4.0: Google Storage Transfer 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.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 allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

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

Synopsis

REST Resource

type TransferOperationsListResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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 allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.

See: transferOperationsList smart constructor.

Instances
Eq TransferOperationsList Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.List

Data TransferOperationsList Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.List

Methods

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

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

toConstr :: TransferOperationsList -> Constr #

dataTypeOf :: TransferOperationsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TransferOperationsList Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.List

Generic TransferOperationsList Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.List

Associated Types

type Rep TransferOperationsList :: Type -> Type #

GoogleRequest TransferOperationsList Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.List

type Rep TransferOperationsList Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.List

type Rep TransferOperationsList = D1 (MetaData "TransferOperationsList" "Network.Google.Resource.StorageTransfer.TransferOperations.List" "gogol-storage-transfer-0.4.0-GGwHgHZplO0LWcGDc7JAZR" False) (C1 (MetaCons "TransferOperationsList'" PrefixI True) (((S1 (MetaSel (Just "_tolXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_tolUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tolAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tolUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_tolName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tolFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tolPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tolPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_tolCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes TransferOperationsList Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.List

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

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.List

Request Lenses

tolUploadProtocol :: Lens' TransferOperationsList (Maybe Text) Source #

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

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 #

A list of query parameters specified as JSON text in the form of {\"project_id\" : \"my_project_id\", \"job_names\" : [\"jobid1\", \"jobid2\",...], \"operation_names\" : [\"opid1\", \"opid2\",...], \"transfer_statuses\":[\"status1\", \"status2\",...]}. Since `job_names`, `operation_names`, and `transfer_statuses` support multiple values, they must be specified with array notation. `job_names`, `operation_names`, and `transfer_statuses` are optional.

tolPageSize :: Lens' TransferOperationsList (Maybe Int32) Source #

The list page size. The max allowed value is 256.