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 information about a model, including its name, the description (if set), and the default version (if at least one version of the model has been deployed).
See: Cloud Machine Learning Engine Reference for ml.projects.models.get
.
Synopsis
- type ProjectsModelsGetResource = "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] GoogleCloudMlV1__Model)))))))
- projectsModelsGet :: Text -> ProjectsModelsGet
- data ProjectsModelsGet
- pmgXgafv :: Lens' ProjectsModelsGet (Maybe Xgafv)
- pmgUploadProtocol :: Lens' ProjectsModelsGet (Maybe Text)
- pmgAccessToken :: Lens' ProjectsModelsGet (Maybe Text)
- pmgUploadType :: Lens' ProjectsModelsGet (Maybe Text)
- pmgName :: Lens' ProjectsModelsGet Text
- pmgCallback :: Lens' ProjectsModelsGet (Maybe Text)
REST Resource
type ProjectsModelsGetResource = "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] GoogleCloudMlV1__Model))))))) Source #
A resource alias for ml.projects.models.get
method which the
ProjectsModelsGet
request conforms to.
Creating a Request
Creates a value of ProjectsModelsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsModelsGet Source #
Gets information about a model, including its name, the description (if set), and the default version (if at least one version of the model has been deployed).
See: projectsModelsGet
smart constructor.
Instances
Request Lenses
pmgUploadProtocol :: Lens' ProjectsModelsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pmgAccessToken :: Lens' ProjectsModelsGet (Maybe Text) Source #
OAuth access token.
pmgUploadType :: Lens' ProjectsModelsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmgCallback :: Lens' ProjectsModelsGet (Maybe Text) Source #
JSONP