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.Stop

Contents

Description

Stops a node.

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

Synopsis

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

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

Data ProjectsLocationsNodesStop Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsNodesStop -> Constr #

dataTypeOf :: ProjectsLocationsNodesStop -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsNodesStop Source # 
Instance details

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

Generic ProjectsLocationsNodesStop Source # 
Instance details

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

Associated Types

type Rep ProjectsLocationsNodesStop :: Type -> Type #

GoogleRequest ProjectsLocationsNodesStop Source # 
Instance details

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

type Rep ProjectsLocationsNodesStop Source # 
Instance details

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

type Rep ProjectsLocationsNodesStop = D1 (MetaData "ProjectsLocationsNodesStop" "Network.Google.Resource.TPU.Projects.Locations.Nodes.Stop" "gogol-tpu-0.4.0-G6BPhvxEJs5BesDiyU5xd2" False) (C1 (MetaCons "ProjectsLocationsNodesStop'" PrefixI True) ((S1 (MetaSel (Just "_pXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StopNodeRequest)) :*: (S1 (MetaSel (Just "_pName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsNodesStop Source # 
Instance details

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

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

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

Request Lenses

pUploadProtocol :: Lens' ProjectsLocationsNodesStop (Maybe Text) Source #

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

pUploadType :: Lens' ProjectsLocationsNodesStop (Maybe Text) Source #

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