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 |
Network.Google.Resource.Ml.Projects.Models.Get
Description
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: Google Cloud Machine Learning Reference for ml.projects.models.get
.
- type ProjectsModelsGetResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudMlV1beta1__Model)))))))))
- projectsModelsGet :: Text -> ProjectsModelsGet
- data ProjectsModelsGet
- pmgXgafv :: Lens' ProjectsModelsGet (Maybe Xgafv)
- pmgUploadProtocol :: Lens' ProjectsModelsGet (Maybe Text)
- pmgPp :: Lens' ProjectsModelsGet Bool
- pmgAccessToken :: Lens' ProjectsModelsGet (Maybe Text)
- pmgUploadType :: Lens' ProjectsModelsGet (Maybe Text)
- pmgBearerToken :: Lens' ProjectsModelsGet (Maybe Text)
- pmgName :: Lens' ProjectsModelsGet Text
- pmgCallback :: Lens' ProjectsModelsGet (Maybe Text)
REST Resource
type ProjectsModelsGetResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudMlV1beta1__Model))))))))) Source #
A resource alias for ml.projects.models.get
method which the
ProjectsModelsGet
request conforms to.
Creating a Request
Arguments
:: Text | |
-> ProjectsModelsGet |
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.
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").
pmgBearerToken :: Lens' ProjectsModelsGet (Maybe Text) Source #
OAuth bearer token.
pmgName :: Lens' ProjectsModelsGet Text Source #
Required. The name of the model. Authorization: requires `Viewer` role on the parent project.
pmgCallback :: Lens' ProjectsModelsGet (Maybe Text) Source #
JSONP