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.AcceleratorTypes.Get

Contents

Description

Gets AcceleratorType.

See: Cloud TPU API Reference for tpu.projects.locations.acceleratorTypes.get.

Synopsis

REST Resource

type ProjectsLocationsAcceleratorTypesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AcceleratorType))))))) Source #

A resource alias for tpu.projects.locations.acceleratorTypes.get method which the ProjectsLocationsAcceleratorTypesGet request conforms to.

Creating a Request

projectsLocationsAcceleratorTypesGet Source #

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

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

data ProjectsLocationsAcceleratorTypesGet Source #

Gets AcceleratorType.

See: projectsLocationsAcceleratorTypesGet smart constructor.

Instances
Eq ProjectsLocationsAcceleratorTypesGet Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.AcceleratorTypes.Get

Data ProjectsLocationsAcceleratorTypesGet Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.AcceleratorTypes.Get

Methods

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

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

toConstr :: ProjectsLocationsAcceleratorTypesGet -> Constr #

dataTypeOf :: ProjectsLocationsAcceleratorTypesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsAcceleratorTypesGet Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.AcceleratorTypes.Get

Generic ProjectsLocationsAcceleratorTypesGet Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.AcceleratorTypes.Get

GoogleRequest ProjectsLocationsAcceleratorTypesGet Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.AcceleratorTypes.Get

type Rep ProjectsLocationsAcceleratorTypesGet Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.AcceleratorTypes.Get

type Rep ProjectsLocationsAcceleratorTypesGet = D1 (MetaData "ProjectsLocationsAcceleratorTypesGet" "Network.Google.Resource.TPU.Projects.Locations.AcceleratorTypes.Get" "gogol-tpu-0.4.0-G6BPhvxEJs5BesDiyU5xd2" False) (C1 (MetaCons "ProjectsLocationsAcceleratorTypesGet'" PrefixI True) ((S1 (MetaSel (Just "_platgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_platgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_platgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_platgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_platgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_platgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsAcceleratorTypesGet Source # 
Instance details

Defined in Network.Google.Resource.TPU.Projects.Locations.AcceleratorTypes.Get

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

Defined in Network.Google.Resource.TPU.Projects.Locations.AcceleratorTypes.Get

Request Lenses

platgUploadProtocol :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Text) Source #

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

platgUploadType :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Text) Source #

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