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 |
List all locations that provides at least one type of CMLE capability.
See: Cloud Machine Learning Engine Reference for ml.projects.locations.list
.
Synopsis
- type ProjectsLocationsListResource = "v1" :> (Capture "parent" Text :> ("locations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudMlV1__ListLocationsResponse))))))))))
- projectsLocationsList :: Text -> ProjectsLocationsList
- data ProjectsLocationsList
- pllParent :: Lens' ProjectsLocationsList Text
- pllXgafv :: Lens' ProjectsLocationsList (Maybe Xgafv)
- pllUploadProtocol :: Lens' ProjectsLocationsList (Maybe Text)
- pllAccessToken :: Lens' ProjectsLocationsList (Maybe Text)
- pllUploadType :: Lens' ProjectsLocationsList (Maybe Text)
- pllPageToken :: Lens' ProjectsLocationsList (Maybe Text)
- pllPageSize :: Lens' ProjectsLocationsList (Maybe Int32)
- pllCallback :: Lens' ProjectsLocationsList (Maybe Text)
REST Resource
type ProjectsLocationsListResource = "v1" :> (Capture "parent" Text :> ("locations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudMlV1__ListLocationsResponse)))))))))) Source #
A resource alias for ml.projects.locations.list
method which the
ProjectsLocationsList
request conforms to.
Creating a Request
projectsLocationsList Source #
Creates a value of ProjectsLocationsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsList Source #
List all locations that provides at least one type of CMLE capability.
See: projectsLocationsList
smart constructor.
Instances
Request Lenses
pllParent :: Lens' ProjectsLocationsList Text Source #
Required. The name of the project for which available locations are to be listed (since some locations might be whitelisted for specific projects).
pllUploadProtocol :: Lens' ProjectsLocationsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pllAccessToken :: Lens' ProjectsLocationsList (Maybe Text) Source #
OAuth access token.
pllUploadType :: Lens' ProjectsLocationsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pllPageToken :: Lens' ProjectsLocationsList (Maybe Text) Source #
Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call.
pllPageSize :: Lens' ProjectsLocationsList (Maybe Int32) Source #
Optional. The number of locations to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100.
pllCallback :: Lens' ProjectsLocationsList (Maybe Text) Source #
JSONP