gogol-tpu-0.4.0: Google Cloud TPU SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.TPU.Projects.Locations.Nodes.Start

Contents

Description

Starts a node.

See: Cloud TPU API Reference for tpu.projects.locations.nodes.start.

Synopsis

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
Eq ProjectsLocationsNodesStart Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.Nodes.Start

Data ProjectsLocationsNodesStart Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.Nodes.Start

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsLocationsNodesStart -> c ProjectsLocationsNodesStart #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsLocationsNodesStart #

toConstr :: ProjectsLocationsNodesStart -> Constr #

dataTypeOf :: ProjectsLocationsNodesStart -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsLocationsNodesStart) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsLocationsNodesStart) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsLocationsNodesStart -> ProjectsLocationsNodesStart #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsLocationsNodesStart -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsLocationsNodesStart -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsLocationsNodesStart -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsLocationsNodesStart -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsLocationsNodesStart -> m ProjectsLocationsNodesStart #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsLocationsNodesStart -> m ProjectsLocationsNodesStart #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsLocationsNodesStart -> m ProjectsLocationsNodesStart #

Show ProjectsLocationsNodesStart Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.Nodes.Start

Generic ProjectsLocationsNodesStart Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.Nodes.Start

Associated Types

type Rep ProjectsLocationsNodesStart :: Type -> Type #

GoogleRequest ProjectsLocationsNodesStart Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.Nodes.Start

type Rep ProjectsLocationsNodesStart Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.Nodes.Start

type Rep ProjectsLocationsNodesStart = D1 (MetaData "ProjectsLocationsNodesStart" "Network.Google.Resource.TPU.Projects.Locations.Nodes.Start" "gogol-tpu-0.4.0-G6BPhvxEJs5BesDiyU5xd2" False) (C1 (MetaCons "ProjectsLocationsNodesStart'" PrefixI True) ((S1 (MetaSel (Just "_plnsXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plnsUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plnsAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plnsUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plnsPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StartNodeRequest)) :*: (S1 (MetaSel (Just "_plnsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plnsCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsNodesStart Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.Nodes.Start

type Scopes ProjectsLocationsNodesStart = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsLocationsNodesStart Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.Nodes.Start

Request Lenses

plnsUploadProtocol :: Lens' ProjectsLocationsNodesStart (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

plnsUploadType :: Lens' ProjectsLocationsNodesStart (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").