gogol-ml-0.2.0: Google Cloud Machine Learning 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 persmissions for the Google Cloud Storage location where you put your model training code for training the model with Google Cloud Machine Learning.

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

Synopsis

REST Resource

type ProjectsGetConfigResource = "v1beta1" :> (CaptureMode "name" "getConfig" 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__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 persmissions 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 # 
Data ProjectsGetConfig Source # 

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 # 
Generic ProjectsGetConfig Source # 
GoogleRequest ProjectsGetConfig Source # 
type Rep ProjectsGetConfig Source # 
type Scopes ProjectsGetConfig Source # 
type Scopes ProjectsGetConfig = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs ProjectsGetConfig Source # 

Request Lenses

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

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

pgcPp :: Lens' ProjectsGetConfig Bool Source #

Pretty-print response.

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

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

pgcName :: Lens' ProjectsGetConfig Text Source #

Required. The project name. Authorization: requires `Viewer` role on the specified project.