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: Service Usage API Reference for serviceusage.operations.list
.
Synopsis
- type OperationsListResource = "v1" :> ("operations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "name" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListOperationsResponse)))))))))))
- operationsList :: OperationsList
- data OperationsList
- olXgafv :: Lens' OperationsList (Maybe Xgafv)
- olUploadProtocol :: Lens' OperationsList (Maybe Text)
- olAccessToken :: Lens' OperationsList (Maybe Text)
- olUploadType :: Lens' OperationsList (Maybe Text)
- olName :: Lens' OperationsList (Maybe Text)
- olFilter :: Lens' OperationsList (Maybe Text)
- olPageToken :: Lens' OperationsList (Maybe Text)
- olPageSize :: Lens' OperationsList (Maybe Int32)
- olCallback :: Lens' OperationsList (Maybe Text)
REST Resource
type OperationsListResource = "v1" :> ("operations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "name" 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 serviceusage.operations.list
method which the
OperationsList
request conforms to.
Creating a Request
operationsList :: OperationsList Source #
Creates a value of OperationsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OperationsList 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: operationsList
smart constructor.
Instances
Request Lenses
olUploadProtocol :: Lens' OperationsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
olAccessToken :: Lens' OperationsList (Maybe Text) Source #
OAuth access token.
olUploadType :: Lens' OperationsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
olPageToken :: Lens' OperationsList (Maybe Text) Source #
The standard list page token.
olPageSize :: Lens' OperationsList (Maybe Int32) Source #
The standard list page size.
olCallback :: Lens' OperationsList (Maybe Text) Source #
JSONP