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

Contents

Description

Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.

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

Synopsis

REST Resource

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

A resource alias for dataproc.projects.regions.clusters.diagnose method which the ProjectsRegionsClustersDiagnose request conforms to.

Creating a Request

data ProjectsRegionsClustersDiagnose Source #

Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseClusterOutputLocation.

See: projectsRegionsClustersDiagnose smart constructor.

Instances
Eq ProjectsRegionsClustersDiagnose Source # 
Instance details

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

Data ProjectsRegionsClustersDiagnose Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsClustersDiagnose -> Constr #

dataTypeOf :: ProjectsRegionsClustersDiagnose -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsClustersDiagnose Source # 
Instance details

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

Generic ProjectsRegionsClustersDiagnose Source # 
Instance details

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

Associated Types

type Rep ProjectsRegionsClustersDiagnose :: Type -> Type #

GoogleRequest ProjectsRegionsClustersDiagnose Source # 
Instance details

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

type Rep ProjectsRegionsClustersDiagnose Source # 
Instance details

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

type Rep ProjectsRegionsClustersDiagnose = D1 (MetaData "ProjectsRegionsClustersDiagnose" "Network.Google.Resource.Dataproc.Projects.Regions.Clusters.Diagnose" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsClustersDiagnose'" PrefixI True) (((S1 (MetaSel (Just "_pXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DiagnoseClusterRequest) :*: S1 (MetaSel (Just "_pClusterName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsRegionsClustersDiagnose Source # 
Instance details

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

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

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

Request Lenses

pUploadProtocol :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text) Source #

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

pUploadType :: Lens' ProjectsRegionsClustersDiagnose (Maybe Text) Source #

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

pRegion :: Lens' ProjectsRegionsClustersDiagnose Text Source #

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

pProjectId :: Lens' ProjectsRegionsClustersDiagnose Text Source #

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