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 |
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
See: Android Device Provisioning Partner API Reference for androiddeviceprovisioning.operations.get
.
Synopsis
- type OperationsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Operation)))))))
- operationsGet :: Text -> OperationsGet
- data OperationsGet
- ogXgafv :: Lens' OperationsGet (Maybe Xgafv)
- ogUploadProtocol :: Lens' OperationsGet (Maybe Text)
- ogAccessToken :: Lens' OperationsGet (Maybe Text)
- ogUploadType :: Lens' OperationsGet (Maybe Text)
- ogName :: Lens' OperationsGet Text
- ogCallback :: Lens' OperationsGet (Maybe Text)
REST Resource
type OperationsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Operation))))))) Source #
A resource alias for androiddeviceprovisioning.operations.get
method which the
OperationsGet
request conforms to.
Creating a Request
:: Text | |
-> OperationsGet |
Creates a value of OperationsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OperationsGet Source #
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
See: operationsGet
smart constructor.
Instances
Request Lenses
ogUploadProtocol :: Lens' OperationsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ogAccessToken :: Lens' OperationsGet (Maybe Text) Source #
OAuth access token.
ogUploadType :: Lens' OperationsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ogCallback :: Lens' OperationsGet (Maybe Text) Source #
JSONP