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.Locations.List

Contents

Description

List all locations that provides at least one type of CMLE capability.

See: Cloud Machine Learning Engine Reference for ml.projects.locations.list.

Synopsis

REST Resource

type ProjectsLocationsListResource = "v1" :> (Capture "parent" Text :> ("locations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleCloudMlV1__ListLocationsResponse)))))))))) Source #

A resource alias for ml.projects.locations.list method which the ProjectsLocationsList request conforms to.

Creating a Request

projectsLocationsList Source #

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

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

data ProjectsLocationsList Source #

List all locations that provides at least one type of CMLE capability.

See: projectsLocationsList smart constructor.

Instances
Eq ProjectsLocationsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Locations.List

Data ProjectsLocationsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Locations.List

Methods

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

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

toConstr :: ProjectsLocationsList -> Constr #

dataTypeOf :: ProjectsLocationsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Locations.List

Generic ProjectsLocationsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Locations.List

Associated Types

type Rep ProjectsLocationsList :: Type -> Type #

GoogleRequest ProjectsLocationsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Locations.List

type Rep ProjectsLocationsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Locations.List

type Rep ProjectsLocationsList = D1 (MetaData "ProjectsLocationsList" "Network.Google.Resource.Ml.Projects.Locations.List" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsLocationsList'" PrefixI True) (((S1 (MetaSel (Just "_pllParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pllXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pllUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pllAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pllUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pllPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pllPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pllCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsList Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Locations.List

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

Defined in Network.Google.Resource.Ml.Projects.Locations.List

Request Lenses

pllParent :: Lens' ProjectsLocationsList Text Source #

Required. The name of the project for which available locations are to be listed (since some locations might be whitelisted for specific projects).

pllUploadProtocol :: Lens' ProjectsLocationsList (Maybe Text) Source #

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

pllUploadType :: Lens' ProjectsLocationsList (Maybe Text) Source #

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

pllPageToken :: Lens' ProjectsLocationsList (Maybe Text) Source #

Optional. A page token to request the next page of results. You get the token from the `next_page_token` field of the response from the previous call.

pllPageSize :: Lens' ProjectsLocationsList (Maybe Int32) Source #

Optional. The number of locations to retrieve per "page" of results. If there are more remaining results than this number, the response message will contain a valid value in the `next_page_token` field. The default value is 20, and the maximum page size is 100.