gogol-tpu-0.5.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.Reimage

Contents

Description

Reimages a node's OS.

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

Synopsis

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

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

Data ProjectsLocationsNodesReimage Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsNodesReimage -> Constr #

dataTypeOf :: ProjectsLocationsNodesReimage -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsNodesReimage Source # 
Instance details

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

Generic ProjectsLocationsNodesReimage Source # 
Instance details

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

Associated Types

type Rep ProjectsLocationsNodesReimage :: Type -> Type #

GoogleRequest ProjectsLocationsNodesReimage Source # 
Instance details

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

type Rep ProjectsLocationsNodesReimage Source # 
Instance details

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

type Rep ProjectsLocationsNodesReimage = D1 (MetaData "ProjectsLocationsNodesReimage" "Network.Google.Resource.TPU.Projects.Locations.Nodes.Reimage" "gogol-tpu-0.5.0-LO8ZbRkRZHM3eoL1iMOy9d" False) (C1 (MetaCons "ProjectsLocationsNodesReimage'" PrefixI True) ((S1 (MetaSel (Just "_plnrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plnrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plnrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plnrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plnrPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ReimageNodeRequest)) :*: (S1 (MetaSel (Just "_plnrName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plnrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsNodesReimage Source # 
Instance details

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

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

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

Request Lenses

plnrUploadProtocol :: Lens' ProjectsLocationsNodesReimage (Maybe Text) Source #

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

plnrUploadType :: Lens' ProjectsLocationsNodesReimage (Maybe Text) Source #

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