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.GetConfig

Contents

Description

Get the service account information associated with your project. You need this information in order to grant the service account permissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning.

See: Cloud Machine Learning Engine Reference for ml.projects.getConfig.

Synopsis

REST Resource

type ProjectsGetConfigResource = "v1" :> (CaptureMode "name" "getConfig" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudMlV1__GetConfigResponse))))))) Source #

A resource alias for ml.projects.getConfig method which the ProjectsGetConfig request conforms to.

Creating a Request

projectsGetConfig Source #

Creates a value of ProjectsGetConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsGetConfig Source #

Get the service account information associated with your project. You need this information in order to grant the service account permissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning.

See: projectsGetConfig smart constructor.

Instances
Eq ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.GetConfig

Data ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.GetConfig

Methods

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

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

toConstr :: ProjectsGetConfig -> Constr #

dataTypeOf :: ProjectsGetConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.GetConfig

Generic ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.GetConfig

Associated Types

type Rep ProjectsGetConfig :: Type -> Type #

GoogleRequest ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.GetConfig

Associated Types

type Rs ProjectsGetConfig :: Type #

type Scopes ProjectsGetConfig :: [Symbol] #

type Rep ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.GetConfig

type Rep ProjectsGetConfig = D1 (MetaData "ProjectsGetConfig" "Network.Google.Resource.Ml.Projects.GetConfig" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsGetConfig'" PrefixI True) ((S1 (MetaSel (Just "_pgcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pgcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pgcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pgcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pgcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsGetConfig Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.GetConfig

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

Defined in Network.Google.Resource.Ml.Projects.GetConfig

Request Lenses

pgcUploadProtocol :: Lens' ProjectsGetConfig (Maybe Text) Source #

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

pgcUploadType :: Lens' ProjectsGetConfig (Maybe Text) Source #

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

pgcName :: Lens' ProjectsGetConfig Text Source #

Required. The project name.