gogol-ml-0.4.0: Google Cloud Machine Learning Engine SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Ml.Projects.Models.Get

Contents

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: Cloud Machine Learning Engine Reference for ml.projects.models.get.

Synopsis

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

projectsModelsGet Source #

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
Eq ProjectsModelsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Get

Data ProjectsModelsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsModelsGet -> c ProjectsModelsGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsModelsGet #

toConstr :: ProjectsModelsGet -> Constr #

dataTypeOf :: ProjectsModelsGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsModelsGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsModelsGet) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsModelsGet -> ProjectsModelsGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsModelsGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsModelsGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsModelsGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsModelsGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsModelsGet -> m ProjectsModelsGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsModelsGet -> m ProjectsModelsGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsModelsGet -> m ProjectsModelsGet #

Show ProjectsModelsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Get

Generic ProjectsModelsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Get

Associated Types

type Rep ProjectsModelsGet :: Type -> Type #

GoogleRequest ProjectsModelsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Get

Associated Types

type Rs ProjectsModelsGet :: Type #

type Scopes ProjectsModelsGet :: [Symbol] #

type Rep ProjectsModelsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Get

type Rep ProjectsModelsGet = D1 (MetaData "ProjectsModelsGet" "Network.Google.Resource.Ml.Projects.Models.Get" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsModelsGet'" PrefixI True) ((S1 (MetaSel (Just "_pmgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pmgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pmgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pmgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsModelsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Get

type Scopes ProjectsModelsGet = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsModelsGet Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.Get

Request Lenses

pmgUploadProtocol :: Lens' ProjectsModelsGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pmgUploadType :: Lens' ProjectsModelsGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pmgName :: Lens' ProjectsModelsGet Text Source #

Required. The name of the model.