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 |
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
- 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)))))))
- projectsGetConfig :: Text -> ProjectsGetConfig
- data ProjectsGetConfig
- pgcXgafv :: Lens' ProjectsGetConfig (Maybe Xgafv)
- pgcUploadProtocol :: Lens' ProjectsGetConfig (Maybe Text)
- pgcAccessToken :: Lens' ProjectsGetConfig (Maybe Text)
- pgcUploadType :: Lens' ProjectsGetConfig (Maybe Text)
- pgcName :: Lens' ProjectsGetConfig Text
- pgcCallback :: Lens' ProjectsGetConfig (Maybe Text)
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
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
Request Lenses
pgcUploadProtocol :: Lens' ProjectsGetConfig (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pgcAccessToken :: Lens' ProjectsGetConfig (Maybe Text) Source #
OAuth access token.
pgcUploadType :: Lens' ProjectsGetConfig (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pgcCallback :: Lens' ProjectsGetConfig (Maybe Text) Source #
JSONP