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 |
Starts a node.
See: Cloud TPU API Reference for tpu.projects.locations.nodes.start
.
Synopsis
- type ProjectsLocationsNodesStartResource = "v1" :> (CaptureMode "name" "start" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StartNodeRequest :> Post '[JSON] Operation))))))))
- projectsLocationsNodesStart :: StartNodeRequest -> Text -> ProjectsLocationsNodesStart
- data ProjectsLocationsNodesStart
- plnsXgafv :: Lens' ProjectsLocationsNodesStart (Maybe Xgafv)
- plnsUploadProtocol :: Lens' ProjectsLocationsNodesStart (Maybe Text)
- plnsAccessToken :: Lens' ProjectsLocationsNodesStart (Maybe Text)
- plnsUploadType :: Lens' ProjectsLocationsNodesStart (Maybe Text)
- plnsPayload :: Lens' ProjectsLocationsNodesStart StartNodeRequest
- plnsName :: Lens' ProjectsLocationsNodesStart Text
- plnsCallback :: Lens' ProjectsLocationsNodesStart (Maybe Text)
REST Resource
type ProjectsLocationsNodesStartResource = "v1" :> (CaptureMode "name" "start" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StartNodeRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for tpu.projects.locations.nodes.start
method which the
ProjectsLocationsNodesStart
request conforms to.
Creating a Request
projectsLocationsNodesStart Source #
Creates a value of ProjectsLocationsNodesStart
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsNodesStart Source #
Starts a node.
See: projectsLocationsNodesStart
smart constructor.
Instances
Request Lenses
plnsUploadProtocol :: Lens' ProjectsLocationsNodesStart (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plnsAccessToken :: Lens' ProjectsLocationsNodesStart (Maybe Text) Source #
OAuth access token.
plnsUploadType :: Lens' ProjectsLocationsNodesStart (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plnsPayload :: Lens' ProjectsLocationsNodesStart StartNodeRequest Source #
Multipart request metadata.
plnsCallback :: Lens' ProjectsLocationsNodesStart (Maybe Text) Source #
JSONP