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 |
Reimages a node's OS.
See: Cloud TPU API Reference for tpu.projects.locations.nodes.reimage
.
Synopsis
- type ProjectsLocationsNodesReimageResource = "v1" :> (CaptureMode "name" "reimage" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReimageNodeRequest :> Post '[JSON] Operation))))))))
- projectsLocationsNodesReimage :: ReimageNodeRequest -> Text -> ProjectsLocationsNodesReimage
- data ProjectsLocationsNodesReimage
- plnrXgafv :: Lens' ProjectsLocationsNodesReimage (Maybe Xgafv)
- plnrUploadProtocol :: Lens' ProjectsLocationsNodesReimage (Maybe Text)
- plnrAccessToken :: Lens' ProjectsLocationsNodesReimage (Maybe Text)
- plnrUploadType :: Lens' ProjectsLocationsNodesReimage (Maybe Text)
- plnrPayload :: Lens' ProjectsLocationsNodesReimage ReimageNodeRequest
- plnrName :: Lens' ProjectsLocationsNodesReimage Text
- plnrCallback :: Lens' ProjectsLocationsNodesReimage (Maybe Text)
REST Resource
type ProjectsLocationsNodesReimageResource = "v1" :> (CaptureMode "name" "reimage" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ReimageNodeRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for tpu.projects.locations.nodes.reimage
method which the
ProjectsLocationsNodesReimage
request conforms to.
Creating a Request
projectsLocationsNodesReimage Source #
Creates a value of ProjectsLocationsNodesReimage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsNodesReimage Source #
Reimages a node's OS.
See: projectsLocationsNodesReimage
smart constructor.
Instances
Request Lenses
plnrUploadProtocol :: Lens' ProjectsLocationsNodesReimage (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plnrAccessToken :: Lens' ProjectsLocationsNodesReimage (Maybe Text) Source #
OAuth access token.
plnrUploadType :: Lens' ProjectsLocationsNodesReimage (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plnrPayload :: Lens' ProjectsLocationsNodesReimage ReimageNodeRequest Source #
Multipart request metadata.
plnrCallback :: Lens' ProjectsLocationsNodesReimage (Maybe Text) Source #
JSONP