Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets AcceleratorType.
See: Cloud TPU API Reference for tpu.projects.locations.acceleratorTypes.get
.
Synopsis
- 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)))))))
- projectsLocationsAcceleratorTypesGet :: Text -> ProjectsLocationsAcceleratorTypesGet
- data ProjectsLocationsAcceleratorTypesGet
- platgXgafv :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Xgafv)
- platgUploadProtocol :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Text)
- platgAccessToken :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Text)
- platgUploadType :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Text)
- platgName :: Lens' ProjectsLocationsAcceleratorTypesGet Text
- platgCallback :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Text)
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
Request Lenses
platgXgafv :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Xgafv) Source #
V1 error format.
platgUploadProtocol :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
platgAccessToken :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Text) Source #
OAuth access token.
platgUploadType :: Lens' ProjectsLocationsAcceleratorTypesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").