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 |
Stops a node.
See: Cloud TPU API Reference for tpu.projects.locations.nodes.stop
.
Synopsis
- type ProjectsLocationsNodesStopResource = "v1" :> (CaptureMode "name" "stop" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StopNodeRequest :> Post '[JSON] Operation))))))))
- projectsLocationsNodesStop :: StopNodeRequest -> Text -> ProjectsLocationsNodesStop
- data ProjectsLocationsNodesStop
- pXgafv :: Lens' ProjectsLocationsNodesStop (Maybe Xgafv)
- pUploadProtocol :: Lens' ProjectsLocationsNodesStop (Maybe Text)
- pAccessToken :: Lens' ProjectsLocationsNodesStop (Maybe Text)
- pUploadType :: Lens' ProjectsLocationsNodesStop (Maybe Text)
- pPayload :: Lens' ProjectsLocationsNodesStop StopNodeRequest
- pName :: Lens' ProjectsLocationsNodesStop Text
- pCallback :: Lens' ProjectsLocationsNodesStop (Maybe Text)
REST Resource
type ProjectsLocationsNodesStopResource = "v1" :> (CaptureMode "name" "stop" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StopNodeRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for tpu.projects.locations.nodes.stop
method which the
ProjectsLocationsNodesStop
request conforms to.
Creating a Request
projectsLocationsNodesStop Source #
Creates a value of ProjectsLocationsNodesStop
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsNodesStop Source #
Stops a node.
See: projectsLocationsNodesStop
smart constructor.
Instances
Request Lenses
pUploadProtocol :: Lens' ProjectsLocationsNodesStop (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pAccessToken :: Lens' ProjectsLocationsNodesStop (Maybe Text) Source #
OAuth access token.
pUploadType :: Lens' ProjectsLocationsNodesStop (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pPayload :: Lens' ProjectsLocationsNodesStop StopNodeRequest Source #
Multipart request metadata.