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 |
Lists accelerator types supported by this API.
See: Cloud TPU API Reference for tpu.projects.locations.acceleratorTypes.list
.
Synopsis
- type ProjectsLocationsAcceleratorTypesListResource = "v1" :> (Capture "parent" Text :> ("acceleratorTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListAcceleratorTypesResponse))))))))))))
- projectsLocationsAcceleratorTypesList :: Text -> ProjectsLocationsAcceleratorTypesList
- data ProjectsLocationsAcceleratorTypesList
- platlParent :: Lens' ProjectsLocationsAcceleratorTypesList Text
- platlXgafv :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Xgafv)
- platlUploadProtocol :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text)
- platlOrderBy :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text)
- platlAccessToken :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text)
- platlUploadType :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text)
- platlFilter :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text)
- platlPageToken :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text)
- platlPageSize :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Int32)
- platlCallback :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text)
REST Resource
type ProjectsLocationsAcceleratorTypesListResource = "v1" :> (Capture "parent" Text :> ("acceleratorTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListAcceleratorTypesResponse)))))))))))) Source #
A resource alias for tpu.projects.locations.acceleratorTypes.list
method which the
ProjectsLocationsAcceleratorTypesList
request conforms to.
Creating a Request
projectsLocationsAcceleratorTypesList Source #
Creates a value of ProjectsLocationsAcceleratorTypesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsAcceleratorTypesList Source #
Lists accelerator types supported by this API.
See: projectsLocationsAcceleratorTypesList
smart constructor.
Instances
Request Lenses
platlParent :: Lens' ProjectsLocationsAcceleratorTypesList Text Source #
The parent resource name.
platlXgafv :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Xgafv) Source #
V1 error format.
platlUploadProtocol :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
platlOrderBy :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text) Source #
Sort results.
platlAccessToken :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text) Source #
OAuth access token.
platlUploadType :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
platlFilter :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text) Source #
List filter.
platlPageToken :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Text) Source #
The next_page_token value returned from a previous List request, if any.
platlPageSize :: Lens' ProjectsLocationsAcceleratorTypesList (Maybe Int32) Source #
The maximum number of items to return.