gogol-dataproc-0.4.0: Google Cloud Dataproc 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.Dataproc.Projects.Regions.Clusters.Create

Contents

Description

Creates a cluster in a project.

See: Cloud Dataproc API Reference for dataproc.projects.regions.clusters.create.

Synopsis

REST Resource

type ProjectsRegionsClustersCreateResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("clusters" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "requestId" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Cluster :> Post '[JSON] Operation))))))))))))) Source #

A resource alias for dataproc.projects.regions.clusters.create method which the ProjectsRegionsClustersCreate request conforms to.

Creating a Request

data ProjectsRegionsClustersCreate Source #

Creates a cluster in a project.

See: projectsRegionsClustersCreate smart constructor.

Instances
Eq ProjectsRegionsClustersCreate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create

Data ProjectsRegionsClustersCreate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create

Methods

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

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

toConstr :: ProjectsRegionsClustersCreate -> Constr #

dataTypeOf :: ProjectsRegionsClustersCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsClustersCreate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create

Generic ProjectsRegionsClustersCreate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create

Associated Types

type Rep ProjectsRegionsClustersCreate :: Type -> Type #

GoogleRequest ProjectsRegionsClustersCreate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create

type Rep ProjectsRegionsClustersCreate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create

type Rep ProjectsRegionsClustersCreate = D1 (MetaData "ProjectsRegionsClustersCreate" "Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsClustersCreate'" PrefixI True) (((S1 (MetaSel (Just "_prccXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_prccRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prccUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prccAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prccUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prccPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Cluster)) :*: (S1 (MetaSel (Just "_prccRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_prccProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prccCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsRegionsClustersCreate Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create

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

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Create

Request Lenses

prccRequestId :: Lens' ProjectsRegionsClustersCreate (Maybe Text) Source #

Optional. A unique id used to identify the request. If the server receives two CreateClusterRequest requests with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

prccUploadProtocol :: Lens' ProjectsRegionsClustersCreate (Maybe Text) Source #

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

prccUploadType :: Lens' ProjectsRegionsClustersCreate (Maybe Text) Source #

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

prccRegion :: Lens' ProjectsRegionsClustersCreate Text Source #

Required. The Cloud Dataproc region in which to handle the request.

prccProjectId :: Lens' ProjectsRegionsClustersCreate Text Source #

Required. The ID of the Google Cloud Platform project that the cluster belongs to.