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 |
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
- 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))))))))))
- transferOperationsList :: Text -> TransferOperationsList
- data TransferOperationsList
- tolXgafv :: Lens' TransferOperationsList (Maybe Xgafv)
- tolUploadProtocol :: Lens' TransferOperationsList (Maybe Text)
- tolAccessToken :: Lens' TransferOperationsList (Maybe Text)
- tolUploadType :: Lens' TransferOperationsList (Maybe Text)
- tolName :: Lens' TransferOperationsList Text
- tolFilter :: Lens' TransferOperationsList (Maybe Text)
- tolPageToken :: Lens' TransferOperationsList (Maybe Text)
- tolPageSize :: Lens' TransferOperationsList (Maybe Int32)
- tolCallback :: Lens' TransferOperationsList (Maybe Text)
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
Request Lenses
tolUploadProtocol :: Lens' TransferOperationsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
tolAccessToken :: Lens' TransferOperationsList (Maybe Text) Source #
OAuth access token.
tolUploadType :: Lens' TransferOperationsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
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.
tolPageToken :: Lens' TransferOperationsList (Maybe Text) Source #
The list page token.
tolPageSize :: Lens' TransferOperationsList (Maybe Int32) Source #
The list page size. The max allowed value is 256.
tolCallback :: Lens' TransferOperationsList (Maybe Text) Source #
JSONP