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: Cloud Filestore API Reference for file.projects.locations.operations.get
.
Synopsis
- type ProjectsLocationsOperationsGetResource = "v1beta1" :> (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)))))))
- projectsLocationsOperationsGet :: Text -> ProjectsLocationsOperationsGet
- data ProjectsLocationsOperationsGet
- plogXgafv :: Lens' ProjectsLocationsOperationsGet (Maybe Xgafv)
- plogUploadProtocol :: Lens' ProjectsLocationsOperationsGet (Maybe Text)
- plogAccessToken :: Lens' ProjectsLocationsOperationsGet (Maybe Text)
- plogUploadType :: Lens' ProjectsLocationsOperationsGet (Maybe Text)
- plogName :: Lens' ProjectsLocationsOperationsGet Text
- plogCallback :: Lens' ProjectsLocationsOperationsGet (Maybe Text)
REST Resource
type ProjectsLocationsOperationsGetResource = "v1beta1" :> (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 file.projects.locations.operations.get
method which the
ProjectsLocationsOperationsGet
request conforms to.
Creating a Request
projectsLocationsOperationsGet Source #
Creates a value of ProjectsLocationsOperationsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsOperationsGet 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: projectsLocationsOperationsGet
smart constructor.
Instances
Request Lenses
plogUploadProtocol :: Lens' ProjectsLocationsOperationsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plogAccessToken :: Lens' ProjectsLocationsOperationsGet (Maybe Text) Source #
OAuth access token.
plogUploadType :: Lens' ProjectsLocationsOperationsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plogCallback :: Lens' ProjectsLocationsOperationsGet (Maybe Text) Source #
JSONP