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

Contents

Description

Creates a node.

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

Synopsis

REST Resource

type ProjectsLocationsNodesCreateResource = "v1" :> (Capture "parent" Text :> ("nodes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "nodeId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Node :> Post '[JSON] Operation)))))))))) Source #

A resource alias for tpu.projects.locations.nodes.create method which the ProjectsLocationsNodesCreate request conforms to.

Creating a Request

projectsLocationsNodesCreate Source #

Creates a value of ProjectsLocationsNodesCreate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsLocationsNodesCreate Source #

Creates a node.

See: projectsLocationsNodesCreate smart constructor.

Instances
Eq ProjectsLocationsNodesCreate Source # 
Instance details

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

Data ProjectsLocationsNodesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsNodesCreate -> Constr #

dataTypeOf :: ProjectsLocationsNodesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsNodesCreate Source # 
Instance details

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

Generic ProjectsLocationsNodesCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsLocationsNodesCreate :: Type -> Type #

GoogleRequest ProjectsLocationsNodesCreate Source # 
Instance details

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

type Rep ProjectsLocationsNodesCreate Source # 
Instance details

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

type Rep ProjectsLocationsNodesCreate = D1 (MetaData "ProjectsLocationsNodesCreate" "Network.Google.Resource.TPU.Projects.Locations.Nodes.Create" "gogol-tpu-0.4.0-G6BPhvxEJs5BesDiyU5xd2" False) (C1 (MetaCons "ProjectsLocationsNodesCreate'" PrefixI True) (((S1 (MetaSel (Just "_plncParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plncXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_plncUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plncAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plncUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plncPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Node)) :*: (S1 (MetaSel (Just "_plncNodeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plncCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsNodesCreate Source # 
Instance details

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

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

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

Request Lenses

plncUploadProtocol :: Lens' ProjectsLocationsNodesCreate (Maybe Text) Source #

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

plncUploadType :: Lens' ProjectsLocationsNodesCreate (Maybe Text) Source #

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

plncNodeId :: Lens' ProjectsLocationsNodesCreate (Maybe Text) Source #

The unqualified resource name.