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 |
- Service Configuration
- OAuth Scopes
- JobReference
- JobStatusState
- WorkflowNodeState
- Status
- PySparkJobProperties
- DiagnoseClusterResults
- InstanceGroupConfig
- SparkJob
- SoftwareConfigProperties
- WorkflowGraph
- ClusterOperation
- ClusterSelector
- JobScheduling
- DiskConfig
- ClusterOperationMetadataLabels
- Expr
- ListOperationsResponse
- HiveJobScriptVariables
- GetIAMPolicyRequest
- WorkflowTemplatePlacement
- Cluster
- ManagedClusterLabels
- ParameterValidation
- JobLabels
- SubmitJobRequest
- ClusterStatusSubState
- ClusterMetrics
- Operation
- Empty
- HiveJob
- OrderedJobLabels
- ClusterSelectorClusterLabels
- SparkSQLJobScriptVariables
- PigJobProperties
- ClusterConfig
- InstantiateWorkflowTemplateRequest
- HadoopJobProperties
- WorkflowTemplate
- ClusterOperationStatus
- StatusDetailsItem
- SparkSQLJobProperties
- WorkflowTemplateLabels
- NodeInitializationAction
- ClusterMetricsYarnMetrics
- RegexValidation
- JobPlacement
- SetIAMPolicyRequest
- TemplateParameter
- GceClusterConfig
- WorkflowMetadataState
- YarnApplicationState
- ClusterStatusState
- ListWorkflowTemplatesResponse
- GceClusterConfigMetadata
- ClusterOperationStatusState
- HiveJobProperties
- WorkflowMetadataParameters
- ManagedCluster
- ClusterLabels
- Job
- DiagnoseClusterRequest
- HadoopJob
- Xgafv
- InstantiateWorkflowTemplateRequestParameters
- ClusterOperationMetadata
- TestIAMPermissionsRequest
- SparkSQLJob
- SoftwareConfig
- ListJobsResponse
- AcceleratorConfig
- SparkJobProperties
- EncryptionConfig
- PySparkJob
- ManagedGroupConfig
- TestIAMPermissionsResponse
- ListClustersResponse
- ValueValidation
- JobStatusSubState
- Policy
- OrderedJob
- CancelJobRequest
- QueryList
- OperationMetadata
- JobStatus
- PigJobScriptVariables
- ClusterMetricsHdfsMetrics
- WorkflowNode
- WorkflowMetadata
- OperationResponse
- LoggingConfigDriverLogLevels
- ClusterStatus
- YarnApplication
- PigJob
- LoggingConfig
- Binding
Synopsis
- dataprocService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- data JobReference
- jobReference :: JobReference
- jrJobId :: Lens' JobReference (Maybe Text)
- jrProjectId :: Lens' JobReference (Maybe Text)
- data JobStatusState
- data WorkflowNodeState
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data PySparkJobProperties
- pySparkJobProperties :: HashMap Text Text -> PySparkJobProperties
- psjpAddtional :: Lens' PySparkJobProperties (HashMap Text Text)
- data DiagnoseClusterResults
- diagnoseClusterResults :: DiagnoseClusterResults
- dcrOutputURI :: Lens' DiagnoseClusterResults (Maybe Text)
- data InstanceGroupConfig
- instanceGroupConfig :: InstanceGroupConfig
- igcNumInstances :: Lens' InstanceGroupConfig (Maybe Int32)
- igcDiskConfig :: Lens' InstanceGroupConfig (Maybe DiskConfig)
- igcIsPreemptible :: Lens' InstanceGroupConfig (Maybe Bool)
- igcImageURI :: Lens' InstanceGroupConfig (Maybe Text)
- igcAccelerators :: Lens' InstanceGroupConfig [AcceleratorConfig]
- igcInstanceNames :: Lens' InstanceGroupConfig [Text]
- igcManagedGroupConfig :: Lens' InstanceGroupConfig (Maybe ManagedGroupConfig)
- igcMachineTypeURI :: Lens' InstanceGroupConfig (Maybe Text)
- data SparkJob
- sparkJob :: SparkJob
- sjArgs :: Lens' SparkJob [Text]
- sjMainJarFileURI :: Lens' SparkJob (Maybe Text)
- sjJarFileURIs :: Lens' SparkJob [Text]
- sjFileURIs :: Lens' SparkJob [Text]
- sjArchiveURIs :: Lens' SparkJob [Text]
- sjMainClass :: Lens' SparkJob (Maybe Text)
- sjLoggingConfig :: Lens' SparkJob (Maybe LoggingConfig)
- sjProperties :: Lens' SparkJob (Maybe SparkJobProperties)
- data SoftwareConfigProperties
- softwareConfigProperties :: HashMap Text Text -> SoftwareConfigProperties
- scpAddtional :: Lens' SoftwareConfigProperties (HashMap Text Text)
- data WorkflowGraph
- workflowGraph :: WorkflowGraph
- wgNodes :: Lens' WorkflowGraph [WorkflowNode]
- data ClusterOperation
- clusterOperation :: ClusterOperation
- coDone :: Lens' ClusterOperation (Maybe Bool)
- coError :: Lens' ClusterOperation (Maybe Text)
- coOperationId :: Lens' ClusterOperation (Maybe Text)
- data ClusterSelector
- clusterSelector :: ClusterSelector
- csZone :: Lens' ClusterSelector (Maybe Text)
- csClusterLabels :: Lens' ClusterSelector (Maybe ClusterSelectorClusterLabels)
- data JobScheduling
- jobScheduling :: JobScheduling
- jsMaxFailuresPerHour :: Lens' JobScheduling (Maybe Int32)
- data DiskConfig
- diskConfig :: DiskConfig
- dcNumLocalSsds :: Lens' DiskConfig (Maybe Int32)
- dcBootDiskType :: Lens' DiskConfig (Maybe Text)
- dcBootDiskSizeGb :: Lens' DiskConfig (Maybe Int32)
- data ClusterOperationMetadataLabels
- clusterOperationMetadataLabels :: HashMap Text Text -> ClusterOperationMetadataLabels
- comlAddtional :: Lens' ClusterOperationMetadataLabels (HashMap Text Text)
- data Expr
- expr :: Expr
- eLocation :: Lens' Expr (Maybe Text)
- eExpression :: Lens' Expr (Maybe Text)
- eTitle :: Lens' Expr (Maybe Text)
- eDescription :: Lens' Expr (Maybe Text)
- data ListOperationsResponse
- listOperationsResponse :: ListOperationsResponse
- lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text)
- lorOperations :: Lens' ListOperationsResponse [Operation]
- data HiveJobScriptVariables
- hiveJobScriptVariables :: HashMap Text Text -> HiveJobScriptVariables
- hjsvAddtional :: Lens' HiveJobScriptVariables (HashMap Text Text)
- data GetIAMPolicyRequest
- getIAMPolicyRequest :: GetIAMPolicyRequest
- data WorkflowTemplatePlacement
- workflowTemplatePlacement :: WorkflowTemplatePlacement
- wtpClusterSelector :: Lens' WorkflowTemplatePlacement (Maybe ClusterSelector)
- wtpManagedCluster :: Lens' WorkflowTemplatePlacement (Maybe ManagedCluster)
- data Cluster
- cluster :: Cluster
- cStatus :: Lens' Cluster (Maybe ClusterStatus)
- cMetrics :: Lens' Cluster (Maybe ClusterMetrics)
- cClusterUuid :: Lens' Cluster (Maybe Text)
- cConfig :: Lens' Cluster (Maybe ClusterConfig)
- cClusterName :: Lens' Cluster (Maybe Text)
- cLabels :: Lens' Cluster (Maybe ClusterLabels)
- cProjectId :: Lens' Cluster (Maybe Text)
- cStatusHistory :: Lens' Cluster [ClusterStatus]
- data ManagedClusterLabels
- managedClusterLabels :: HashMap Text Text -> ManagedClusterLabels
- mclAddtional :: Lens' ManagedClusterLabels (HashMap Text Text)
- data ParameterValidation
- parameterValidation :: ParameterValidation
- pvRegex :: Lens' ParameterValidation (Maybe RegexValidation)
- pvValues :: Lens' ParameterValidation (Maybe ValueValidation)
- data JobLabels
- jobLabels :: HashMap Text Text -> JobLabels
- jlAddtional :: Lens' JobLabels (HashMap Text Text)
- data SubmitJobRequest
- submitJobRequest :: SubmitJobRequest
- sjrRequestId :: Lens' SubmitJobRequest (Maybe Text)
- sjrJob :: Lens' SubmitJobRequest (Maybe Job)
- data ClusterStatusSubState
- data ClusterMetrics
- clusterMetrics :: ClusterMetrics
- cmYarnMetrics :: Lens' ClusterMetrics (Maybe ClusterMetricsYarnMetrics)
- cmHdfsMetrics :: Lens' ClusterMetrics (Maybe ClusterMetricsHdfsMetrics)
- data Operation
- operation :: Operation
- oDone :: Lens' Operation (Maybe Bool)
- oError :: Lens' Operation (Maybe Status)
- oResponse :: Lens' Operation (Maybe OperationResponse)
- oName :: Lens' Operation (Maybe Text)
- oMetadata :: Lens' Operation (Maybe OperationMetadata)
- data Empty
- empty :: Empty
- data HiveJob
- hiveJob :: HiveJob
- hjQueryFileURI :: Lens' HiveJob (Maybe Text)
- hjJarFileURIs :: Lens' HiveJob [Text]
- hjScriptVariables :: Lens' HiveJob (Maybe HiveJobScriptVariables)
- hjQueryList :: Lens' HiveJob (Maybe QueryList)
- hjContinueOnFailure :: Lens' HiveJob (Maybe Bool)
- hjProperties :: Lens' HiveJob (Maybe HiveJobProperties)
- data OrderedJobLabels
- orderedJobLabels :: HashMap Text Text -> OrderedJobLabels
- ojlAddtional :: Lens' OrderedJobLabels (HashMap Text Text)
- data ClusterSelectorClusterLabels
- clusterSelectorClusterLabels :: HashMap Text Text -> ClusterSelectorClusterLabels
- csclAddtional :: Lens' ClusterSelectorClusterLabels (HashMap Text Text)
- data SparkSQLJobScriptVariables
- sparkSQLJobScriptVariables :: HashMap Text Text -> SparkSQLJobScriptVariables
- ssqljsvAddtional :: Lens' SparkSQLJobScriptVariables (HashMap Text Text)
- data PigJobProperties
- pigJobProperties :: HashMap Text Text -> PigJobProperties
- pjpAddtional :: Lens' PigJobProperties (HashMap Text Text)
- data ClusterConfig
- clusterConfig :: ClusterConfig
- ccWorkerConfig :: Lens' ClusterConfig (Maybe InstanceGroupConfig)
- ccInitializationActions :: Lens' ClusterConfig [NodeInitializationAction]
- ccMasterConfig :: Lens' ClusterConfig (Maybe InstanceGroupConfig)
- ccGceClusterConfig :: Lens' ClusterConfig (Maybe GceClusterConfig)
- ccConfigBucket :: Lens' ClusterConfig (Maybe Text)
- ccEncryptionConfig :: Lens' ClusterConfig (Maybe EncryptionConfig)
- ccSoftwareConfig :: Lens' ClusterConfig (Maybe SoftwareConfig)
- ccSecondaryWorkerConfig :: Lens' ClusterConfig (Maybe InstanceGroupConfig)
- data InstantiateWorkflowTemplateRequest
- instantiateWorkflowTemplateRequest :: InstantiateWorkflowTemplateRequest
- iwtrRequestId :: Lens' InstantiateWorkflowTemplateRequest (Maybe Text)
- iwtrVersion :: Lens' InstantiateWorkflowTemplateRequest (Maybe Int32)
- iwtrParameters :: Lens' InstantiateWorkflowTemplateRequest (Maybe InstantiateWorkflowTemplateRequestParameters)
- data HadoopJobProperties
- hadoopJobProperties :: HashMap Text Text -> HadoopJobProperties
- hjpAddtional :: Lens' HadoopJobProperties (HashMap Text Text)
- data WorkflowTemplate
- workflowTemplate :: WorkflowTemplate
- wtJobs :: Lens' WorkflowTemplate [OrderedJob]
- wtUpdateTime :: Lens' WorkflowTemplate (Maybe UTCTime)
- wtName :: Lens' WorkflowTemplate (Maybe Text)
- wtVersion :: Lens' WorkflowTemplate (Maybe Int32)
- wtParameters :: Lens' WorkflowTemplate [TemplateParameter]
- wtId :: Lens' WorkflowTemplate (Maybe Text)
- wtLabels :: Lens' WorkflowTemplate (Maybe WorkflowTemplateLabels)
- wtCreateTime :: Lens' WorkflowTemplate (Maybe UTCTime)
- wtPlacement :: Lens' WorkflowTemplate (Maybe WorkflowTemplatePlacement)
- data ClusterOperationStatus
- clusterOperationStatus :: ClusterOperationStatus
- cosState :: Lens' ClusterOperationStatus (Maybe ClusterOperationStatusState)
- cosInnerState :: Lens' ClusterOperationStatus (Maybe Text)
- cosStateStartTime :: Lens' ClusterOperationStatus (Maybe UTCTime)
- cosDetails :: Lens' ClusterOperationStatus (Maybe Text)
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data SparkSQLJobProperties
- sparkSQLJobProperties :: HashMap Text Text -> SparkSQLJobProperties
- ssqljpAddtional :: Lens' SparkSQLJobProperties (HashMap Text Text)
- data WorkflowTemplateLabels
- workflowTemplateLabels :: HashMap Text Text -> WorkflowTemplateLabels
- wtlAddtional :: Lens' WorkflowTemplateLabels (HashMap Text Text)
- data NodeInitializationAction
- nodeInitializationAction :: NodeInitializationAction
- niaExecutionTimeout :: Lens' NodeInitializationAction (Maybe Scientific)
- niaExecutableFile :: Lens' NodeInitializationAction (Maybe Text)
- data ClusterMetricsYarnMetrics
- clusterMetricsYarnMetrics :: HashMap Text Int64 -> ClusterMetricsYarnMetrics
- cmymAddtional :: Lens' ClusterMetricsYarnMetrics (HashMap Text Int64)
- data RegexValidation
- regexValidation :: RegexValidation
- rvRegexes :: Lens' RegexValidation [Text]
- data JobPlacement
- jobPlacement :: JobPlacement
- jpClusterUuid :: Lens' JobPlacement (Maybe Text)
- jpClusterName :: Lens' JobPlacement (Maybe Text)
- data SetIAMPolicyRequest
- setIAMPolicyRequest :: SetIAMPolicyRequest
- siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy)
- data TemplateParameter
- templateParameter :: TemplateParameter
- tpName :: Lens' TemplateParameter (Maybe Text)
- tpValidation :: Lens' TemplateParameter (Maybe ParameterValidation)
- tpDescription :: Lens' TemplateParameter (Maybe Text)
- tpFields :: Lens' TemplateParameter [Text]
- data GceClusterConfig
- gceClusterConfig :: GceClusterConfig
- gccSubnetworkURI :: Lens' GceClusterConfig (Maybe Text)
- gccInternalIPOnly :: Lens' GceClusterConfig (Maybe Bool)
- gccNetworkURI :: Lens' GceClusterConfig (Maybe Text)
- gccZoneURI :: Lens' GceClusterConfig (Maybe Text)
- gccServiceAccount :: Lens' GceClusterConfig (Maybe Text)
- gccMetadata :: Lens' GceClusterConfig (Maybe GceClusterConfigMetadata)
- gccServiceAccountScopes :: Lens' GceClusterConfig [Text]
- gccTags :: Lens' GceClusterConfig [Text]
- data WorkflowMetadataState
- data YarnApplicationState
- data ClusterStatusState
- data ListWorkflowTemplatesResponse
- listWorkflowTemplatesResponse :: ListWorkflowTemplatesResponse
- lwtrNextPageToken :: Lens' ListWorkflowTemplatesResponse (Maybe Text)
- lwtrTemplates :: Lens' ListWorkflowTemplatesResponse [WorkflowTemplate]
- data GceClusterConfigMetadata
- gceClusterConfigMetadata :: HashMap Text Text -> GceClusterConfigMetadata
- gccmAddtional :: Lens' GceClusterConfigMetadata (HashMap Text Text)
- data ClusterOperationStatusState
- data HiveJobProperties
- hiveJobProperties :: HashMap Text Text -> HiveJobProperties
- hAddtional :: Lens' HiveJobProperties (HashMap Text Text)
- data WorkflowMetadataParameters
- workflowMetadataParameters :: HashMap Text Text -> WorkflowMetadataParameters
- wmpAddtional :: Lens' WorkflowMetadataParameters (HashMap Text Text)
- data ManagedCluster
- managedCluster :: ManagedCluster
- mcConfig :: Lens' ManagedCluster (Maybe ClusterConfig)
- mcClusterName :: Lens' ManagedCluster (Maybe Text)
- mcLabels :: Lens' ManagedCluster (Maybe ManagedClusterLabels)
- data ClusterLabels
- clusterLabels :: HashMap Text Text -> ClusterLabels
- clAddtional :: Lens' ClusterLabels (HashMap Text Text)
- data Job
- job :: Job
- jSparkJob :: Lens' Job (Maybe SparkJob)
- jStatus :: Lens' Job (Maybe JobStatus)
- jDriverControlFilesURI :: Lens' Job (Maybe Text)
- jHiveJob :: Lens' Job (Maybe HiveJob)
- jReference :: Lens' Job (Maybe JobReference)
- jSparkSQLJob :: Lens' Job (Maybe SparkSQLJob)
- jHadoopJob :: Lens' Job (Maybe HadoopJob)
- jJobUuid :: Lens' Job (Maybe Text)
- jYarnApplications :: Lens' Job [YarnApplication]
- jLabels :: Lens' Job (Maybe JobLabels)
- jPysparkJob :: Lens' Job (Maybe PySparkJob)
- jDriverOutputResourceURI :: Lens' Job (Maybe Text)
- jScheduling :: Lens' Job (Maybe JobScheduling)
- jStatusHistory :: Lens' Job [JobStatus]
- jPlacement :: Lens' Job (Maybe JobPlacement)
- jPigJob :: Lens' Job (Maybe PigJob)
- data DiagnoseClusterRequest
- diagnoseClusterRequest :: DiagnoseClusterRequest
- data HadoopJob
- hadoopJob :: HadoopJob
- hArgs :: Lens' HadoopJob [Text]
- hMainJarFileURI :: Lens' HadoopJob (Maybe Text)
- hJarFileURIs :: Lens' HadoopJob [Text]
- hFileURIs :: Lens' HadoopJob [Text]
- hArchiveURIs :: Lens' HadoopJob [Text]
- hMainClass :: Lens' HadoopJob (Maybe Text)
- hLoggingConfig :: Lens' HadoopJob (Maybe LoggingConfig)
- hProperties :: Lens' HadoopJob (Maybe HadoopJobProperties)
- data Xgafv
- data InstantiateWorkflowTemplateRequestParameters
- instantiateWorkflowTemplateRequestParameters :: HashMap Text Text -> InstantiateWorkflowTemplateRequestParameters
- iwtrpAddtional :: Lens' InstantiateWorkflowTemplateRequestParameters (HashMap Text Text)
- data ClusterOperationMetadata
- clusterOperationMetadata :: ClusterOperationMetadata
- comStatus :: Lens' ClusterOperationMetadata (Maybe ClusterOperationStatus)
- comClusterUuid :: Lens' ClusterOperationMetadata (Maybe Text)
- comWarnings :: Lens' ClusterOperationMetadata [Text]
- comClusterName :: Lens' ClusterOperationMetadata (Maybe Text)
- comLabels :: Lens' ClusterOperationMetadata (Maybe ClusterOperationMetadataLabels)
- comOperationType :: Lens' ClusterOperationMetadata (Maybe Text)
- comStatusHistory :: Lens' ClusterOperationMetadata [ClusterOperationStatus]
- comDescription :: Lens' ClusterOperationMetadata (Maybe Text)
- data TestIAMPermissionsRequest
- testIAMPermissionsRequest :: TestIAMPermissionsRequest
- tiprPermissions :: Lens' TestIAMPermissionsRequest [Text]
- data SparkSQLJob
- sparkSQLJob :: SparkSQLJob
- ssqljQueryFileURI :: Lens' SparkSQLJob (Maybe Text)
- ssqljJarFileURIs :: Lens' SparkSQLJob [Text]
- ssqljScriptVariables :: Lens' SparkSQLJob (Maybe SparkSQLJobScriptVariables)
- ssqljQueryList :: Lens' SparkSQLJob (Maybe QueryList)
- ssqljLoggingConfig :: Lens' SparkSQLJob (Maybe LoggingConfig)
- ssqljProperties :: Lens' SparkSQLJob (Maybe SparkSQLJobProperties)
- data SoftwareConfig
- softwareConfig :: SoftwareConfig
- scImageVersion :: Lens' SoftwareConfig (Maybe Text)
- scProperties :: Lens' SoftwareConfig (Maybe SoftwareConfigProperties)
- data ListJobsResponse
- listJobsResponse :: ListJobsResponse
- ljrNextPageToken :: Lens' ListJobsResponse (Maybe Text)
- ljrJobs :: Lens' ListJobsResponse [Job]
- data AcceleratorConfig
- acceleratorConfig :: AcceleratorConfig
- acAcceleratorCount :: Lens' AcceleratorConfig (Maybe Int32)
- acAcceleratorTypeURI :: Lens' AcceleratorConfig (Maybe Text)
- data SparkJobProperties
- sparkJobProperties :: HashMap Text Text -> SparkJobProperties
- sjpAddtional :: Lens' SparkJobProperties (HashMap Text Text)
- data EncryptionConfig
- encryptionConfig :: EncryptionConfig
- ecGcePdKmsKeyName :: Lens' EncryptionConfig (Maybe Text)
- data PySparkJob
- pySparkJob :: PySparkJob
- psjPythonFileURIs :: Lens' PySparkJob [Text]
- psjMainPythonFileURI :: Lens' PySparkJob (Maybe Text)
- psjArgs :: Lens' PySparkJob [Text]
- psjJarFileURIs :: Lens' PySparkJob [Text]
- psjFileURIs :: Lens' PySparkJob [Text]
- psjArchiveURIs :: Lens' PySparkJob [Text]
- psjLoggingConfig :: Lens' PySparkJob (Maybe LoggingConfig)
- psjProperties :: Lens' PySparkJob (Maybe PySparkJobProperties)
- data ManagedGroupConfig
- managedGroupConfig :: ManagedGroupConfig
- mgcInstanceTemplateName :: Lens' ManagedGroupConfig (Maybe Text)
- mgcInstanceGroupManagerName :: Lens' ManagedGroupConfig (Maybe Text)
- data TestIAMPermissionsResponse
- testIAMPermissionsResponse :: TestIAMPermissionsResponse
- tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text]
- data ListClustersResponse
- listClustersResponse :: ListClustersResponse
- lcrNextPageToken :: Lens' ListClustersResponse (Maybe Text)
- lcrClusters :: Lens' ListClustersResponse [Cluster]
- data ValueValidation
- valueValidation :: ValueValidation
- vvValues :: Lens' ValueValidation [Text]
- data JobStatusSubState
- data Policy
- policy :: Policy
- pEtag :: Lens' Policy (Maybe ByteString)
- pVersion :: Lens' Policy (Maybe Int32)
- pBindings :: Lens' Policy [Binding]
- data OrderedJob
- orderedJob :: OrderedJob
- ojSparkJob :: Lens' OrderedJob (Maybe SparkJob)
- ojStepId :: Lens' OrderedJob (Maybe Text)
- ojPrerequisiteStepIds :: Lens' OrderedJob [Text]
- ojHiveJob :: Lens' OrderedJob (Maybe HiveJob)
- ojSparkSQLJob :: Lens' OrderedJob (Maybe SparkSQLJob)
- ojHadoopJob :: Lens' OrderedJob (Maybe HadoopJob)
- ojLabels :: Lens' OrderedJob (Maybe OrderedJobLabels)
- ojPysparkJob :: Lens' OrderedJob (Maybe PySparkJob)
- ojScheduling :: Lens' OrderedJob (Maybe JobScheduling)
- ojPigJob :: Lens' OrderedJob (Maybe PigJob)
- data CancelJobRequest
- cancelJobRequest :: CancelJobRequest
- data QueryList
- queryList :: QueryList
- qlQueries :: Lens' QueryList [Text]
- data OperationMetadata
- operationMetadata :: HashMap Text JSONValue -> OperationMetadata
- omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue)
- data JobStatus
- jobStatus :: JobStatus
- jsState :: Lens' JobStatus (Maybe JobStatusState)
- jsSubState :: Lens' JobStatus (Maybe JobStatusSubState)
- jsStateStartTime :: Lens' JobStatus (Maybe UTCTime)
- jsDetails :: Lens' JobStatus (Maybe Text)
- data PigJobScriptVariables
- pigJobScriptVariables :: HashMap Text Text -> PigJobScriptVariables
- pjsvAddtional :: Lens' PigJobScriptVariables (HashMap Text Text)
- data ClusterMetricsHdfsMetrics
- clusterMetricsHdfsMetrics :: HashMap Text Int64 -> ClusterMetricsHdfsMetrics
- cmhmAddtional :: Lens' ClusterMetricsHdfsMetrics (HashMap Text Int64)
- data WorkflowNode
- workflowNode :: WorkflowNode
- wnState :: Lens' WorkflowNode (Maybe WorkflowNodeState)
- wnStepId :: Lens' WorkflowNode (Maybe Text)
- wnJobId :: Lens' WorkflowNode (Maybe Text)
- wnPrerequisiteStepIds :: Lens' WorkflowNode [Text]
- wnError :: Lens' WorkflowNode (Maybe Text)
- data WorkflowMetadata
- workflowMetadata :: WorkflowMetadata
- wmGraph :: Lens' WorkflowMetadata (Maybe WorkflowGraph)
- wmState :: Lens' WorkflowMetadata (Maybe WorkflowMetadataState)
- wmClusterUuid :: Lens' WorkflowMetadata (Maybe Text)
- wmStartTime :: Lens' WorkflowMetadata (Maybe UTCTime)
- wmDeleteCluster :: Lens' WorkflowMetadata (Maybe ClusterOperation)
- wmCreateCluster :: Lens' WorkflowMetadata (Maybe ClusterOperation)
- wmVersion :: Lens' WorkflowMetadata (Maybe Int32)
- wmEndTime :: Lens' WorkflowMetadata (Maybe UTCTime)
- wmParameters :: Lens' WorkflowMetadata (Maybe WorkflowMetadataParameters)
- wmClusterName :: Lens' WorkflowMetadata (Maybe Text)
- wmTemplate :: Lens' WorkflowMetadata (Maybe Text)
- data OperationResponse
- operationResponse :: HashMap Text JSONValue -> OperationResponse
- orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
- data LoggingConfigDriverLogLevels
- loggingConfigDriverLogLevels :: HashMap Text Text -> LoggingConfigDriverLogLevels
- lcdllAddtional :: Lens' LoggingConfigDriverLogLevels (HashMap Text Text)
- data ClusterStatus
- clusterStatus :: ClusterStatus
- csState :: Lens' ClusterStatus (Maybe ClusterStatusState)
- csSubState :: Lens' ClusterStatus (Maybe ClusterStatusSubState)
- csStateStartTime :: Lens' ClusterStatus (Maybe UTCTime)
- csDetail :: Lens' ClusterStatus (Maybe Text)
- data YarnApplication
- yarnApplication :: YarnApplication
- yaTrackingURL :: Lens' YarnApplication (Maybe Text)
- yaState :: Lens' YarnApplication (Maybe YarnApplicationState)
- yaProgress :: Lens' YarnApplication (Maybe Double)
- yaName :: Lens' YarnApplication (Maybe Text)
- data PigJob
- pigJob :: PigJob
- pjQueryFileURI :: Lens' PigJob (Maybe Text)
- pjJarFileURIs :: Lens' PigJob [Text]
- pjScriptVariables :: Lens' PigJob (Maybe PigJobScriptVariables)
- pjQueryList :: Lens' PigJob (Maybe QueryList)
- pjContinueOnFailure :: Lens' PigJob (Maybe Bool)
- pjLoggingConfig :: Lens' PigJob (Maybe LoggingConfig)
- pjProperties :: Lens' PigJob (Maybe PigJobProperties)
- data LoggingConfig
- loggingConfig :: LoggingConfig
- lcDriverLogLevels :: Lens' LoggingConfig (Maybe LoggingConfigDriverLogLevels)
- data Binding
- binding :: Binding
- bMembers :: Lens' Binding [Text]
- bRole :: Lens' Binding (Maybe Text)
- bCondition :: Lens' Binding (Maybe Expr)
Service Configuration
dataprocService :: ServiceConfig Source #
Default request referring to version v1
of the Cloud Dataproc API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
JobReference
data JobReference Source #
Encapsulates the full scoping used to reference a job.
See: jobReference
smart constructor.
Instances
jobReference :: JobReference Source #
Creates a value of JobReference
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jrJobId :: Lens' JobReference (Maybe Text) Source #
Optional. The job ID, which must be unique within the project. The job ID is generated by the server upon job submission or provided by the user as a means to perform retries without creating duplicate jobs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.
jrProjectId :: Lens' JobReference (Maybe Text) Source #
Required. The ID of the Google Cloud Platform project that the job belongs to.
JobStatusState
data JobStatusState Source #
Output only. A state message specifying the overall job state.
StateUnspecified |
|
Pending |
|
SetupDone |
|
Running |
|
CancelPending |
|
CancelStarted |
|
Cancelled |
|
Done |
|
Error' |
|
AttemptFailure |
|
Instances
WorkflowNodeState
data WorkflowNodeState Source #
Output only. The node state.
WNSNodeStateUnspecified |
|
WNSBlocked |
|
WNSRunnable |
|
WNSRunning |
|
WNSCompleted |
|
WNSFailed |
|
Instances
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). The error model is designed to be: Simple to use and understand for most users Flexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc that can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include: Partial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors. Workflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting. Batch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response. Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message. Logging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.
See: status
smart constructor.
Instances
Eq Status Source # | |
Data Status Source # | |
Defined in Network.Google.Dataproc.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status # toConstr :: Status -> Constr # dataTypeOf :: Status -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) # gmapT :: (forall b. Data b => b -> b) -> Status -> Status # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # | |
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
Defined in Network.Google.Dataproc.Types.Product | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.Dataproc.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.Dataproc.Types.Product" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
sDetails :: Lens' Status [StatusDetailsItem] Source #
A list of messages that carry the error details. There is a common set of message types for APIs to use.
sCode :: Lens' Status (Maybe Int32) Source #
The status code, which should be an enum value of google.rpc.Code.
sMessage :: Lens' Status (Maybe Text) Source #
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
PySparkJobProperties
data PySparkJobProperties Source #
Optional. A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.
See: pySparkJobProperties
smart constructor.
Instances
Creates a value of PySparkJobProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
DiagnoseClusterResults
data DiagnoseClusterResults Source #
The location of diagnostic output.
See: diagnoseClusterResults
smart constructor.
Instances
diagnoseClusterResults :: DiagnoseClusterResults Source #
Creates a value of DiagnoseClusterResults
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcrOutputURI :: Lens' DiagnoseClusterResults (Maybe Text) Source #
Output only. The Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.
InstanceGroupConfig
data InstanceGroupConfig Source #
Optional. The config settings for Compute Engine resources in an instance group, such as a master or worker group.
See: instanceGroupConfig
smart constructor.
Instances
instanceGroupConfig :: InstanceGroupConfig Source #
Creates a value of InstanceGroupConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igcNumInstances :: Lens' InstanceGroupConfig (Maybe Int32) Source #
Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.
igcDiskConfig :: Lens' InstanceGroupConfig (Maybe DiskConfig) Source #
Optional. Disk option config settings.
igcIsPreemptible :: Lens' InstanceGroupConfig (Maybe Bool) Source #
Optional. Specifies that this instance group contains preemptible instances.
igcImageURI :: Lens' InstanceGroupConfig (Maybe Text) Source #
Optional. The Compute Engine image resource used for cluster instances. It can be specified or may be inferred from SoftwareConfig.image_version.
igcAccelerators :: Lens' InstanceGroupConfig [AcceleratorConfig] Source #
Optional. The Compute Engine accelerator configuration for these instances.Beta Feature: This feature is still under development. It may be changed before final release.
igcInstanceNames :: Lens' InstanceGroupConfig [Text] Source #
Output only. The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group.
igcManagedGroupConfig :: Lens' InstanceGroupConfig (Maybe ManagedGroupConfig) Source #
Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
igcMachineTypeURI :: Lens' InstanceGroupConfig (Maybe Text) Source #
Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 n1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc Auto Zone Placement feature, you must use the short name of the machine type resource, for example, n1-standard-2.
SparkJob
A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) applications on YARN.
See: sparkJob
smart constructor.
Instances
Creates a value of SparkJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sjArgs :: Lens' SparkJob [Text] Source #
Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.
sjMainJarFileURI :: Lens' SparkJob (Maybe Text) Source #
The HCFS URI of the jar file that contains the main class.
sjJarFileURIs :: Lens' SparkJob [Text] Source #
Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.
sjFileURIs :: Lens' SparkJob [Text] Source #
Optional. HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.
sjArchiveURIs :: Lens' SparkJob [Text] Source #
Optional. HCFS URIs of archives to be extracted in the working directory of Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
sjMainClass :: Lens' SparkJob (Maybe Text) Source #
The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris.
sjLoggingConfig :: Lens' SparkJob (Maybe LoggingConfig) Source #
Optional. The runtime log config for job execution.
sjProperties :: Lens' SparkJob (Maybe SparkJobProperties) Source #
Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.
SoftwareConfigProperties
data SoftwareConfigProperties Source #
Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, such as core:fs.defaultFS. The following are supported prefixes and their mappings: capacity-scheduler: capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs: hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: pig.properties spark: spark-defaults.conf yarn: yarn-site.xmlFor more information, see Cluster properties.
See: softwareConfigProperties
smart constructor.
Instances
softwareConfigProperties Source #
Creates a value of SoftwareConfigProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
WorkflowGraph
data WorkflowGraph Source #
The workflow graph.
See: workflowGraph
smart constructor.
Instances
workflowGraph :: WorkflowGraph Source #
Creates a value of WorkflowGraph
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wgNodes :: Lens' WorkflowGraph [WorkflowNode] Source #
Output only. The workflow nodes.
ClusterOperation
data ClusterOperation Source #
The cluster operation triggered by a workflow.
See: clusterOperation
smart constructor.
Instances
clusterOperation :: ClusterOperation Source #
Creates a value of ClusterOperation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
coOperationId :: Lens' ClusterOperation (Maybe Text) Source #
Output only. The id of the cluster operation.
ClusterSelector
data ClusterSelector Source #
A selector that chooses target cluster for jobs based on metadata.
See: clusterSelector
smart constructor.
Instances
clusterSelector :: ClusterSelector Source #
Creates a value of ClusterSelector
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csZone :: Lens' ClusterSelector (Maybe Text) Source #
Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster.If unspecified, the zone of the first cluster matching the selector is used.
csClusterLabels :: Lens' ClusterSelector (Maybe ClusterSelectorClusterLabels) Source #
Required. The cluster labels. Cluster must have all labels to match.
JobScheduling
data JobScheduling Source #
Job scheduling options.
See: jobScheduling
smart constructor.
Instances
jobScheduling :: JobScheduling Source #
Creates a value of JobScheduling
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jsMaxFailuresPerHour :: Lens' JobScheduling (Maybe Int32) Source #
Optional. Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code before job is reported failed.A job may be reported as thrashing if driver exits with non-zero code 4 times within 10 minute window.Maximum value is 10.
DiskConfig
data DiskConfig Source #
Specifies the config of disk options for a group of VM instances.
See: diskConfig
smart constructor.
Instances
diskConfig :: DiskConfig Source #
Creates a value of DiskConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcNumLocalSsds :: Lens' DiskConfig (Maybe Int32) Source #
Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
dcBootDiskType :: Lens' DiskConfig (Maybe Text) Source #
Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
dcBootDiskSizeGb :: Lens' DiskConfig (Maybe Int32) Source #
Optional. Size in GB of the boot disk (default is 500GB).
ClusterOperationMetadataLabels
data ClusterOperationMetadataLabels Source #
Output only. Labels associated with the operation
See: clusterOperationMetadataLabels
smart constructor.
Instances
clusterOperationMetadataLabels Source #
Creates a value of ClusterOperationMetadataLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Expr
Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
See: expr
smart constructor.
Instances
Eq Expr Source # | |
Data Expr Source # | |
Defined in Network.Google.Dataproc.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Expr -> c Expr # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Expr # dataTypeOf :: Expr -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Expr) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Expr) # gmapT :: (forall b. Data b => b -> b) -> Expr -> Expr # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Expr -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Expr -> r # gmapQ :: (forall d. Data d => d -> u) -> Expr -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Expr -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Expr -> m Expr # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Expr -> m Expr # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Expr -> m Expr # | |
Show Expr Source # | |
Generic Expr Source # | |
ToJSON Expr Source # | |
Defined in Network.Google.Dataproc.Types.Product | |
FromJSON Expr Source # | |
type Rep Expr Source # | |
Defined in Network.Google.Dataproc.Types.Product type Rep Expr = D1 (MetaData "Expr" "Network.Google.Dataproc.Types.Product" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "Expr'" PrefixI True) ((S1 (MetaSel (Just "_eLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Expr
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eLocation :: Lens' Expr (Maybe Text) Source #
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
eExpression :: Lens' Expr (Maybe Text) Source #
Textual representation of an expression in Common Expression Language syntax.The application context of the containing message determines which well-known feature set of CEL is supported.
eTitle :: Lens' Expr (Maybe Text) Source #
An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
eDescription :: Lens' Expr (Maybe Text) Source #
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
ListOperationsResponse
data ListOperationsResponse Source #
The response message for Operations.ListOperations.
See: listOperationsResponse
smart constructor.
Instances
listOperationsResponse :: ListOperationsResponse Source #
Creates a value of ListOperationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text) Source #
The standard List next-page token.
lorOperations :: Lens' ListOperationsResponse [Operation] Source #
A list of operations that matches the specified filter in the request.
HiveJobScriptVariables
data HiveJobScriptVariables Source #
Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name="value";).
See: hiveJobScriptVariables
smart constructor.
Instances
hiveJobScriptVariables Source #
Creates a value of HiveJobScriptVariables
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GetIAMPolicyRequest
data GetIAMPolicyRequest Source #
Request message for GetIamPolicy method.
See: getIAMPolicyRequest
smart constructor.
Instances
getIAMPolicyRequest :: GetIAMPolicyRequest Source #
Creates a value of GetIAMPolicyRequest
with the minimum fields required to make a request.
WorkflowTemplatePlacement
data WorkflowTemplatePlacement Source #
Specifies workflow execution target.Either managed_cluster or cluster_selector is required.
See: workflowTemplatePlacement
smart constructor.
Instances
workflowTemplatePlacement :: WorkflowTemplatePlacement Source #
Creates a value of WorkflowTemplatePlacement
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wtpClusterSelector :: Lens' WorkflowTemplatePlacement (Maybe ClusterSelector) Source #
Optional. A selector that chooses target cluster for jobs based on metadata.The selector is evaluated at the time each job is submitted.
wtpManagedCluster :: Lens' WorkflowTemplatePlacement (Maybe ManagedCluster) Source #
Optional. A cluster that is managed by the workflow.
Cluster
Describes the identifying information, config, and status of a cluster of Compute Engine instances.
See: cluster
smart constructor.
Instances
Creates a value of Cluster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cMetrics :: Lens' Cluster (Maybe ClusterMetrics) Source #
Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.
cClusterUuid :: Lens' Cluster (Maybe Text) Source #
Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.
cConfig :: Lens' Cluster (Maybe ClusterConfig) Source #
Required. The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated.
cClusterName :: Lens' Cluster (Maybe Text) Source #
Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.
cLabels :: Lens' Cluster (Maybe ClusterLabels) Source #
Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
cProjectId :: Lens' Cluster (Maybe Text) Source #
Required. The Google Cloud Platform project ID that the cluster belongs to.
cStatusHistory :: Lens' Cluster [ClusterStatus] Source #
Output only. The previous cluster status.
ManagedClusterLabels
data ManagedClusterLabels Source #
Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.
See: managedClusterLabels
smart constructor.
Instances
Creates a value of ManagedClusterLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ParameterValidation
data ParameterValidation Source #
Configuration for parameter validation.
See: parameterValidation
smart constructor.
Instances
parameterValidation :: ParameterValidation Source #
Creates a value of ParameterValidation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pvRegex :: Lens' ParameterValidation (Maybe RegexValidation) Source #
Validation based on regular expressions.
pvValues :: Lens' ParameterValidation (Maybe ValueValidation) Source #
Validation based on a list of allowed values.
JobLabels
Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.
See: jobLabels
smart constructor.
Instances
Eq JobLabels Source # | |
Data JobLabels Source # | |
Defined in Network.Google.Dataproc.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JobLabels -> c JobLabels # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JobLabels # toConstr :: JobLabels -> Constr # dataTypeOf :: JobLabels -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c JobLabels) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JobLabels) # gmapT :: (forall b. Data b => b -> b) -> JobLabels -> JobLabels # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JobLabels -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JobLabels -> r # gmapQ :: (forall d. Data d => d -> u) -> JobLabels -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> JobLabels -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> JobLabels -> m JobLabels # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JobLabels -> m JobLabels # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JobLabels -> m JobLabels # | |
Show JobLabels Source # | |
Generic JobLabels Source # | |
ToJSON JobLabels Source # | |
Defined in Network.Google.Dataproc.Types.Product | |
FromJSON JobLabels Source # | |
type Rep JobLabels Source # | |
Defined in Network.Google.Dataproc.Types.Product |
Creates a value of JobLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
SubmitJobRequest
data SubmitJobRequest Source #
A request to submit a job.
See: submitJobRequest
smart constructor.
Instances
submitJobRequest :: SubmitJobRequest Source #
Creates a value of SubmitJobRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sjrRequestId :: Lens' SubmitJobRequest (Maybe Text) Source #
Optional. A unique id used to identify the request. If the server receives two SubmitJobRequest requests with the same id, then the second request will be ignored and the first Job 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.
ClusterStatusSubState
data ClusterStatusSubState Source #
Output only. Additional state information that includes status reported by the agent.
Unspecified |
|
Unhealthy |
|
StaleStatus |
|
Instances
ClusterMetrics
data ClusterMetrics Source #
Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.
See: clusterMetrics
smart constructor.
Instances
clusterMetrics :: ClusterMetrics Source #
Creates a value of ClusterMetrics
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cmYarnMetrics :: Lens' ClusterMetrics (Maybe ClusterMetricsYarnMetrics) Source #
The YARN metrics.
cmHdfsMetrics :: Lens' ClusterMetrics (Maybe ClusterMetricsHdfsMetrics) Source #
The HDFS metrics.
Operation
This resource represents a long-running operation that is the result of a network API call.
See: operation
smart constructor.
Instances
oDone :: Lens' Operation (Maybe Bool) Source #
If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
oError :: Lens' Operation (Maybe Status) Source #
The error result of the operation in case of failure or cancellation.
oResponse :: Lens' Operation (Maybe OperationResponse) Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
oName :: Lens' Operation (Maybe Text) Source #
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name.
oMetadata :: Lens' Operation (Maybe OperationMetadata) Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}.
See: empty
smart constructor.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.Dataproc.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
Defined in Network.Google.Dataproc.Types.Product | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
HiveJob
A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) queries on YARN.
See: hiveJob
smart constructor.
Instances
Creates a value of HiveJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hjQueryFileURI :: Lens' HiveJob (Maybe Text) Source #
The HCFS URI of the script that contains Hive queries.
hjJarFileURIs :: Lens' HiveJob [Text] Source #
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
hjScriptVariables :: Lens' HiveJob (Maybe HiveJobScriptVariables) Source #
Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name="value";).
hjContinueOnFailure :: Lens' HiveJob (Maybe Bool) Source #
Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.
hjProperties :: Lens' HiveJob (Maybe HiveJobProperties) Source #
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
OrderedJobLabels
data OrderedJobLabels Source #
Optional. The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given job.
See: orderedJobLabels
smart constructor.
Instances
Creates a value of OrderedJobLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ClusterSelectorClusterLabels
data ClusterSelectorClusterLabels Source #
Required. The cluster labels. Cluster must have all labels to match.
See: clusterSelectorClusterLabels
smart constructor.
Instances
clusterSelectorClusterLabels Source #
Creates a value of ClusterSelectorClusterLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
SparkSQLJobScriptVariables
data SparkSQLJobScriptVariables Source #
Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name="value";).
See: sparkSQLJobScriptVariables
smart constructor.
Instances
sparkSQLJobScriptVariables Source #
Creates a value of SparkSQLJobScriptVariables
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
PigJobProperties
data PigJobProperties Source #
Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.
See: pigJobProperties
smart constructor.
Instances
Creates a value of PigJobProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ClusterConfig
data ClusterConfig Source #
The cluster config.
See: clusterConfig
smart constructor.
Instances
clusterConfig :: ClusterConfig Source #
Creates a value of ClusterConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccWorkerConfig :: Lens' ClusterConfig (Maybe InstanceGroupConfig) Source #
Optional. The Compute Engine config settings for worker instances in a cluster.
ccInitializationActions :: Lens' ClusterConfig [NodeInitializationAction] Source #
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi
ccMasterConfig :: Lens' ClusterConfig (Maybe InstanceGroupConfig) Source #
Optional. The Compute Engine config settings for the master instance in a cluster.
ccGceClusterConfig :: Lens' ClusterConfig (Maybe GceClusterConfig) Source #
Required. The shared Compute Engine config settings for all instances in a cluster.
ccConfigBucket :: Lens' ClusterConfig (Maybe Text) Source #
Optional. A Cloud Storage staging bucket used for sharing generated SSH keys and config. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you.
ccEncryptionConfig :: Lens' ClusterConfig (Maybe EncryptionConfig) Source #
Optional. Encryption settings for the cluster.
ccSoftwareConfig :: Lens' ClusterConfig (Maybe SoftwareConfig) Source #
Optional. The config settings for software inside the cluster.
ccSecondaryWorkerConfig :: Lens' ClusterConfig (Maybe InstanceGroupConfig) Source #
Optional. The Compute Engine config settings for additional worker instances in a cluster.
InstantiateWorkflowTemplateRequest
data InstantiateWorkflowTemplateRequest Source #
A request to instantiate a workflow template.
See: instantiateWorkflowTemplateRequest
smart constructor.
Instances
instantiateWorkflowTemplateRequest :: InstantiateWorkflowTemplateRequest Source #
Creates a value of InstantiateWorkflowTemplateRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iwtrRequestId :: Lens' InstantiateWorkflowTemplateRequest (Maybe Text) Source #
Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
iwtrVersion :: Lens' InstantiateWorkflowTemplateRequest (Maybe Int32) Source #
Optional. The version of workflow template to instantiate. If specified, the workflow will be instantiated only if the current version of the workflow template has the supplied version.This option cannot be used to instantiate a previous version of workflow template.
iwtrParameters :: Lens' InstantiateWorkflowTemplateRequest (Maybe InstantiateWorkflowTemplateRequestParameters) Source #
Optional. Map from parameter names to values that should be used for those parameters. Values may not exceed 100 characters.
HadoopJobProperties
data HadoopJobProperties Source #
Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.
See: hadoopJobProperties
smart constructor.
Instances
Creates a value of HadoopJobProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
WorkflowTemplate
data WorkflowTemplate Source #
A Cloud Dataproc workflow template resource.
See: workflowTemplate
smart constructor.
Instances
workflowTemplate :: WorkflowTemplate Source #
Creates a value of WorkflowTemplate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wtJobs :: Lens' WorkflowTemplate [OrderedJob] Source #
Required. The Directed Acyclic Graph of Jobs to submit.
wtUpdateTime :: Lens' WorkflowTemplate (Maybe UTCTime) Source #
Output only. The time template was last updated.
wtName :: Lens' WorkflowTemplate (Maybe Text) Source #
Output only. The "resource name" of the template, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
wtVersion :: Lens' WorkflowTemplate (Maybe Int32) Source #
Optional. Used to perform a consistent read-modify-write.This field should be left blank for a CreateWorkflowTemplate request. It is required for an UpdateWorkflowTemplate request, and must match the current server version. A typical update template flow would fetch the current template with a GetWorkflowTemplate request, which will return the current template with the version field filled in with the current server version. The user updates other fields in the template, then returns it as part of the UpdateWorkflowTemplate request.
wtParameters :: Lens' WorkflowTemplate [TemplateParameter] Source #
Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.
wtId :: Lens' WorkflowTemplate (Maybe Text) Source #
Required. The template id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
wtLabels :: Lens' WorkflowTemplate (Maybe WorkflowTemplateLabels) Source #
Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance.Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).No more than 32 labels can be associated with a template.
wtCreateTime :: Lens' WorkflowTemplate (Maybe UTCTime) Source #
Output only. The time template was created.
wtPlacement :: Lens' WorkflowTemplate (Maybe WorkflowTemplatePlacement) Source #
Required. WorkflowTemplate scheduling information.
ClusterOperationStatus
data ClusterOperationStatus Source #
The status of the operation.
See: clusterOperationStatus
smart constructor.
Instances
clusterOperationStatus :: ClusterOperationStatus Source #
Creates a value of ClusterOperationStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cosState :: Lens' ClusterOperationStatus (Maybe ClusterOperationStatusState) Source #
Output only. A message containing the operation state.
cosInnerState :: Lens' ClusterOperationStatus (Maybe Text) Source #
Output only. A message containing the detailed operation state.
cosStateStartTime :: Lens' ClusterOperationStatus (Maybe UTCTime) Source #
Output only. The time this state was entered.
cosDetails :: Lens' ClusterOperationStatus (Maybe Text) Source #
Output only. A message containing any operation metadata details.
StatusDetailsItem
data StatusDetailsItem Source #
Instances
Creates a value of StatusDetailsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
SparkSQLJobProperties
data SparkSQLJobProperties Source #
Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten.
See: sparkSQLJobProperties
smart constructor.
Instances
sparkSQLJobProperties Source #
Creates a value of SparkSQLJobProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
WorkflowTemplateLabels
data WorkflowTemplateLabels Source #
Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance.Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).No more than 32 labels can be associated with a template.
See: workflowTemplateLabels
smart constructor.
Instances
workflowTemplateLabels Source #
Creates a value of WorkflowTemplateLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
NodeInitializationAction
data NodeInitializationAction Source #
Specifies an executable to run on a fully configured node and a timeout period for executable completion.
See: nodeInitializationAction
smart constructor.
Instances
nodeInitializationAction :: NodeInitializationAction Source #
Creates a value of NodeInitializationAction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
niaExecutionTimeout :: Lens' NodeInitializationAction (Maybe Scientific) Source #
Optional. Amount of time executable has to complete. Default is 10 minutes. Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period.
niaExecutableFile :: Lens' NodeInitializationAction (Maybe Text) Source #
Required. Cloud Storage URI of executable file.
ClusterMetricsYarnMetrics
data ClusterMetricsYarnMetrics Source #
The YARN metrics.
See: clusterMetricsYarnMetrics
smart constructor.
Instances
clusterMetricsYarnMetrics Source #
Creates a value of ClusterMetricsYarnMetrics
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
RegexValidation
data RegexValidation Source #
Validation based on regular expressions.
See: regexValidation
smart constructor.
Instances
regexValidation :: RegexValidation Source #
Creates a value of RegexValidation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rvRegexes :: Lens' RegexValidation [Text] Source #
Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient).
JobPlacement
data JobPlacement Source #
Cloud Dataproc job config.
See: jobPlacement
smart constructor.
Instances
jobPlacement :: JobPlacement Source #
Creates a value of JobPlacement
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jpClusterUuid :: Lens' JobPlacement (Maybe Text) Source #
Output only. A cluster UUID generated by the Cloud Dataproc service when the job is submitted.
jpClusterName :: Lens' JobPlacement (Maybe Text) Source #
Required. The name of the cluster where the job will be submitted.
SetIAMPolicyRequest
data SetIAMPolicyRequest Source #
Request message for SetIamPolicy method.
See: setIAMPolicyRequest
smart constructor.
Instances
setIAMPolicyRequest :: SetIAMPolicyRequest Source #
Creates a value of SetIAMPolicyRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siprPolicy :: Lens' SetIAMPolicyRequest (Maybe Policy) Source #
REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
TemplateParameter
data TemplateParameter Source #
A configurable parameter that replaces one or more fields in the template. Parameterizable fields: - Labels - File uris - Job properties - Job arguments - Script variables - Main class (in HadoopJob and SparkJob) - Zone (in ClusterSelector)
See: templateParameter
smart constructor.
Instances
templateParameter :: TemplateParameter Source #
Creates a value of TemplateParameter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tpName :: Lens' TemplateParameter (Maybe Text) Source #
Required. Parameter name. The parameter name is used as the key, and paired with the parameter value, which are passed to the template when the template is instantiated. The name must contain only capital letters (A-Z), numbers (0-9), and underscores (_), and must not start with a number. The maximum length is 40 characters.
tpValidation :: Lens' TemplateParameter (Maybe ParameterValidation) Source #
Optional. Validation rules to be applied to this parameter's value.
tpDescription :: Lens' TemplateParameter (Maybe Text) Source #
Optional. Brief description of the parameter. Must not exceed 1024 characters.
tpFields :: Lens' TemplateParameter [Text] Source #
Required. Paths to all fields that the parameter replaces. A field is allowed to appear in at most one parameter's list of field paths.A field path is similar in syntax to a google.protobuf.FieldMask. For example, a field path that references the zone field of a workflow template's cluster selector would be specified as placement.clusterSelector.zone.Also, field paths can reference fields using the following syntax: Values in maps can be referenced by key: labels'key' placement.clusterSelector.clusterLabels'key' placement.managedCluster.labels'key' placement.clusterSelector.clusterLabels'key' jobs'step-id'.labels'key' Jobs in the jobs list can be referenced by step-id: jobs'step-id'.hadoopJob.mainJarFileUri jobs'step-id'.hiveJob.queryFileUri jobs'step-id'.pySparkJob.mainPythonFileUri jobs'step-id'.hadoopJob.jarFileUris0 jobs'step-id'.hadoopJob.archiveUris0 jobs'step-id'.hadoopJob.fileUris0 jobs'step-id'.pySparkJob.pythonFileUris0 Items in repeated fields can be referenced by a zero-based index: jobs'step-id'.sparkJob.args0 Other examples: jobs'step-id'.hadoopJob.properties'key' jobs'step-id'.hadoopJob.args0 jobs'step-id'.hiveJob.scriptVariables'key' jobs'step-id'.hadoopJob.mainJarFileUri placement.clusterSelector.zoneIt may not be possible to parameterize maps and repeated fields in their entirety since only individual map values and individual items in repeated fields can be referenced. For example, the following field paths are invalid: placement.clusterSelector.clusterLabels jobs'step-id'.sparkJob.args
GceClusterConfig
data GceClusterConfig Source #
Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.
See: gceClusterConfig
smart constructor.
Instances
gceClusterConfig :: GceClusterConfig Source #
Creates a value of GceClusterConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gccSubnetworkURI :: Lens' GceClusterConfig (Maybe Text) Source #
Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0 projects/[project_id]/regions/us-east1/sub0 sub0
gccInternalIPOnly :: Lens' GceClusterConfig (Maybe Bool) Source #
Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.
gccNetworkURI :: Lens' GceClusterConfig (Maybe Text) Source #
Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the "default" network of the project is used, if it exists. Cannot be a "Custom Subnet Network" (see Using Subnetworks for more information).A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default projects/[project_id]/regions/global/default default
gccZoneURI :: Lens' GceClusterConfig (Maybe Text) Source #
Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the "global" region. If omitted in a non-global Cloud Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[zone] us-central1-f
gccServiceAccount :: Lens' GceClusterConfig (Maybe Text) Source #
Optional. The service account of the instances. Defaults to the default Compute Engine service account. Custom service accounts need permissions equivalent to the following IAM roles: roles/logging.logWriter roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]'[project_id].iam.gserviceaccount.com
gccMetadata :: Lens' GceClusterConfig (Maybe GceClusterConfigMetadata) Source #
The Compute Engine metadata entries to add to all instances (see Project and instance metadata (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
gccServiceAccountScopes :: Lens' GceClusterConfig [Text] Source #
Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: https://www.googleapis.com/auth/cloud.useraccounts.readonly https://www.googleapis.com/auth/devstorage.read_write https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided: https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/bigtable.admin.table https://www.googleapis.com/auth/bigtable.data https://www.googleapis.com/auth/devstorage.full_control
gccTags :: Lens' GceClusterConfig [Text] Source #
The Compute Engine tags to add to all instances (see Tagging instances).
WorkflowMetadataState
data WorkflowMetadataState Source #
Output only. The workflow state.
WMSUnknown |
|
WMSPending |
|
WMSRunning |
|
WMSDone |
|
Instances
YarnApplicationState
data YarnApplicationState Source #
Required. The application state.
YASStateUnspecified |
|
YASNew |
|
YASNewSaving |
|
YASSubmitted |
|
YASAccepted |
|
YASRunning |
|
YASFinished |
|
YASFailed |
|
YASKilled |
|
Instances
ClusterStatusState
data ClusterStatusState Source #
Output only. The cluster's state.
CSSUnknown |
|
CSSCreating |
|
CSSRunning |
|
CSSError' |
|
CSSDeleting |
|
CSSUpdating |
|
Instances
ListWorkflowTemplatesResponse
data ListWorkflowTemplatesResponse Source #
A response to a request to list workflow templates in a project.
See: listWorkflowTemplatesResponse
smart constructor.
Instances
listWorkflowTemplatesResponse :: ListWorkflowTemplatesResponse Source #
Creates a value of ListWorkflowTemplatesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lwtrNextPageToken :: Lens' ListWorkflowTemplatesResponse (Maybe Text) Source #
Output only. This token is included in the response if there are more
results to fetch. To fetch additional results, provide this value as the
page_token in a subsequent ListWorkflowTemplatesRequest
.
lwtrTemplates :: Lens' ListWorkflowTemplatesResponse [WorkflowTemplate] Source #
Output only. WorkflowTemplates list.
GceClusterConfigMetadata
data GceClusterConfigMetadata Source #
The Compute Engine metadata entries to add to all instances (see Project and instance metadata (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).
See: gceClusterConfigMetadata
smart constructor.
Instances
gceClusterConfigMetadata Source #
Creates a value of GceClusterConfigMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ClusterOperationStatusState
data ClusterOperationStatusState Source #
Output only. A message containing the operation state.
COSSUnknown |
|
COSSPending |
|
COSSRunning |
|
COSSDone |
|
Instances
HiveJobProperties
data HiveJobProperties Source #
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.
See: hiveJobProperties
smart constructor.
Instances
Creates a value of HiveJobProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
WorkflowMetadataParameters
data WorkflowMetadataParameters Source #
Map from parameter names to values that were used for those parameters.
See: workflowMetadataParameters
smart constructor.
Instances
workflowMetadataParameters Source #
Creates a value of WorkflowMetadataParameters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ManagedCluster
data ManagedCluster Source #
Cluster that is managed by the workflow.
See: managedCluster
smart constructor.
Instances
managedCluster :: ManagedCluster Source #
Creates a value of ManagedCluster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mcConfig :: Lens' ManagedCluster (Maybe ClusterConfig) Source #
Required. The cluster configuration.
mcClusterName :: Lens' ManagedCluster (Maybe Text) Source #
Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.
mcLabels :: Lens' ManagedCluster (Maybe ManagedClusterLabels) Source #
Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.
ClusterLabels
data ClusterLabels Source #
Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
See: clusterLabels
smart constructor.
Instances
Creates a value of ClusterLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Job
A Cloud Dataproc job resource.
See: job
smart constructor.
Instances
Creates a value of Job
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jStatus :: Lens' Job (Maybe JobStatus) Source #
Output only. The job status. Additional application-specific status
information may be contained in the type_job
and yarn_applications
fields.
jDriverControlFilesURI :: Lens' Job (Maybe Text) Source #
Output only. If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.
jReference :: Lens' Job (Maybe JobReference) Source #
Optional. The fully qualified reference to the job, which can be used to
obtain the equivalent REST path of the job resource. If this property is
not specified when a job is created, the server generates a job_id
.
jSparkSQLJob :: Lens' Job (Maybe SparkSQLJob) Source #
Job is a SparkSql job.
jJobUuid :: Lens' Job (Maybe Text) Source #
Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that may be reused over time.
jYarnApplications :: Lens' Job [YarnApplication] Source #
Output only. The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It may be changed before final release.
jLabels :: Lens' Job (Maybe JobLabels) Source #
Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.
jPysparkJob :: Lens' Job (Maybe PySparkJob) Source #
Job is a Pyspark job.
jDriverOutputResourceURI :: Lens' Job (Maybe Text) Source #
Output only. A URI pointing to the location of the stdout of the job's driver program.
jScheduling :: Lens' Job (Maybe JobScheduling) Source #
Optional. Job scheduling configuration.
jPlacement :: Lens' Job (Maybe JobPlacement) Source #
Required. Job information, including how, when, and where to run the job.
DiagnoseClusterRequest
data DiagnoseClusterRequest Source #
A request to collect cluster diagnostic information.
See: diagnoseClusterRequest
smart constructor.
Instances
diagnoseClusterRequest :: DiagnoseClusterRequest Source #
Creates a value of DiagnoseClusterRequest
with the minimum fields required to make a request.
HadoopJob
A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).
See: hadoopJob
smart constructor.
Instances
hadoopJob :: HadoopJob Source #
Creates a value of HadoopJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hArgs :: Lens' HadoopJob [Text] Source #
Optional. The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision may occur that causes an incorrect job submission.
hMainJarFileURI :: Lens' HadoopJob (Maybe Text) Source #
The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
hJarFileURIs :: Lens' HadoopJob [Text] Source #
Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.
hFileURIs :: Lens' HadoopJob [Text] Source #
Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.
hArchiveURIs :: Lens' HadoopJob [Text] Source #
Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.
hMainClass :: Lens' HadoopJob (Maybe Text) Source #
The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.
hLoggingConfig :: Lens' HadoopJob (Maybe LoggingConfig) Source #
Optional. The runtime log config for job execution.
hProperties :: Lens' HadoopJob (Maybe HadoopJobProperties) Source #
Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.
Xgafv
V1 error format.
Instances
InstantiateWorkflowTemplateRequestParameters
data InstantiateWorkflowTemplateRequestParameters Source #
Optional. Map from parameter names to values that should be used for those parameters. Values may not exceed 100 characters.
See: instantiateWorkflowTemplateRequestParameters
smart constructor.
Instances
instantiateWorkflowTemplateRequestParameters Source #
Creates a value of InstantiateWorkflowTemplateRequestParameters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ClusterOperationMetadata
data ClusterOperationMetadata Source #
Metadata describing the operation.
See: clusterOperationMetadata
smart constructor.
Instances
clusterOperationMetadata :: ClusterOperationMetadata Source #
Creates a value of ClusterOperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
comStatus :: Lens' ClusterOperationMetadata (Maybe ClusterOperationStatus) Source #
Output only. Current operation status.
comClusterUuid :: Lens' ClusterOperationMetadata (Maybe Text) Source #
Output only. Cluster UUID for the operation.
comWarnings :: Lens' ClusterOperationMetadata [Text] Source #
Output only. Errors encountered during operation execution.
comClusterName :: Lens' ClusterOperationMetadata (Maybe Text) Source #
Output only. Name of the cluster for the operation.
comLabels :: Lens' ClusterOperationMetadata (Maybe ClusterOperationMetadataLabels) Source #
Output only. Labels associated with the operation
comOperationType :: Lens' ClusterOperationMetadata (Maybe Text) Source #
Output only. The operation type.
comStatusHistory :: Lens' ClusterOperationMetadata [ClusterOperationStatus] Source #
Output only. The previous operation status.
comDescription :: Lens' ClusterOperationMetadata (Maybe Text) Source #
Output only. Short description of operation.
TestIAMPermissionsRequest
data TestIAMPermissionsRequest Source #
Request message for TestIamPermissions method.
See: testIAMPermissionsRequest
smart constructor.
Instances
testIAMPermissionsRequest :: TestIAMPermissionsRequest Source #
Creates a value of TestIAMPermissionsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tiprPermissions :: Lens' TestIAMPermissionsRequest [Text] Source #
The set of permissions to check for the resource. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).
SparkSQLJob
data SparkSQLJob Source #
A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/) queries.
See: sparkSQLJob
smart constructor.
Instances
sparkSQLJob :: SparkSQLJob Source #
Creates a value of SparkSQLJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssqljQueryFileURI :: Lens' SparkSQLJob (Maybe Text) Source #
The HCFS URI of the script that contains SQL queries.
ssqljJarFileURIs :: Lens' SparkSQLJob [Text] Source #
Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.
ssqljScriptVariables :: Lens' SparkSQLJob (Maybe SparkSQLJobScriptVariables) Source #
Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name="value";).
ssqljQueryList :: Lens' SparkSQLJob (Maybe QueryList) Source #
A list of queries.
ssqljLoggingConfig :: Lens' SparkSQLJob (Maybe LoggingConfig) Source #
Optional. The runtime log config for job execution.
ssqljProperties :: Lens' SparkSQLJob (Maybe SparkSQLJobProperties) Source #
Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Cloud Dataproc API may be overwritten.
SoftwareConfig
data SoftwareConfig Source #
Specifies the selection and config of software inside the cluster.
See: softwareConfig
smart constructor.
Instances
softwareConfig :: SoftwareConfig Source #
Creates a value of SoftwareConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scImageVersion :: Lens' SoftwareConfig (Maybe Text) Source #
Optional. The version of software inside the cluster. It must be one of the supported Cloud Dataproc Versions, such as "1.2" (including a subminor version, such as "1.2.29"), or the "preview" version. If unspecified, it defaults to the latest version.
scProperties :: Lens' SoftwareConfig (Maybe SoftwareConfigProperties) Source #
Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, such as core:fs.defaultFS. The following are supported prefixes and their mappings: capacity-scheduler: capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs: hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: pig.properties spark: spark-defaults.conf yarn: yarn-site.xmlFor more information, see Cluster properties.
ListJobsResponse
data ListJobsResponse Source #
A list of jobs in a project.
See: listJobsResponse
smart constructor.
Instances
listJobsResponse :: ListJobsResponse Source #
Creates a value of ListJobsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ljrNextPageToken :: Lens' ListJobsResponse (Maybe Text) Source #
Optional. This token is included in the response if there are more
results to fetch. To fetch additional results, provide this value as the
page_token in a subsequent ListJobsRequest
.
AcceleratorConfig
data AcceleratorConfig Source #
Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine.
See: acceleratorConfig
smart constructor.
Instances
acceleratorConfig :: AcceleratorConfig Source #
Creates a value of AcceleratorConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acAcceleratorCount :: Lens' AcceleratorConfig (Maybe Int32) Source #
The number of the accelerator cards of this type exposed to this instance.
acAcceleratorTypeURI :: Lens' AcceleratorConfig (Maybe Text) Source #
Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes.Examples: https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.
SparkJobProperties
data SparkJobProperties Source #
Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.
See: sparkJobProperties
smart constructor.
Instances
Creates a value of SparkJobProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
EncryptionConfig
data EncryptionConfig Source #
Encryption settings for the cluster.
See: encryptionConfig
smart constructor.
Instances
encryptionConfig :: EncryptionConfig Source #
Creates a value of EncryptionConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ecGcePdKmsKeyName :: Lens' EncryptionConfig (Maybe Text) Source #
Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster.
PySparkJob
data PySparkJob Source #
A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.
See: pySparkJob
smart constructor.
Instances
pySparkJob :: PySparkJob Source #
Creates a value of PySparkJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
psjPythonFileURIs :: Lens' PySparkJob [Text] Source #
Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.
psjMainPythonFileURI :: Lens' PySparkJob (Maybe Text) Source #
Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file.
psjArgs :: Lens' PySparkJob [Text] Source #
Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.
psjJarFileURIs :: Lens' PySparkJob [Text] Source #
Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.
psjFileURIs :: Lens' PySparkJob [Text] Source #
Optional. HCFS URIs of files to be copied to the working directory of Python drivers and distributed tasks. Useful for naively parallel tasks.
psjArchiveURIs :: Lens' PySparkJob [Text] Source #
Optional. HCFS URIs of archives to be extracted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.
psjLoggingConfig :: Lens' PySparkJob (Maybe LoggingConfig) Source #
Optional. The runtime log config for job execution.
psjProperties :: Lens' PySparkJob (Maybe PySparkJobProperties) Source #
Optional. A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.
ManagedGroupConfig
data ManagedGroupConfig Source #
Specifies the resources used to actively manage an instance group.
See: managedGroupConfig
smart constructor.
Instances
managedGroupConfig :: ManagedGroupConfig Source #
Creates a value of ManagedGroupConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mgcInstanceTemplateName :: Lens' ManagedGroupConfig (Maybe Text) Source #
Output only. The name of the Instance Template used for the Managed Instance Group.
mgcInstanceGroupManagerName :: Lens' ManagedGroupConfig (Maybe Text) Source #
Output only. The name of the Instance Group Manager for this group.
TestIAMPermissionsResponse
data TestIAMPermissionsResponse Source #
Response message for TestIamPermissions method.
See: testIAMPermissionsResponse
smart constructor.
Instances
testIAMPermissionsResponse :: TestIAMPermissionsResponse Source #
Creates a value of TestIAMPermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tiamprPermissions :: Lens' TestIAMPermissionsResponse [Text] Source #
A subset of TestPermissionsRequest.permissions that the caller is allowed.
ListClustersResponse
data ListClustersResponse Source #
The list of all clusters in a project.
See: listClustersResponse
smart constructor.
Instances
listClustersResponse :: ListClustersResponse Source #
Creates a value of ListClustersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcrNextPageToken :: Lens' ListClustersResponse (Maybe Text) Source #
Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListClustersRequest.
lcrClusters :: Lens' ListClustersResponse [Cluster] Source #
Output only. The clusters in the project.
ValueValidation
data ValueValidation Source #
Validation based on a list of allowed values.
See: valueValidation
smart constructor.
Instances
valueValidation :: ValueValidation Source #
Creates a value of ValueValidation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vvValues :: Lens' ValueValidation [Text] Source #
Required. List of allowed values for the parameter.
JobStatusSubState
data JobStatusSubState Source #
Output only. Additional state information, which includes status reported by the agent.
JSSSUnspecified |
|
JSSSSubmitted |
|
JSSSQueued |
|
JSSSStaleStatus |
|
Instances
Policy
Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.A Policy consists of a list of bindings. A binding binds a list of members to a role, where the members can be user accounts, Google groups, Google domains, and service accounts. A role is a named list of permissions defined by IAM.JSON Example { "bindings": [ { "role": "roles/owner", "members": [ "user:mike'example.com", "group:admins'example.com", "domain:google.com", "serviceAccount:my-other-app'appspot.gserviceaccount.com" ] }, { "role": "roles/viewer", "members": ["user:sean'example.com"] } ] } YAML Example bindings: - members: - user:mike'example.com - group:admins'example.com - domain:google.com - serviceAccount:my-other-app'appspot.gserviceaccount.com role: roles/owner - members: - user:sean'example.com role: roles/viewer For a description of IAM and its features, see the IAM developer's guide (https://cloud.google.com/iam/docs).
See: policy
smart constructor.
Instances
Eq Policy Source # | |
Data Policy Source # | |
Defined in Network.Google.Dataproc.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Policy -> c Policy # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Policy # toConstr :: Policy -> Constr # dataTypeOf :: Policy -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Policy) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Policy) # gmapT :: (forall b. Data b => b -> b) -> Policy -> Policy # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r # gmapQ :: (forall d. Data d => d -> u) -> Policy -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Policy -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Policy -> m Policy # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy # | |
Show Policy Source # | |
Generic Policy Source # | |
ToJSON Policy Source # | |
Defined in Network.Google.Dataproc.Types.Product | |
FromJSON Policy Source # | |
type Rep Policy Source # | |
Defined in Network.Google.Dataproc.Types.Product type Rep Policy = D1 (MetaData "Policy" "Network.Google.Dataproc.Types.Product" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "Policy'" PrefixI True) (S1 (MetaSel (Just "_pEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Binding]))))) |
pEtag :: Lens' Policy (Maybe ByteString) Source #
etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy.If no etag is provided in the call to setIamPolicy, then the existing policy is overwritten blindly.
pBindings :: Lens' Policy [Binding] Source #
Associates a list of members to a role. bindings with no members will result in an error.
OrderedJob
data OrderedJob Source #
A job executed by the workflow.
See: orderedJob
smart constructor.
Instances
orderedJob :: OrderedJob Source #
Creates a value of OrderedJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ojSparkJob :: Lens' OrderedJob (Maybe SparkJob) Source #
Job is a Spark job.
ojStepId :: Lens' OrderedJob (Maybe Text) Source #
Required. The step id. The id must be unique among all jobs within the template.The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in prerequisiteStepIds field from other steps.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
ojPrerequisiteStepIds :: Lens' OrderedJob [Text] Source #
Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.
ojSparkSQLJob :: Lens' OrderedJob (Maybe SparkSQLJob) Source #
Job is a SparkSql job.
ojHadoopJob :: Lens' OrderedJob (Maybe HadoopJob) Source #
Job is a Hadoop job.
ojLabels :: Lens' OrderedJob (Maybe OrderedJobLabels) Source #
Optional. The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given job.
ojPysparkJob :: Lens' OrderedJob (Maybe PySparkJob) Source #
Job is a Pyspark job.
ojScheduling :: Lens' OrderedJob (Maybe JobScheduling) Source #
Optional. Job scheduling configuration.
CancelJobRequest
data CancelJobRequest Source #
A request to cancel a job.
See: cancelJobRequest
smart constructor.
Instances
cancelJobRequest :: CancelJobRequest Source #
Creates a value of CancelJobRequest
with the minimum fields required to make a request.
QueryList
A list of queries to run on a cluster.
See: queryList
smart constructor.
Instances
Eq QueryList Source # | |
Data QueryList Source # | |
Defined in Network.Google.Dataproc.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryList -> c QueryList # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryList # toConstr :: QueryList -> Constr # dataTypeOf :: QueryList -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QueryList) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryList) # gmapT :: (forall b. Data b => b -> b) -> QueryList -> QueryList # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryList -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryList -> r # gmapQ :: (forall d. Data d => d -> u) -> QueryList -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryList -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryList -> m QueryList # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryList -> m QueryList # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryList -> m QueryList # | |
Show QueryList Source # | |
Generic QueryList Source # | |
ToJSON QueryList Source # | |
Defined in Network.Google.Dataproc.Types.Product | |
FromJSON QueryList Source # | |
type Rep QueryList Source # | |
Defined in Network.Google.Dataproc.Types.Product |
qlQueries :: Lens' QueryList [Text] Source #
Required. The queries to execute. You do not need to terminate a query with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of an Cloud Dataproc API snippet that uses a QueryList to specify a HiveJob: "hiveJob": { "queryList": { "queries": [ "query1", "query2", "query3;query4", ] } }
OperationMetadata
data OperationMetadata Source #
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
See: operationMetadata
smart constructor.
Instances
Creates a value of OperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
JobStatus
Cloud Dataproc job status.
See: jobStatus
smart constructor.
Instances
jobStatus :: JobStatus Source #
Creates a value of JobStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jsState :: Lens' JobStatus (Maybe JobStatusState) Source #
Output only. A state message specifying the overall job state.
jsSubState :: Lens' JobStatus (Maybe JobStatusSubState) Source #
Output only. Additional state information, which includes status reported by the agent.
jsStateStartTime :: Lens' JobStatus (Maybe UTCTime) Source #
Output only. The time when this state was entered.
jsDetails :: Lens' JobStatus (Maybe Text) Source #
Output only. Optional job state details, such as an error description if
the state is ERROR
.
PigJobScriptVariables
data PigJobScriptVariables Source #
Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value]).
See: pigJobScriptVariables
smart constructor.
Instances
pigJobScriptVariables Source #
Creates a value of PigJobScriptVariables
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ClusterMetricsHdfsMetrics
data ClusterMetricsHdfsMetrics Source #
The HDFS metrics.
See: clusterMetricsHdfsMetrics
smart constructor.
Instances
clusterMetricsHdfsMetrics Source #
Creates a value of ClusterMetricsHdfsMetrics
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
WorkflowNode
data WorkflowNode Source #
The workflow node.
See: workflowNode
smart constructor.
Instances
workflowNode :: WorkflowNode Source #
Creates a value of WorkflowNode
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wnState :: Lens' WorkflowNode (Maybe WorkflowNodeState) Source #
Output only. The node state.
wnJobId :: Lens' WorkflowNode (Maybe Text) Source #
Output only. The job id; populated after the node enters RUNNING state.
wnPrerequisiteStepIds :: Lens' WorkflowNode [Text] Source #
Output only. Node's prerequisite nodes.
WorkflowMetadata
data WorkflowMetadata Source #
A Cloud Dataproc workflow template resource.
See: workflowMetadata
smart constructor.
Instances
workflowMetadata :: WorkflowMetadata Source #
Creates a value of WorkflowMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wmGraph :: Lens' WorkflowMetadata (Maybe WorkflowGraph) Source #
Output only. The workflow graph.
wmState :: Lens' WorkflowMetadata (Maybe WorkflowMetadataState) Source #
Output only. The workflow state.
wmClusterUuid :: Lens' WorkflowMetadata (Maybe Text) Source #
Output only. The UUID of target cluster.
wmStartTime :: Lens' WorkflowMetadata (Maybe UTCTime) Source #
Output only. Workflow start time.
wmDeleteCluster :: Lens' WorkflowMetadata (Maybe ClusterOperation) Source #
Output only. The delete cluster operation metadata.
wmCreateCluster :: Lens' WorkflowMetadata (Maybe ClusterOperation) Source #
Output only. The create cluster operation metadata.
wmVersion :: Lens' WorkflowMetadata (Maybe Int32) Source #
Output only. The version of template at the time of workflow instantiation.
wmParameters :: Lens' WorkflowMetadata (Maybe WorkflowMetadataParameters) Source #
Map from parameter names to values that were used for those parameters.
wmClusterName :: Lens' WorkflowMetadata (Maybe Text) Source #
Output only. The name of the target cluster.
wmTemplate :: Lens' WorkflowMetadata (Maybe Text) Source #
Output only. The "resource name" of the template.
OperationResponse
data OperationResponse Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
See: operationResponse
smart constructor.
Instances
Creates a value of OperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
LoggingConfigDriverLogLevels
data LoggingConfigDriverLogLevels Source #
The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'
See: loggingConfigDriverLogLevels
smart constructor.
Instances
loggingConfigDriverLogLevels Source #
Creates a value of LoggingConfigDriverLogLevels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ClusterStatus
data ClusterStatus Source #
The status of a cluster and its instances.
See: clusterStatus
smart constructor.
Instances
clusterStatus :: ClusterStatus Source #
Creates a value of ClusterStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csState :: Lens' ClusterStatus (Maybe ClusterStatusState) Source #
Output only. The cluster's state.
csSubState :: Lens' ClusterStatus (Maybe ClusterStatusSubState) Source #
Output only. Additional state information that includes status reported by the agent.
csStateStartTime :: Lens' ClusterStatus (Maybe UTCTime) Source #
Output only. Time when this state was entered.
csDetail :: Lens' ClusterStatus (Maybe Text) Source #
Output only. Optional details of cluster's state.
YarnApplication
data YarnApplication Source #
A YARN application created by a job. Application information is a subset of 'org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto'.Beta Feature: This report is available for testing purposes only. It may be changed before final release.
See: yarnApplication
smart constructor.
Instances
yarnApplication :: YarnApplication Source #
Creates a value of YarnApplication
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
yaTrackingURL :: Lens' YarnApplication (Maybe Text) Source #
Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.
yaState :: Lens' YarnApplication (Maybe YarnApplicationState) Source #
Required. The application state.
yaProgress :: Lens' YarnApplication (Maybe Double) Source #
Required. The numerical progress of the application, from 1 to 100.
PigJob
A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN.
See: pigJob
smart constructor.
Instances
Creates a value of PigJob
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pjQueryFileURI :: Lens' PigJob (Maybe Text) Source #
The HCFS URI of the script that contains the Pig queries.
pjJarFileURIs :: Lens' PigJob [Text] Source #
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs.
pjScriptVariables :: Lens' PigJob (Maybe PigJobScriptVariables) Source #
Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value]).
pjContinueOnFailure :: Lens' PigJob (Maybe Bool) Source #
Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.
pjLoggingConfig :: Lens' PigJob (Maybe LoggingConfig) Source #
Optional. The runtime log config for job execution.
pjProperties :: Lens' PigJob (Maybe PigJobProperties) Source #
Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.
LoggingConfig
data LoggingConfig Source #
The runtime logging config of the job.
See: loggingConfig
smart constructor.
Instances
loggingConfig :: LoggingConfig Source #
Creates a value of LoggingConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcDriverLogLevels :: Lens' LoggingConfig (Maybe LoggingConfigDriverLogLevels) Source #
The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG'
Binding
Associates members with a role.
See: binding
smart constructor.
Instances
Eq Binding Source # | |
Data Binding Source # | |
Defined in Network.Google.Dataproc.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Binding -> c Binding # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Binding # toConstr :: Binding -> Constr # dataTypeOf :: Binding -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Binding) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Binding) # gmapT :: (forall b. Data b => b -> b) -> Binding -> Binding # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Binding -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Binding -> r # gmapQ :: (forall d. Data d => d -> u) -> Binding -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Binding -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Binding -> m Binding # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Binding -> m Binding # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Binding -> m Binding # | |
Show Binding Source # | |
Generic Binding Source # | |
ToJSON Binding Source # | |
Defined in Network.Google.Dataproc.Types.Product | |
FromJSON Binding Source # | |
type Rep Binding Source # | |
Defined in Network.Google.Dataproc.Types.Product type Rep Binding = D1 (MetaData "Binding" "Network.Google.Dataproc.Types.Product" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "Binding'" PrefixI True) (S1 (MetaSel (Just "_bMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_bRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bCondition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Expr))))) |
Creates a value of Binding
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bMembers :: Lens' Binding [Text] Source #
Specifies the identities requesting access for a Cloud Platform resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. user:{emailid}: An email address that represents a specific Google account. For example, alice'gmail.com . serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app'appspot.gserviceaccount.com. group:{emailid}: An email address that represents a Google group. For example, admins'example.com. domain:{domain}: A Google Apps domain name that represents all the users of that domain. For example, google.com or example.com.