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 |
Network.Google.Dataflow.Types
Contents
- Service Configuration
- OAuth Scopes
- NameAndKindKind
- JobExecutionInfoStages
- ComputationTopology
- SourceSplitResponse
- ParameterMetadata
- CreateJobFromTemplateRequest
- Status
- NameAndKind
- IntegerList
- WorkItem
- WorkerHealthReport
- Snapshot
- SourceSplitOptions
- WorkerPoolMetadata
- AutoscalingSettings
- JobExecutionStageInfo
- InstructionOutput
- IntegerGauge
- LaunchTemplateParameters
- ReportWorkItemStatusRequest
- JobType
- EnvironmentVersion
- StreamingApplianceSnapshotConfig
- Sink
- StringList
- WorkerHealthReportResponse
- DisplayData
- SendDebugCaptureResponse
- StructuredMessage
- JobLabels
- MetricStructuredName
- BigQueryIODetails
- FileIODetails
- WorkerPoolTeardownPolicy
- CounterStructuredName
- JobMetadata
- GetTemplateResponse
- WriteInstruction
- EnvironmentUserAgent
- Disk
- MetricUpdate
- SourceGetMetadataResponse
- TemplateMetadata
- Environment
- ConcatPosition
- MetricStructuredNameContext
- CounterUpdate
- StreamingStageLocation
- AutoscalingSettingsAlgorithm
- DerivedSource
- JobMetrics
- TransformSummaryKind
- SendDebugCaptureRequest
- WorkItemStatus
- WorkerMessageLabels
- FlattenInstruction
- WorkerMessageCode
- TransformSummary
- JobTransformNameMApping
- SourceSpec
- SourceMetadata
- EnvironmentInternalExperiments
- TaskRunnerSettings
- StreamingComputationConfig
- EnvironmentSdkPipelineOptions
- FloatingPointMean
- CPUTime
- LeaseWorkItemRequest
- SourceOperationResponse
- CounterStructuredNamePortion
- TopologyConfigUserStageToComputationNameMap
- ShellTask
- JobMessageMessageImportance
- DatastoreIODetails
- StatusDetailsItem
- ReportedParallelism
- StepProperties
- TopologyConfig
- ApproximateSplitRequest
- SplitInt64
- WorkerSettings
- GetDebugConfigResponse
- SdkVersion
- WorkItemServiceStateHarnessData
- DataDiskAssignment
- ResourceUtilizationReport
- FailedLocation
- SourceSplitResponseOutcome
- WorkerMessageResponse
- CreateJobFromTemplateRequestParameters
- BigTableIODetails
- WorkItemServiceState
- LaunchTemplateResponse
- StreamingSetupTask
- PartialGroupByKeyInstructionInputElementCodec
- MapTask
- MountedDataDisk
- SinkCodec
- SourceSplitShardDerivationMode
- WorkerPoolDefaultPackageSet
- IntegerMean
- CounterMetadataKind
- WorkerHealthReportPodsItem
- ParDoInstructionUserFn
- InstructionOutputCodec
- StreamLocation
- WorkerLifecycleEventMetadata
- WorkerPoolPoolArgs
- RuntimeEnvironment
- CounterMetadata
- SendWorkerMessagesResponse
- JobCurrentState
- StreamingSideInputLocation
- GetDebugConfigRequest
- CounterStructuredNameAndMetadata
- WorkerShutdownNotice
- StreamingComputationTask
- PipelineDescription
- JobMessage
- WorkerLifecycleEvent
- RuntimeEnvironmentAdditionalUserLabels
- CounterMetadataStandardUnits
- SeqMapTaskOutputInfo
- PubSubIODetails
- SourceGetMetadataRequest
- WorkerShutdownNoticeResponse
- SeqMapTaskUserFn
- PartialGroupByKeyInstructionValueCombiningFn
- Job
- AutoscalingEventEventType
- ReadInstruction
- ApproximateReportedProgress
- DerivedSourceDerivationMode
- SinkSpec
- WorkerPool
- Step
- ComponentSource
- ExecutionStageSummaryKind
- Xgafv
- Package
- ExecutionStageSummary
- WorkerMessageCodeParameters
- DynamicSourceSplit
- SnapshotJobRequest
- ReportWorkItemStatusResponse
- SourceFork
- ResourceUtilizationReportResponse
- StreamingComputationRanges
- ListJobsResponse
- LaunchTemplateParametersParameters
- Source
- ApproximateProgress
- WorkerMessage
- KeyRangeLocation
- Histogram
- JobRequestedState
- MultiOutputInfo
- PartialGroupByKeyInstruction
- WorkerLifecycleEventEvent
- ExecutionStageStateExecutionStageState
- ParDoInstruction
- CustomSourceLocation
- DistributionUpdate
- SourceBaseSpecsItem
- ParallelInstruction
- SideInputInfoKind
- StreamingConfigTask
- MetricShortId
- SendWorkerMessagesRequest
- SourceSplitShard
- SideInputInfo
- ComponentTransform
- WorkerPoolIPConfiguration
- JobExecutionInfo
- SourceCodec
- StateFamilyConfig
- KeyRangeDataDiskAssignment
- AutoscalingEvent
- SourceSplitRequest
- ListJobMessagesResponse
- PubsubLocation
- FloatingPointList
- CounterStructuredNameOrigin
- InstructionInput
- SeqMapTask
- StreamingComputationTaskTaskType
- StreamingConfigTaskUserStepToStateFamilyNameMap
- ExecutionStageState
- StageSource
- SourceOperationRequest
- SdkVersionSdkSupportStatus
- SpannerIODetails
- LeaseWorkItemResponse
- Position
- Parameter
Description
Synopsis
- dataflowService :: ServiceConfig
- computeScope :: Proxy '["https://www.googleapis.com/auth/compute"]
- userInfoEmailScope :: Proxy '["https://www.googleapis.com/auth/userinfo.email"]
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- computeReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/compute.readonly"]
- data NameAndKindKind
- = Invalid
- | Sum
- | Max
- | Min
- | Mean
- | OR
- | And
- | Set
- | Distribution
- | LatestValue
- data JobExecutionInfoStages
- jobExecutionInfoStages :: HashMap Text JobExecutionStageInfo -> JobExecutionInfoStages
- jeisAddtional :: Lens' JobExecutionInfoStages (HashMap Text JobExecutionStageInfo)
- data ComputationTopology
- computationTopology :: ComputationTopology
- ctStateFamilies :: Lens' ComputationTopology [StateFamilyConfig]
- ctInputs :: Lens' ComputationTopology [StreamLocation]
- ctKeyRanges :: Lens' ComputationTopology [KeyRangeLocation]
- ctOutputs :: Lens' ComputationTopology [StreamLocation]
- ctComputationId :: Lens' ComputationTopology (Maybe Text)
- ctSystemStageName :: Lens' ComputationTopology (Maybe Text)
- data SourceSplitResponse
- sourceSplitResponse :: SourceSplitResponse
- ssrBundles :: Lens' SourceSplitResponse [DerivedSource]
- ssrShards :: Lens' SourceSplitResponse [SourceSplitShard]
- ssrOutcome :: Lens' SourceSplitResponse (Maybe SourceSplitResponseOutcome)
- data ParameterMetadata
- parameterMetadata :: ParameterMetadata
- pmHelpText :: Lens' ParameterMetadata (Maybe Text)
- pmIsOptional :: Lens' ParameterMetadata (Maybe Bool)
- pmName :: Lens' ParameterMetadata (Maybe Text)
- pmRegexes :: Lens' ParameterMetadata [Text]
- pmLabel :: Lens' ParameterMetadata (Maybe Text)
- data CreateJobFromTemplateRequest
- createJobFromTemplateRequest :: CreateJobFromTemplateRequest
- cjftrLocation :: Lens' CreateJobFromTemplateRequest (Maybe Text)
- cjftrEnvironment :: Lens' CreateJobFromTemplateRequest (Maybe RuntimeEnvironment)
- cjftrJobName :: Lens' CreateJobFromTemplateRequest (Maybe Text)
- cjftrGcsPath :: Lens' CreateJobFromTemplateRequest (Maybe Text)
- cjftrParameters :: Lens' CreateJobFromTemplateRequest (Maybe CreateJobFromTemplateRequestParameters)
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data NameAndKind
- nameAndKind :: NameAndKind
- nakKind :: Lens' NameAndKind (Maybe NameAndKindKind)
- nakName :: Lens' NameAndKind (Maybe Text)
- data IntegerList
- integerList :: IntegerList
- ilElements :: Lens' IntegerList [SplitInt64]
- data WorkItem
- workItem :: WorkItem
- wiJobId :: Lens' WorkItem (Maybe Text)
- wiReportStatusInterval :: Lens' WorkItem (Maybe Scientific)
- wiShellTask :: Lens' WorkItem (Maybe ShellTask)
- wiStreamingSetupTask :: Lens' WorkItem (Maybe StreamingSetupTask)
- wiInitialReportIndex :: Lens' WorkItem (Maybe Int64)
- wiMapTask :: Lens' WorkItem (Maybe MapTask)
- wiPackages :: Lens' WorkItem [Package]
- wiStreamingComputationTask :: Lens' WorkItem (Maybe StreamingComputationTask)
- wiSourceOperationTask :: Lens' WorkItem (Maybe SourceOperationRequest)
- wiId :: Lens' WorkItem (Maybe Int64)
- wiProjectId :: Lens' WorkItem (Maybe Text)
- wiLeaseExpireTime :: Lens' WorkItem (Maybe UTCTime)
- wiConfiguration :: Lens' WorkItem (Maybe Text)
- wiStreamingConfigTask :: Lens' WorkItem (Maybe StreamingConfigTask)
- wiSeqMapTask :: Lens' WorkItem (Maybe SeqMapTask)
- data WorkerHealthReport
- workerHealthReport :: WorkerHealthReport
- whrVMIsHealthy :: Lens' WorkerHealthReport (Maybe Bool)
- whrReportInterval :: Lens' WorkerHealthReport (Maybe Scientific)
- whrPods :: Lens' WorkerHealthReport [WorkerHealthReportPodsItem]
- whrVMStartupTime :: Lens' WorkerHealthReport (Maybe UTCTime)
- data Snapshot
- snapshot :: Snapshot
- sCreationTime :: Lens' Snapshot (Maybe UTCTime)
- sTtl :: Lens' Snapshot (Maybe Scientific)
- sSourceJobId :: Lens' Snapshot (Maybe Text)
- sId :: Lens' Snapshot (Maybe Text)
- sProjectId :: Lens' Snapshot (Maybe Text)
- data SourceSplitOptions
- sourceSplitOptions :: SourceSplitOptions
- ssoDesiredShardSizeBytes :: Lens' SourceSplitOptions (Maybe Int64)
- ssoDesiredBundleSizeBytes :: Lens' SourceSplitOptions (Maybe Int64)
- data WorkerPoolMetadata
- workerPoolMetadata :: HashMap Text Text -> WorkerPoolMetadata
- wpmAddtional :: Lens' WorkerPoolMetadata (HashMap Text Text)
- data AutoscalingSettings
- autoscalingSettings :: AutoscalingSettings
- asMaxNumWorkers :: Lens' AutoscalingSettings (Maybe Int32)
- asAlgorithm :: Lens' AutoscalingSettings (Maybe AutoscalingSettingsAlgorithm)
- data JobExecutionStageInfo
- jobExecutionStageInfo :: JobExecutionStageInfo
- jesiStepName :: Lens' JobExecutionStageInfo [Text]
- data InstructionOutput
- instructionOutput :: InstructionOutput
- ioOnlyCountValueBytes :: Lens' InstructionOutput (Maybe Bool)
- ioCodec :: Lens' InstructionOutput (Maybe InstructionOutputCodec)
- ioName :: Lens' InstructionOutput (Maybe Text)
- ioSystemName :: Lens' InstructionOutput (Maybe Text)
- ioOriginalName :: Lens' InstructionOutput (Maybe Text)
- ioOnlyCountKeyBytes :: Lens' InstructionOutput (Maybe Bool)
- data IntegerGauge
- integerGauge :: IntegerGauge
- igValue :: Lens' IntegerGauge (Maybe SplitInt64)
- igTimestamp :: Lens' IntegerGauge (Maybe UTCTime)
- data LaunchTemplateParameters
- launchTemplateParameters :: LaunchTemplateParameters
- ltpEnvironment :: Lens' LaunchTemplateParameters (Maybe RuntimeEnvironment)
- ltpJobName :: Lens' LaunchTemplateParameters (Maybe Text)
- ltpParameters :: Lens' LaunchTemplateParameters (Maybe LaunchTemplateParametersParameters)
- data ReportWorkItemStatusRequest
- reportWorkItemStatusRequest :: ReportWorkItemStatusRequest
- rwisrCurrentWorkerTime :: Lens' ReportWorkItemStatusRequest (Maybe UTCTime)
- rwisrLocation :: Lens' ReportWorkItemStatusRequest (Maybe Text)
- rwisrWorkItemStatuses :: Lens' ReportWorkItemStatusRequest [WorkItemStatus]
- rwisrWorkerId :: Lens' ReportWorkItemStatusRequest (Maybe Text)
- data JobType
- data EnvironmentVersion
- environmentVersion :: HashMap Text JSONValue -> EnvironmentVersion
- evAddtional :: Lens' EnvironmentVersion (HashMap Text JSONValue)
- data StreamingApplianceSnapshotConfig
- streamingApplianceSnapshotConfig :: StreamingApplianceSnapshotConfig
- sascImportStateEndpoint :: Lens' StreamingApplianceSnapshotConfig (Maybe Text)
- sascSnapshotId :: Lens' StreamingApplianceSnapshotConfig (Maybe Text)
- data Sink
- sink :: Sink
- sCodec :: Lens' Sink (Maybe SinkCodec)
- sSpec :: Lens' Sink (Maybe SinkSpec)
- data StringList
- stringList :: StringList
- slElements :: Lens' StringList [Text]
- data WorkerHealthReportResponse
- workerHealthReportResponse :: WorkerHealthReportResponse
- whrrReportInterval :: Lens' WorkerHealthReportResponse (Maybe Scientific)
- data DisplayData
- displayData :: DisplayData
- ddDurationValue :: Lens' DisplayData (Maybe Scientific)
- ddBoolValue :: Lens' DisplayData (Maybe Bool)
- ddTimestampValue :: Lens' DisplayData (Maybe UTCTime)
- ddURL :: Lens' DisplayData (Maybe Text)
- ddNamespace :: Lens' DisplayData (Maybe Text)
- ddJavaClassValue :: Lens' DisplayData (Maybe Text)
- ddShortStrValue :: Lens' DisplayData (Maybe Text)
- ddKey :: Lens' DisplayData (Maybe Text)
- ddInt64Value :: Lens' DisplayData (Maybe Int64)
- ddFloatValue :: Lens' DisplayData (Maybe Double)
- ddStrValue :: Lens' DisplayData (Maybe Text)
- ddLabel :: Lens' DisplayData (Maybe Text)
- data SendDebugCaptureResponse
- sendDebugCaptureResponse :: SendDebugCaptureResponse
- data StructuredMessage
- structuredMessage :: StructuredMessage
- smMessageText :: Lens' StructuredMessage (Maybe Text)
- smMessageKey :: Lens' StructuredMessage (Maybe Text)
- smParameters :: Lens' StructuredMessage [Parameter]
- data JobLabels
- jobLabels :: HashMap Text Text -> JobLabels
- jlAddtional :: Lens' JobLabels (HashMap Text Text)
- data MetricStructuredName
- metricStructuredName :: MetricStructuredName
- msnOrigin :: Lens' MetricStructuredName (Maybe Text)
- msnContext :: Lens' MetricStructuredName (Maybe MetricStructuredNameContext)
- msnName :: Lens' MetricStructuredName (Maybe Text)
- data BigQueryIODetails
- bigQueryIODetails :: BigQueryIODetails
- bqiodDataSet :: Lens' BigQueryIODetails (Maybe Text)
- bqiodQuery :: Lens' BigQueryIODetails (Maybe Text)
- bqiodProjectId :: Lens' BigQueryIODetails (Maybe Text)
- bqiodTable :: Lens' BigQueryIODetails (Maybe Text)
- data FileIODetails
- fileIODetails :: FileIODetails
- fiodFilePattern :: Lens' FileIODetails (Maybe Text)
- data WorkerPoolTeardownPolicy
- data CounterStructuredName
- counterStructuredName :: CounterStructuredName
- csnOrigin :: Lens' CounterStructuredName (Maybe CounterStructuredNameOrigin)
- csnOriginNamespace :: Lens' CounterStructuredName (Maybe Text)
- csnComponentStepName :: Lens' CounterStructuredName (Maybe Text)
- csnPortion :: Lens' CounterStructuredName (Maybe CounterStructuredNamePortion)
- csnOriginalStepName :: Lens' CounterStructuredName (Maybe Text)
- csnName :: Lens' CounterStructuredName (Maybe Text)
- csnExecutionStepName :: Lens' CounterStructuredName (Maybe Text)
- csnOriginalRequestingStepName :: Lens' CounterStructuredName (Maybe Text)
- csnInputIndex :: Lens' CounterStructuredName (Maybe Int32)
- csnWorkerId :: Lens' CounterStructuredName (Maybe Text)
- data JobMetadata
- jobMetadata :: JobMetadata
- jmSpannerDetails :: Lens' JobMetadata [SpannerIODetails]
- jmBigTableDetails :: Lens' JobMetadata [BigTableIODetails]
- jmSdkVersion :: Lens' JobMetadata (Maybe SdkVersion)
- jmPubsubDetails :: Lens' JobMetadata [PubSubIODetails]
- jmFileDetails :: Lens' JobMetadata [FileIODetails]
- jmBigQueryDetails :: Lens' JobMetadata [BigQueryIODetails]
- jmDatastoreDetails :: Lens' JobMetadata [DatastoreIODetails]
- data GetTemplateResponse
- getTemplateResponse :: GetTemplateResponse
- gtrStatus :: Lens' GetTemplateResponse (Maybe Status)
- gtrMetadata :: Lens' GetTemplateResponse (Maybe TemplateMetadata)
- data WriteInstruction
- writeInstruction :: WriteInstruction
- wiSink :: Lens' WriteInstruction (Maybe Sink)
- wiInput :: Lens' WriteInstruction (Maybe InstructionInput)
- data EnvironmentUserAgent
- environmentUserAgent :: HashMap Text JSONValue -> EnvironmentUserAgent
- euaAddtional :: Lens' EnvironmentUserAgent (HashMap Text JSONValue)
- data Disk
- disk :: Disk
- dSizeGb :: Lens' Disk (Maybe Int32)
- dDiskType :: Lens' Disk (Maybe Text)
- dMountPoint :: Lens' Disk (Maybe Text)
- data MetricUpdate
- metricUpdate :: MetricUpdate
- muMeanSum :: Lens' MetricUpdate (Maybe JSONValue)
- muInternal :: Lens' MetricUpdate (Maybe JSONValue)
- muSet :: Lens' MetricUpdate (Maybe JSONValue)
- muDistribution :: Lens' MetricUpdate (Maybe JSONValue)
- muCumulative :: Lens' MetricUpdate (Maybe Bool)
- muKind :: Lens' MetricUpdate (Maybe Text)
- muGauge :: Lens' MetricUpdate (Maybe JSONValue)
- muUpdateTime :: Lens' MetricUpdate (Maybe UTCTime)
- muMeanCount :: Lens' MetricUpdate (Maybe JSONValue)
- muName :: Lens' MetricUpdate (Maybe MetricStructuredName)
- muScalar :: Lens' MetricUpdate (Maybe JSONValue)
- data SourceGetMetadataResponse
- sourceGetMetadataResponse :: SourceGetMetadataResponse
- sgmrMetadata :: Lens' SourceGetMetadataResponse (Maybe SourceMetadata)
- data TemplateMetadata
- templateMetadata :: TemplateMetadata
- tmName :: Lens' TemplateMetadata (Maybe Text)
- tmParameters :: Lens' TemplateMetadata [ParameterMetadata]
- tmDescription :: Lens' TemplateMetadata (Maybe Text)
- data Environment
- environment :: Environment
- eDataSet :: Lens' Environment (Maybe Text)
- eExperiments :: Lens' Environment [Text]
- eWorkerPools :: Lens' Environment [WorkerPool]
- eClusterManagerAPIService :: Lens' Environment (Maybe Text)
- eVersion :: Lens' Environment (Maybe EnvironmentVersion)
- eInternalExperiments :: Lens' Environment (Maybe EnvironmentInternalExperiments)
- eTempStoragePrefix :: Lens' Environment (Maybe Text)
- eServiceAccountEmail :: Lens' Environment (Maybe Text)
- eUserAgent :: Lens' Environment (Maybe EnvironmentUserAgent)
- eSdkPipelineOptions :: Lens' Environment (Maybe EnvironmentSdkPipelineOptions)
- data ConcatPosition
- concatPosition :: ConcatPosition
- cpIndex :: Lens' ConcatPosition (Maybe Int32)
- cpPosition :: Lens' ConcatPosition (Maybe Position)
- data MetricStructuredNameContext
- metricStructuredNameContext :: HashMap Text Text -> MetricStructuredNameContext
- msncAddtional :: Lens' MetricStructuredNameContext (HashMap Text Text)
- data CounterUpdate
- counterUpdate :: CounterUpdate
- cuNameAndKind :: Lens' CounterUpdate (Maybe NameAndKind)
- cuIntegerList :: Lens' CounterUpdate (Maybe IntegerList)
- cuFloatingPoint :: Lens' CounterUpdate (Maybe Double)
- cuInternal :: Lens' CounterUpdate (Maybe JSONValue)
- cuStringList :: Lens' CounterUpdate (Maybe StringList)
- cuShortId :: Lens' CounterUpdate (Maybe Int64)
- cuIntegerGauge :: Lens' CounterUpdate (Maybe IntegerGauge)
- cuDistribution :: Lens' CounterUpdate (Maybe DistributionUpdate)
- cuCumulative :: Lens' CounterUpdate (Maybe Bool)
- cuStructuredNameAndMetadata :: Lens' CounterUpdate (Maybe CounterStructuredNameAndMetadata)
- cuFloatingPointMean :: Lens' CounterUpdate (Maybe FloatingPointMean)
- cuIntegerMean :: Lens' CounterUpdate (Maybe IntegerMean)
- cuBoolean :: Lens' CounterUpdate (Maybe Bool)
- cuFloatingPointList :: Lens' CounterUpdate (Maybe FloatingPointList)
- cuInteger :: Lens' CounterUpdate (Maybe SplitInt64)
- data StreamingStageLocation
- streamingStageLocation :: StreamingStageLocation
- sslStreamId :: Lens' StreamingStageLocation (Maybe Text)
- data AutoscalingSettingsAlgorithm
- data DerivedSource
- derivedSource :: DerivedSource
- dsDerivationMode :: Lens' DerivedSource (Maybe DerivedSourceDerivationMode)
- dsSource :: Lens' DerivedSource (Maybe Source)
- data JobMetrics
- jobMetrics :: JobMetrics
- jmMetrics :: Lens' JobMetrics [MetricUpdate]
- jmMetricTime :: Lens' JobMetrics (Maybe UTCTime)
- data TransformSummaryKind
- data SendDebugCaptureRequest
- sendDebugCaptureRequest :: SendDebugCaptureRequest
- sdcrLocation :: Lens' SendDebugCaptureRequest (Maybe Text)
- sdcrData :: Lens' SendDebugCaptureRequest (Maybe Text)
- sdcrComponentId :: Lens' SendDebugCaptureRequest (Maybe Text)
- sdcrWorkerId :: Lens' SendDebugCaptureRequest (Maybe Text)
- data WorkItemStatus
- workItemStatus :: WorkItemStatus
- wisReportedProgress :: Lens' WorkItemStatus (Maybe ApproximateReportedProgress)
- wisProgress :: Lens' WorkItemStatus (Maybe ApproximateProgress)
- wisTotalThrottlerWaitTimeSeconds :: Lens' WorkItemStatus (Maybe Double)
- wisSourceOperationResponse :: Lens' WorkItemStatus (Maybe SourceOperationResponse)
- wisStopPosition :: Lens' WorkItemStatus (Maybe Position)
- wisDynamicSourceSplit :: Lens' WorkItemStatus (Maybe DynamicSourceSplit)
- wisCompleted :: Lens' WorkItemStatus (Maybe Bool)
- wisSourceFork :: Lens' WorkItemStatus (Maybe SourceFork)
- wisReportIndex :: Lens' WorkItemStatus (Maybe Int64)
- wisRequestedLeaseDuration :: Lens' WorkItemStatus (Maybe Scientific)
- wisErrors :: Lens' WorkItemStatus [Status]
- wisCounterUpdates :: Lens' WorkItemStatus [CounterUpdate]
- wisMetricUpdates :: Lens' WorkItemStatus [MetricUpdate]
- wisWorkItemId :: Lens' WorkItemStatus (Maybe Text)
- data WorkerMessageLabels
- workerMessageLabels :: HashMap Text Text -> WorkerMessageLabels
- wmlAddtional :: Lens' WorkerMessageLabels (HashMap Text Text)
- data FlattenInstruction
- flattenInstruction :: FlattenInstruction
- fiInputs :: Lens' FlattenInstruction [InstructionInput]
- data WorkerMessageCode
- workerMessageCode :: WorkerMessageCode
- wmcParameters :: Lens' WorkerMessageCode (Maybe WorkerMessageCodeParameters)
- wmcCode :: Lens' WorkerMessageCode (Maybe Text)
- data TransformSummary
- transformSummary :: TransformSummary
- tsDisplayData :: Lens' TransformSummary [DisplayData]
- tsKind :: Lens' TransformSummary (Maybe TransformSummaryKind)
- tsOutputCollectionName :: Lens' TransformSummary [Text]
- tsInputCollectionName :: Lens' TransformSummary [Text]
- tsName :: Lens' TransformSummary (Maybe Text)
- tsId :: Lens' TransformSummary (Maybe Text)
- data JobTransformNameMApping
- jobTransformNameMApping :: HashMap Text Text -> JobTransformNameMApping
- jtnmaAddtional :: Lens' JobTransformNameMApping (HashMap Text Text)
- data SourceSpec
- sourceSpec :: HashMap Text JSONValue -> SourceSpec
- ssAddtional :: Lens' SourceSpec (HashMap Text JSONValue)
- data SourceMetadata
- sourceMetadata :: SourceMetadata
- smEstimatedSizeBytes :: Lens' SourceMetadata (Maybe Int64)
- smProducesSortedKeys :: Lens' SourceMetadata (Maybe Bool)
- smInfinite :: Lens' SourceMetadata (Maybe Bool)
- data EnvironmentInternalExperiments
- environmentInternalExperiments :: HashMap Text JSONValue -> EnvironmentInternalExperiments
- eieAddtional :: Lens' EnvironmentInternalExperiments (HashMap Text JSONValue)
- data TaskRunnerSettings
- taskRunnerSettings :: TaskRunnerSettings
- trsContinueOnException :: Lens' TaskRunnerSettings (Maybe Bool)
- trsHarnessCommand :: Lens' TaskRunnerSettings (Maybe Text)
- trsWorkflowFileName :: Lens' TaskRunnerSettings (Maybe Text)
- trsTaskGroup :: Lens' TaskRunnerSettings (Maybe Text)
- trsAlsologtostderr :: Lens' TaskRunnerSettings (Maybe Bool)
- trsDataflowAPIVersion :: Lens' TaskRunnerSettings (Maybe Text)
- trsLogDir :: Lens' TaskRunnerSettings (Maybe Text)
- trsCommandlinesFileName :: Lens' TaskRunnerSettings (Maybe Text)
- trsVMId :: Lens' TaskRunnerSettings (Maybe Text)
- trsBaseURL :: Lens' TaskRunnerSettings (Maybe Text)
- trsOAuthScopes :: Lens' TaskRunnerSettings [Text]
- trsTaskUser :: Lens' TaskRunnerSettings (Maybe Text)
- trsStreamingWorkerMainClass :: Lens' TaskRunnerSettings (Maybe Text)
- trsBaseTaskDir :: Lens' TaskRunnerSettings (Maybe Text)
- trsLogUploadLocation :: Lens' TaskRunnerSettings (Maybe Text)
- trsTempStoragePrefix :: Lens' TaskRunnerSettings (Maybe Text)
- trsLogToSerialconsole :: Lens' TaskRunnerSettings (Maybe Bool)
- trsParallelWorkerSettings :: Lens' TaskRunnerSettings (Maybe WorkerSettings)
- trsLanguageHint :: Lens' TaskRunnerSettings (Maybe Text)
- data StreamingComputationConfig
- streamingComputationConfig :: StreamingComputationConfig
- sccInstructions :: Lens' StreamingComputationConfig [ParallelInstruction]
- sccSystemName :: Lens' StreamingComputationConfig (Maybe Text)
- sccComputationId :: Lens' StreamingComputationConfig (Maybe Text)
- sccStageName :: Lens' StreamingComputationConfig (Maybe Text)
- data EnvironmentSdkPipelineOptions
- environmentSdkPipelineOptions :: HashMap Text JSONValue -> EnvironmentSdkPipelineOptions
- espoAddtional :: Lens' EnvironmentSdkPipelineOptions (HashMap Text JSONValue)
- data FloatingPointMean
- floatingPointMean :: FloatingPointMean
- fpmCount :: Lens' FloatingPointMean (Maybe SplitInt64)
- fpmSum :: Lens' FloatingPointMean (Maybe Double)
- data CPUTime
- cpuTime :: CPUTime
- ctTotalMs :: Lens' CPUTime (Maybe Word64)
- ctRate :: Lens' CPUTime (Maybe Double)
- ctTimestamp :: Lens' CPUTime (Maybe UTCTime)
- data LeaseWorkItemRequest
- leaseWorkItemRequest :: LeaseWorkItemRequest
- lwirWorkItemTypes :: Lens' LeaseWorkItemRequest [Text]
- lwirCurrentWorkerTime :: Lens' LeaseWorkItemRequest (Maybe UTCTime)
- lwirLocation :: Lens' LeaseWorkItemRequest (Maybe Text)
- lwirWorkerCapabilities :: Lens' LeaseWorkItemRequest [Text]
- lwirRequestedLeaseDuration :: Lens' LeaseWorkItemRequest (Maybe Scientific)
- lwirWorkerId :: Lens' LeaseWorkItemRequest (Maybe Text)
- data SourceOperationResponse
- sourceOperationResponse :: SourceOperationResponse
- sorSplit :: Lens' SourceOperationResponse (Maybe SourceSplitResponse)
- sorGetMetadata :: Lens' SourceOperationResponse (Maybe SourceGetMetadataResponse)
- data CounterStructuredNamePortion
- data TopologyConfigUserStageToComputationNameMap
- topologyConfigUserStageToComputationNameMap :: HashMap Text Text -> TopologyConfigUserStageToComputationNameMap
- tcustcnmAddtional :: Lens' TopologyConfigUserStageToComputationNameMap (HashMap Text Text)
- data ShellTask
- shellTask :: ShellTask
- stCommand :: Lens' ShellTask (Maybe Text)
- stExitCode :: Lens' ShellTask (Maybe Int32)
- data JobMessageMessageImportance
- data DatastoreIODetails
- datastoreIODetails :: DatastoreIODetails
- diodNamespace :: Lens' DatastoreIODetails (Maybe Text)
- diodProjectId :: Lens' DatastoreIODetails (Maybe Text)
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data ReportedParallelism
- reportedParallelism :: ReportedParallelism
- rpValue :: Lens' ReportedParallelism (Maybe Double)
- rpIsInfinite :: Lens' ReportedParallelism (Maybe Bool)
- data StepProperties
- stepProperties :: HashMap Text JSONValue -> StepProperties
- spAddtional :: Lens' StepProperties (HashMap Text JSONValue)
- data TopologyConfig
- topologyConfig :: TopologyConfig
- tcDataDiskAssignments :: Lens' TopologyConfig [DataDiskAssignment]
- tcPersistentStateVersion :: Lens' TopologyConfig (Maybe Int32)
- tcForwardingKeyBits :: Lens' TopologyConfig (Maybe Int32)
- tcUserStageToComputationNameMap :: Lens' TopologyConfig (Maybe TopologyConfigUserStageToComputationNameMap)
- tcComputations :: Lens' TopologyConfig [ComputationTopology]
- data ApproximateSplitRequest
- approximateSplitRequest :: ApproximateSplitRequest
- asrFractionConsumed :: Lens' ApproximateSplitRequest (Maybe Double)
- asrFractionOfRemainder :: Lens' ApproximateSplitRequest (Maybe Double)
- asrPosition :: Lens' ApproximateSplitRequest (Maybe Position)
- data SplitInt64
- splitInt64 :: SplitInt64
- siHighBits :: Lens' SplitInt64 (Maybe Int32)
- siLowBits :: Lens' SplitInt64 (Maybe Word32)
- data WorkerSettings
- workerSettings :: WorkerSettings
- wsServicePath :: Lens' WorkerSettings (Maybe Text)
- wsBaseURL :: Lens' WorkerSettings (Maybe Text)
- wsShuffleServicePath :: Lens' WorkerSettings (Maybe Text)
- wsTempStoragePrefix :: Lens' WorkerSettings (Maybe Text)
- wsReportingEnabled :: Lens' WorkerSettings (Maybe Bool)
- wsWorkerId :: Lens' WorkerSettings (Maybe Text)
- data GetDebugConfigResponse
- getDebugConfigResponse :: GetDebugConfigResponse
- gdcrConfig :: Lens' GetDebugConfigResponse (Maybe Text)
- data SdkVersion
- sdkVersion :: SdkVersion
- svSdkSupportStatus :: Lens' SdkVersion (Maybe SdkVersionSdkSupportStatus)
- svVersionDisplayName :: Lens' SdkVersion (Maybe Text)
- svVersion :: Lens' SdkVersion (Maybe Text)
- data WorkItemServiceStateHarnessData
- workItemServiceStateHarnessData :: HashMap Text JSONValue -> WorkItemServiceStateHarnessData
- wisshdAddtional :: Lens' WorkItemServiceStateHarnessData (HashMap Text JSONValue)
- data DataDiskAssignment
- dataDiskAssignment :: DataDiskAssignment
- ddaVMInstance :: Lens' DataDiskAssignment (Maybe Text)
- ddaDataDisks :: Lens' DataDiskAssignment [Text]
- data ResourceUtilizationReport
- resourceUtilizationReport :: ResourceUtilizationReport
- rurCPUTime :: Lens' ResourceUtilizationReport [CPUTime]
- data FailedLocation
- failedLocation :: FailedLocation
- flName :: Lens' FailedLocation (Maybe Text)
- data SourceSplitResponseOutcome
- data WorkerMessageResponse
- workerMessageResponse :: WorkerMessageResponse
- wmrWorkerHealthReportResponse :: Lens' WorkerMessageResponse (Maybe WorkerHealthReportResponse)
- wmrWorkerMetricsResponse :: Lens' WorkerMessageResponse (Maybe ResourceUtilizationReportResponse)
- wmrWorkerShutdownNoticeResponse :: Lens' WorkerMessageResponse (Maybe WorkerShutdownNoticeResponse)
- data CreateJobFromTemplateRequestParameters
- createJobFromTemplateRequestParameters :: HashMap Text Text -> CreateJobFromTemplateRequestParameters
- cjftrpAddtional :: Lens' CreateJobFromTemplateRequestParameters (HashMap Text Text)
- data BigTableIODetails
- bigTableIODetails :: BigTableIODetails
- btiodInstanceId :: Lens' BigTableIODetails (Maybe Text)
- btiodProjectId :: Lens' BigTableIODetails (Maybe Text)
- btiodTableId :: Lens' BigTableIODetails (Maybe Text)
- data WorkItemServiceState
- workItemServiceState :: WorkItemServiceState
- wissNextReportIndex :: Lens' WorkItemServiceState (Maybe Int64)
- wissReportStatusInterval :: Lens' WorkItemServiceState (Maybe Scientific)
- wissHarnessData :: Lens' WorkItemServiceState (Maybe WorkItemServiceStateHarnessData)
- wissSuggestedStopPoint :: Lens' WorkItemServiceState (Maybe ApproximateProgress)
- wissSuggestedStopPosition :: Lens' WorkItemServiceState (Maybe Position)
- wissLeaseExpireTime :: Lens' WorkItemServiceState (Maybe UTCTime)
- wissSplitRequest :: Lens' WorkItemServiceState (Maybe ApproximateSplitRequest)
- wissMetricShortId :: Lens' WorkItemServiceState [MetricShortId]
- data LaunchTemplateResponse
- launchTemplateResponse :: LaunchTemplateResponse
- ltrJob :: Lens' LaunchTemplateResponse (Maybe Job)
- data StreamingSetupTask
- streamingSetupTask :: StreamingSetupTask
- sstStreamingComputationTopology :: Lens' StreamingSetupTask (Maybe TopologyConfig)
- sstReceiveWorkPort :: Lens' StreamingSetupTask (Maybe Int32)
- sstWorkerHarnessPort :: Lens' StreamingSetupTask (Maybe Int32)
- sstDrain :: Lens' StreamingSetupTask (Maybe Bool)
- sstSnapshotConfig :: Lens' StreamingSetupTask (Maybe StreamingApplianceSnapshotConfig)
- data PartialGroupByKeyInstructionInputElementCodec
- partialGroupByKeyInstructionInputElementCodec :: HashMap Text JSONValue -> PartialGroupByKeyInstructionInputElementCodec
- pgbkiiecAddtional :: Lens' PartialGroupByKeyInstructionInputElementCodec (HashMap Text JSONValue)
- data MapTask
- mapTask :: MapTask
- mtInstructions :: Lens' MapTask [ParallelInstruction]
- mtCounterPrefix :: Lens' MapTask (Maybe Text)
- mtSystemName :: Lens' MapTask (Maybe Text)
- mtStageName :: Lens' MapTask (Maybe Text)
- data MountedDataDisk
- mountedDataDisk :: MountedDataDisk
- mddDataDisk :: Lens' MountedDataDisk (Maybe Text)
- data SinkCodec
- sinkCodec :: HashMap Text JSONValue -> SinkCodec
- scAddtional :: Lens' SinkCodec (HashMap Text JSONValue)
- data SourceSplitShardDerivationMode
- data WorkerPoolDefaultPackageSet
- data IntegerMean
- integerMean :: IntegerMean
- imCount :: Lens' IntegerMean (Maybe SplitInt64)
- imSum :: Lens' IntegerMean (Maybe SplitInt64)
- data CounterMetadataKind
- data WorkerHealthReportPodsItem
- workerHealthReportPodsItem :: HashMap Text JSONValue -> WorkerHealthReportPodsItem
- whrpiAddtional :: Lens' WorkerHealthReportPodsItem (HashMap Text JSONValue)
- data ParDoInstructionUserFn
- parDoInstructionUserFn :: HashMap Text JSONValue -> ParDoInstructionUserFn
- pdiufAddtional :: Lens' ParDoInstructionUserFn (HashMap Text JSONValue)
- data InstructionOutputCodec
- instructionOutputCodec :: HashMap Text JSONValue -> InstructionOutputCodec
- iocAddtional :: Lens' InstructionOutputCodec (HashMap Text JSONValue)
- data StreamLocation
- streamLocation :: StreamLocation
- slStreamingStageLocation :: Lens' StreamLocation (Maybe StreamingStageLocation)
- slSideInputLocation :: Lens' StreamLocation (Maybe StreamingSideInputLocation)
- slCustomSourceLocation :: Lens' StreamLocation (Maybe CustomSourceLocation)
- slPubsubLocation :: Lens' StreamLocation (Maybe PubsubLocation)
- data WorkerLifecycleEventMetadata
- workerLifecycleEventMetadata :: HashMap Text Text -> WorkerLifecycleEventMetadata
- wlemAddtional :: Lens' WorkerLifecycleEventMetadata (HashMap Text Text)
- data WorkerPoolPoolArgs
- workerPoolPoolArgs :: HashMap Text JSONValue -> WorkerPoolPoolArgs
- wppaAddtional :: Lens' WorkerPoolPoolArgs (HashMap Text JSONValue)
- data RuntimeEnvironment
- runtimeEnvironment :: RuntimeEnvironment
- reNumWorkers :: Lens' RuntimeEnvironment (Maybe Int32)
- reNetwork :: Lens' RuntimeEnvironment (Maybe Text)
- reZone :: Lens' RuntimeEnvironment (Maybe Text)
- reBypassTempDirValidation :: Lens' RuntimeEnvironment (Maybe Bool)
- reSubnetwork :: Lens' RuntimeEnvironment (Maybe Text)
- reMachineType :: Lens' RuntimeEnvironment (Maybe Text)
- reAdditionalUserLabels :: Lens' RuntimeEnvironment (Maybe RuntimeEnvironmentAdditionalUserLabels)
- reServiceAccountEmail :: Lens' RuntimeEnvironment (Maybe Text)
- reAdditionalExperiments :: Lens' RuntimeEnvironment [Text]
- reMaxWorkers :: Lens' RuntimeEnvironment (Maybe Int32)
- reTempLocation :: Lens' RuntimeEnvironment (Maybe Text)
- data CounterMetadata
- counterMetadata :: CounterMetadata
- cmKind :: Lens' CounterMetadata (Maybe CounterMetadataKind)
- cmDescription :: Lens' CounterMetadata (Maybe Text)
- cmStandardUnits :: Lens' CounterMetadata (Maybe CounterMetadataStandardUnits)
- cmOtherUnits :: Lens' CounterMetadata (Maybe Text)
- data SendWorkerMessagesResponse
- sendWorkerMessagesResponse :: SendWorkerMessagesResponse
- swmrWorkerMessageResponses :: Lens' SendWorkerMessagesResponse [WorkerMessageResponse]
- data JobCurrentState
- data StreamingSideInputLocation
- streamingSideInputLocation :: StreamingSideInputLocation
- ssilTag :: Lens' StreamingSideInputLocation (Maybe Text)
- ssilStateFamily :: Lens' StreamingSideInputLocation (Maybe Text)
- data GetDebugConfigRequest
- getDebugConfigRequest :: GetDebugConfigRequest
- gdcrLocation :: Lens' GetDebugConfigRequest (Maybe Text)
- gdcrComponentId :: Lens' GetDebugConfigRequest (Maybe Text)
- gdcrWorkerId :: Lens' GetDebugConfigRequest (Maybe Text)
- data CounterStructuredNameAndMetadata
- counterStructuredNameAndMetadata :: CounterStructuredNameAndMetadata
- csnamName :: Lens' CounterStructuredNameAndMetadata (Maybe CounterStructuredName)
- csnamMetadata :: Lens' CounterStructuredNameAndMetadata (Maybe CounterMetadata)
- data WorkerShutdownNotice
- workerShutdownNotice :: WorkerShutdownNotice
- wsnReason :: Lens' WorkerShutdownNotice (Maybe Text)
- data StreamingComputationTask
- streamingComputationTask :: StreamingComputationTask
- sctTaskType :: Lens' StreamingComputationTask (Maybe StreamingComputationTaskTaskType)
- sctDataDisks :: Lens' StreamingComputationTask [MountedDataDisk]
- sctComputationRanges :: Lens' StreamingComputationTask [StreamingComputationRanges]
- data PipelineDescription
- pipelineDescription :: PipelineDescription
- pdExecutionPipelineStage :: Lens' PipelineDescription [ExecutionStageSummary]
- pdDisplayData :: Lens' PipelineDescription [DisplayData]
- pdOriginalPipelineTransform :: Lens' PipelineDescription [TransformSummary]
- data JobMessage
- jobMessage :: JobMessage
- jmTime :: Lens' JobMessage (Maybe UTCTime)
- jmMessageText :: Lens' JobMessage (Maybe Text)
- jmMessageImportance :: Lens' JobMessage (Maybe JobMessageMessageImportance)
- jmId :: Lens' JobMessage (Maybe Text)
- data WorkerLifecycleEvent
- workerLifecycleEvent :: WorkerLifecycleEvent
- wleEvent :: Lens' WorkerLifecycleEvent (Maybe WorkerLifecycleEventEvent)
- wleContainerStartTime :: Lens' WorkerLifecycleEvent (Maybe UTCTime)
- wleMetadata :: Lens' WorkerLifecycleEvent (Maybe WorkerLifecycleEventMetadata)
- data RuntimeEnvironmentAdditionalUserLabels
- runtimeEnvironmentAdditionalUserLabels :: HashMap Text Text -> RuntimeEnvironmentAdditionalUserLabels
- reaulAddtional :: Lens' RuntimeEnvironmentAdditionalUserLabels (HashMap Text Text)
- data CounterMetadataStandardUnits
- data SeqMapTaskOutputInfo
- seqMapTaskOutputInfo :: SeqMapTaskOutputInfo
- smtoiSink :: Lens' SeqMapTaskOutputInfo (Maybe Sink)
- smtoiTag :: Lens' SeqMapTaskOutputInfo (Maybe Text)
- data PubSubIODetails
- pubSubIODetails :: PubSubIODetails
- psiodTopic :: Lens' PubSubIODetails (Maybe Text)
- psiodSubscription :: Lens' PubSubIODetails (Maybe Text)
- data SourceGetMetadataRequest
- sourceGetMetadataRequest :: SourceGetMetadataRequest
- sgmrSource :: Lens' SourceGetMetadataRequest (Maybe Source)
- data WorkerShutdownNoticeResponse
- workerShutdownNoticeResponse :: WorkerShutdownNoticeResponse
- data SeqMapTaskUserFn
- seqMapTaskUserFn :: HashMap Text JSONValue -> SeqMapTaskUserFn
- smtufAddtional :: Lens' SeqMapTaskUserFn (HashMap Text JSONValue)
- data PartialGroupByKeyInstructionValueCombiningFn
- partialGroupByKeyInstructionValueCombiningFn :: HashMap Text JSONValue -> PartialGroupByKeyInstructionValueCombiningFn
- pgbkivcfAddtional :: Lens' PartialGroupByKeyInstructionValueCombiningFn (HashMap Text JSONValue)
- data Job
- job :: Job
- jStepsLocation :: Lens' Job (Maybe Text)
- jCreatedFromSnapshotId :: Lens' Job (Maybe Text)
- jRequestedState :: Lens' Job (Maybe JobRequestedState)
- jJobMetadata :: Lens' Job (Maybe JobMetadata)
- jLocation :: Lens' Job (Maybe Text)
- jStartTime :: Lens' Job (Maybe UTCTime)
- jEnvironment :: Lens' Job (Maybe Environment)
- jClientRequestId :: Lens' Job (Maybe Text)
- jStageStates :: Lens' Job [ExecutionStageState]
- jCurrentState :: Lens' Job (Maybe JobCurrentState)
- jReplacedByJobId :: Lens' Job (Maybe Text)
- jTempFiles :: Lens' Job [Text]
- jSteps :: Lens' Job [Step]
- jPipelineDescription :: Lens' Job (Maybe PipelineDescription)
- jExecutionInfo :: Lens' Job (Maybe JobExecutionInfo)
- jName :: Lens' Job (Maybe Text)
- jTransformNameMApping :: Lens' Job (Maybe JobTransformNameMApping)
- jId :: Lens' Job (Maybe Text)
- jLabels :: Lens' Job (Maybe JobLabels)
- jProjectId :: Lens' Job (Maybe Text)
- jType :: Lens' Job (Maybe JobType)
- jCurrentStateTime :: Lens' Job (Maybe UTCTime)
- jReplaceJobId :: Lens' Job (Maybe Text)
- jCreateTime :: Lens' Job (Maybe UTCTime)
- data AutoscalingEventEventType
- data ReadInstruction
- readInstruction :: ReadInstruction
- riSource :: Lens' ReadInstruction (Maybe Source)
- data ApproximateReportedProgress
- approximateReportedProgress :: ApproximateReportedProgress
- arpFractionConsumed :: Lens' ApproximateReportedProgress (Maybe Double)
- arpConsumedParallelism :: Lens' ApproximateReportedProgress (Maybe ReportedParallelism)
- arpRemainingParallelism :: Lens' ApproximateReportedProgress (Maybe ReportedParallelism)
- arpPosition :: Lens' ApproximateReportedProgress (Maybe Position)
- data DerivedSourceDerivationMode
- data SinkSpec
- sinkSpec :: HashMap Text JSONValue -> SinkSpec
- sAddtional :: Lens' SinkSpec (HashMap Text JSONValue)
- data WorkerPool
- workerPool :: WorkerPool
- wpAutoscalingSettings :: Lens' WorkerPool (Maybe AutoscalingSettings)
- wpNumThreadsPerWorker :: Lens' WorkerPool (Maybe Int32)
- wpDiskSizeGb :: Lens' WorkerPool (Maybe Int32)
- wpKind :: Lens' WorkerPool (Maybe Text)
- wpTaskrunnerSettings :: Lens' WorkerPool (Maybe TaskRunnerSettings)
- wpNumWorkers :: Lens' WorkerPool (Maybe Int32)
- wpNetwork :: Lens' WorkerPool (Maybe Text)
- wpZone :: Lens' WorkerPool (Maybe Text)
- wpIPConfiguration :: Lens' WorkerPool (Maybe WorkerPoolIPConfiguration)
- wpPackages :: Lens' WorkerPool [Package]
- wpOnHostMaintenance :: Lens' WorkerPool (Maybe Text)
- wpDiskSourceImage :: Lens' WorkerPool (Maybe Text)
- wpSubnetwork :: Lens' WorkerPool (Maybe Text)
- wpMachineType :: Lens' WorkerPool (Maybe Text)
- wpMetadata :: Lens' WorkerPool (Maybe WorkerPoolMetadata)
- wpDiskType :: Lens' WorkerPool (Maybe Text)
- wpTeardownPolicy :: Lens' WorkerPool (Maybe WorkerPoolTeardownPolicy)
- wpDefaultPackageSet :: Lens' WorkerPool (Maybe WorkerPoolDefaultPackageSet)
- wpPoolArgs :: Lens' WorkerPool (Maybe WorkerPoolPoolArgs)
- wpWorkerHarnessContainerImage :: Lens' WorkerPool (Maybe Text)
- wpDataDisks :: Lens' WorkerPool [Disk]
- data Step
- step :: Step
- sKind :: Lens' Step (Maybe Text)
- sName :: Lens' Step (Maybe Text)
- sProperties :: Lens' Step (Maybe StepProperties)
- data ComponentSource
- componentSource :: ComponentSource
- csUserName :: Lens' ComponentSource (Maybe Text)
- csName :: Lens' ComponentSource (Maybe Text)
- csOriginalTransformOrCollection :: Lens' ComponentSource (Maybe Text)
- data ExecutionStageSummaryKind
- data Xgafv
- data Package
- package :: Package
- pLocation :: Lens' Package (Maybe Text)
- pName :: Lens' Package (Maybe Text)
- data ExecutionStageSummary
- executionStageSummary :: ExecutionStageSummary
- essOutputSource :: Lens' ExecutionStageSummary [StageSource]
- essKind :: Lens' ExecutionStageSummary (Maybe ExecutionStageSummaryKind)
- essInputSource :: Lens' ExecutionStageSummary [StageSource]
- essName :: Lens' ExecutionStageSummary (Maybe Text)
- essComponentSource :: Lens' ExecutionStageSummary [ComponentSource]
- essId :: Lens' ExecutionStageSummary (Maybe Text)
- essComponentTransform :: Lens' ExecutionStageSummary [ComponentTransform]
- data WorkerMessageCodeParameters
- workerMessageCodeParameters :: HashMap Text JSONValue -> WorkerMessageCodeParameters
- wmcpAddtional :: Lens' WorkerMessageCodeParameters (HashMap Text JSONValue)
- data DynamicSourceSplit
- dynamicSourceSplit :: DynamicSourceSplit
- dssResidual :: Lens' DynamicSourceSplit (Maybe DerivedSource)
- dssPrimary :: Lens' DynamicSourceSplit (Maybe DerivedSource)
- data SnapshotJobRequest
- snapshotJobRequest :: SnapshotJobRequest
- sjrTtl :: Lens' SnapshotJobRequest (Maybe Scientific)
- sjrLocation :: Lens' SnapshotJobRequest (Maybe Text)
- data ReportWorkItemStatusResponse
- reportWorkItemStatusResponse :: ReportWorkItemStatusResponse
- rwisrWorkItemServiceStates :: Lens' ReportWorkItemStatusResponse [WorkItemServiceState]
- data SourceFork
- sourceFork :: SourceFork
- sfResidual :: Lens' SourceFork (Maybe SourceSplitShard)
- sfPrimarySource :: Lens' SourceFork (Maybe DerivedSource)
- sfPrimary :: Lens' SourceFork (Maybe SourceSplitShard)
- sfResidualSource :: Lens' SourceFork (Maybe DerivedSource)
- data ResourceUtilizationReportResponse
- resourceUtilizationReportResponse :: ResourceUtilizationReportResponse
- data StreamingComputationRanges
- streamingComputationRanges :: StreamingComputationRanges
- scrRangeAssignments :: Lens' StreamingComputationRanges [KeyRangeDataDiskAssignment]
- scrComputationId :: Lens' StreamingComputationRanges (Maybe Text)
- data ListJobsResponse
- listJobsResponse :: ListJobsResponse
- ljrNextPageToken :: Lens' ListJobsResponse (Maybe Text)
- ljrFailedLocation :: Lens' ListJobsResponse [FailedLocation]
- ljrJobs :: Lens' ListJobsResponse [Job]
- data LaunchTemplateParametersParameters
- launchTemplateParametersParameters :: HashMap Text Text -> LaunchTemplateParametersParameters
- ltppAddtional :: Lens' LaunchTemplateParametersParameters (HashMap Text Text)
- data Source
- source :: Source
- souDoesNotNeedSplitting :: Lens' Source (Maybe Bool)
- souBaseSpecs :: Lens' Source [SourceBaseSpecsItem]
- souCodec :: Lens' Source (Maybe SourceCodec)
- souSpec :: Lens' Source (Maybe SourceSpec)
- souMetadata :: Lens' Source (Maybe SourceMetadata)
- data ApproximateProgress
- approximateProgress :: ApproximateProgress
- apRemainingTime :: Lens' ApproximateProgress (Maybe Scientific)
- apPercentComplete :: Lens' ApproximateProgress (Maybe Double)
- apPosition :: Lens' ApproximateProgress (Maybe Position)
- data WorkerMessage
- workerMessage :: WorkerMessage
- wmWorkerHealthReport :: Lens' WorkerMessage (Maybe WorkerHealthReport)
- wmTime :: Lens' WorkerMessage (Maybe UTCTime)
- wmWorkerMessageCode :: Lens' WorkerMessage (Maybe WorkerMessageCode)
- wmWorkerMetrics :: Lens' WorkerMessage (Maybe ResourceUtilizationReport)
- wmWorkerLifecycleEvent :: Lens' WorkerMessage (Maybe WorkerLifecycleEvent)
- wmWorkerShutdownNotice :: Lens' WorkerMessage (Maybe WorkerShutdownNotice)
- wmLabels :: Lens' WorkerMessage (Maybe WorkerMessageLabels)
- data KeyRangeLocation
- keyRangeLocation :: KeyRangeLocation
- krlDataDisk :: Lens' KeyRangeLocation (Maybe Text)
- krlDeprecatedPersistentDirectory :: Lens' KeyRangeLocation (Maybe Text)
- krlStart :: Lens' KeyRangeLocation (Maybe Text)
- krlDeliveryEndpoint :: Lens' KeyRangeLocation (Maybe Text)
- krlEnd :: Lens' KeyRangeLocation (Maybe Text)
- data Histogram
- histogram :: Histogram
- hBucketCounts :: Lens' Histogram [Int64]
- hFirstBucketOffSet :: Lens' Histogram (Maybe Int32)
- data JobRequestedState
- data MultiOutputInfo
- multiOutputInfo :: MultiOutputInfo
- moiTag :: Lens' MultiOutputInfo (Maybe Text)
- data PartialGroupByKeyInstruction
- partialGroupByKeyInstruction :: PartialGroupByKeyInstruction
- pgbkiValueCombiningFn :: Lens' PartialGroupByKeyInstruction (Maybe PartialGroupByKeyInstructionValueCombiningFn)
- pgbkiSideInputs :: Lens' PartialGroupByKeyInstruction [SideInputInfo]
- pgbkiInput :: Lens' PartialGroupByKeyInstruction (Maybe InstructionInput)
- pgbkiOriginalCombineValuesStepName :: Lens' PartialGroupByKeyInstruction (Maybe Text)
- pgbkiInputElementCodec :: Lens' PartialGroupByKeyInstruction (Maybe PartialGroupByKeyInstructionInputElementCodec)
- pgbkiOriginalCombineValuesInputStoreName :: Lens' PartialGroupByKeyInstruction (Maybe Text)
- data WorkerLifecycleEventEvent
- data ExecutionStageStateExecutionStageState
- data ParDoInstruction
- parDoInstruction :: ParDoInstruction
- pdiNumOutputs :: Lens' ParDoInstruction (Maybe Int32)
- pdiMultiOutputInfos :: Lens' ParDoInstruction [MultiOutputInfo]
- pdiSideInputs :: Lens' ParDoInstruction [SideInputInfo]
- pdiInput :: Lens' ParDoInstruction (Maybe InstructionInput)
- pdiUserFn :: Lens' ParDoInstruction (Maybe ParDoInstructionUserFn)
- data CustomSourceLocation
- customSourceLocation :: CustomSourceLocation
- cslStateful :: Lens' CustomSourceLocation (Maybe Bool)
- data DistributionUpdate
- distributionUpdate :: DistributionUpdate
- duMax :: Lens' DistributionUpdate (Maybe SplitInt64)
- duCount :: Lens' DistributionUpdate (Maybe SplitInt64)
- duMin :: Lens' DistributionUpdate (Maybe SplitInt64)
- duHistogram :: Lens' DistributionUpdate (Maybe Histogram)
- duSumOfSquares :: Lens' DistributionUpdate (Maybe Double)
- duSum :: Lens' DistributionUpdate (Maybe SplitInt64)
- data SourceBaseSpecsItem
- sourceBaseSpecsItem :: HashMap Text JSONValue -> SourceBaseSpecsItem
- sbsiAddtional :: Lens' SourceBaseSpecsItem (HashMap Text JSONValue)
- data ParallelInstruction
- parallelInstruction :: ParallelInstruction
- piRead :: Lens' ParallelInstruction (Maybe ReadInstruction)
- piWrite :: Lens' ParallelInstruction (Maybe WriteInstruction)
- piParDo :: Lens' ParallelInstruction (Maybe ParDoInstruction)
- piPartialGroupByKey :: Lens' ParallelInstruction (Maybe PartialGroupByKeyInstruction)
- piOutputs :: Lens' ParallelInstruction [InstructionOutput]
- piName :: Lens' ParallelInstruction (Maybe Text)
- piSystemName :: Lens' ParallelInstruction (Maybe Text)
- piFlatten :: Lens' ParallelInstruction (Maybe FlattenInstruction)
- piOriginalName :: Lens' ParallelInstruction (Maybe Text)
- data SideInputInfoKind
- sideInputInfoKind :: HashMap Text JSONValue -> SideInputInfoKind
- siikAddtional :: Lens' SideInputInfoKind (HashMap Text JSONValue)
- data StreamingConfigTask
- streamingConfigTask :: StreamingConfigTask
- sctUserStepToStateFamilyNameMap :: Lens' StreamingConfigTask (Maybe StreamingConfigTaskUserStepToStateFamilyNameMap)
- sctStreamingComputationConfigs :: Lens' StreamingConfigTask [StreamingComputationConfig]
- sctWindmillServiceEndpoint :: Lens' StreamingConfigTask (Maybe Text)
- sctWindmillServicePort :: Lens' StreamingConfigTask (Maybe Int64)
- data MetricShortId
- metricShortId :: MetricShortId
- msiShortId :: Lens' MetricShortId (Maybe Int64)
- msiMetricIndex :: Lens' MetricShortId (Maybe Int32)
- data SendWorkerMessagesRequest
- sendWorkerMessagesRequest :: SendWorkerMessagesRequest
- swmrLocation :: Lens' SendWorkerMessagesRequest (Maybe Text)
- swmrWorkerMessages :: Lens' SendWorkerMessagesRequest [WorkerMessage]
- data SourceSplitShard
- sourceSplitShard :: SourceSplitShard
- sssDerivationMode :: Lens' SourceSplitShard (Maybe SourceSplitShardDerivationMode)
- sssSource :: Lens' SourceSplitShard (Maybe Source)
- data SideInputInfo
- sideInputInfo :: SideInputInfo
- siiTag :: Lens' SideInputInfo (Maybe Text)
- siiKind :: Lens' SideInputInfo (Maybe SideInputInfoKind)
- siiSources :: Lens' SideInputInfo [Source]
- data ComponentTransform
- componentTransform :: ComponentTransform
- ctOriginalTransform :: Lens' ComponentTransform (Maybe Text)
- ctUserName :: Lens' ComponentTransform (Maybe Text)
- ctName :: Lens' ComponentTransform (Maybe Text)
- data WorkerPoolIPConfiguration
- data JobExecutionInfo
- jobExecutionInfo :: JobExecutionInfo
- jeiStages :: Lens' JobExecutionInfo (Maybe JobExecutionInfoStages)
- data SourceCodec
- sourceCodec :: HashMap Text JSONValue -> SourceCodec
- souAddtional :: Lens' SourceCodec (HashMap Text JSONValue)
- data StateFamilyConfig
- stateFamilyConfig :: StateFamilyConfig
- sfcIsRead :: Lens' StateFamilyConfig (Maybe Bool)
- sfcStateFamily :: Lens' StateFamilyConfig (Maybe Text)
- data KeyRangeDataDiskAssignment
- keyRangeDataDiskAssignment :: KeyRangeDataDiskAssignment
- krddaDataDisk :: Lens' KeyRangeDataDiskAssignment (Maybe Text)
- krddaStart :: Lens' KeyRangeDataDiskAssignment (Maybe Text)
- krddaEnd :: Lens' KeyRangeDataDiskAssignment (Maybe Text)
- data AutoscalingEvent
- autoscalingEvent :: AutoscalingEvent
- aeCurrentNumWorkers :: Lens' AutoscalingEvent (Maybe Int64)
- aeTime :: Lens' AutoscalingEvent (Maybe UTCTime)
- aeEventType :: Lens' AutoscalingEvent (Maybe AutoscalingEventEventType)
- aeTargetNumWorkers :: Lens' AutoscalingEvent (Maybe Int64)
- aeWorkerPool :: Lens' AutoscalingEvent (Maybe Text)
- aeDescription :: Lens' AutoscalingEvent (Maybe StructuredMessage)
- data SourceSplitRequest
- sourceSplitRequest :: SourceSplitRequest
- ssrSource :: Lens' SourceSplitRequest (Maybe Source)
- ssrOptions :: Lens' SourceSplitRequest (Maybe SourceSplitOptions)
- data ListJobMessagesResponse
- listJobMessagesResponse :: ListJobMessagesResponse
- ljmrJobMessages :: Lens' ListJobMessagesResponse [JobMessage]
- ljmrNextPageToken :: Lens' ListJobMessagesResponse (Maybe Text)
- ljmrAutoscalingEvents :: Lens' ListJobMessagesResponse [AutoscalingEvent]
- data PubsubLocation
- pubsubLocation :: PubsubLocation
- plTrackingSubscription :: Lens' PubsubLocation (Maybe Text)
- plDropLateData :: Lens' PubsubLocation (Maybe Bool)
- plTimestampLabel :: Lens' PubsubLocation (Maybe Text)
- plIdLabel :: Lens' PubsubLocation (Maybe Text)
- plTopic :: Lens' PubsubLocation (Maybe Text)
- plWithAttributes :: Lens' PubsubLocation (Maybe Bool)
- plSubscription :: Lens' PubsubLocation (Maybe Text)
- data FloatingPointList
- floatingPointList :: FloatingPointList
- fplElements :: Lens' FloatingPointList [Double]
- data CounterStructuredNameOrigin
- data InstructionInput
- instructionInput :: InstructionInput
- iiProducerInstructionIndex :: Lens' InstructionInput (Maybe Int32)
- iiOutputNum :: Lens' InstructionInput (Maybe Int32)
- data SeqMapTask
- seqMapTask :: SeqMapTask
- smtInputs :: Lens' SeqMapTask [SideInputInfo]
- smtName :: Lens' SeqMapTask (Maybe Text)
- smtOutputInfos :: Lens' SeqMapTask [SeqMapTaskOutputInfo]
- smtSystemName :: Lens' SeqMapTask (Maybe Text)
- smtStageName :: Lens' SeqMapTask (Maybe Text)
- smtUserFn :: Lens' SeqMapTask (Maybe SeqMapTaskUserFn)
- data StreamingComputationTaskTaskType
- data StreamingConfigTaskUserStepToStateFamilyNameMap
- streamingConfigTaskUserStepToStateFamilyNameMap :: HashMap Text Text -> StreamingConfigTaskUserStepToStateFamilyNameMap
- sctustsfnmAddtional :: Lens' StreamingConfigTaskUserStepToStateFamilyNameMap (HashMap Text Text)
- data ExecutionStageState
- executionStageState :: ExecutionStageState
- essExecutionStageName :: Lens' ExecutionStageState (Maybe Text)
- essCurrentStateTime :: Lens' ExecutionStageState (Maybe UTCTime)
- essExecutionStageState :: Lens' ExecutionStageState (Maybe ExecutionStageStateExecutionStageState)
- data StageSource
- stageSource :: StageSource
- ssSizeBytes :: Lens' StageSource (Maybe Int64)
- ssUserName :: Lens' StageSource (Maybe Text)
- ssName :: Lens' StageSource (Maybe Text)
- ssOriginalTransformOrCollection :: Lens' StageSource (Maybe Text)
- data SourceOperationRequest
- sourceOperationRequest :: SourceOperationRequest
- souSplit :: Lens' SourceOperationRequest (Maybe SourceSplitRequest)
- souGetMetadata :: Lens' SourceOperationRequest (Maybe SourceGetMetadataRequest)
- souName :: Lens' SourceOperationRequest (Maybe Text)
- souSystemName :: Lens' SourceOperationRequest (Maybe Text)
- souStageName :: Lens' SourceOperationRequest (Maybe Text)
- souOriginalName :: Lens' SourceOperationRequest (Maybe Text)
- data SdkVersionSdkSupportStatus
- data SpannerIODetails
- spannerIODetails :: SpannerIODetails
- siodInstanceId :: Lens' SpannerIODetails (Maybe Text)
- siodDatabaseId :: Lens' SpannerIODetails (Maybe Text)
- siodProjectId :: Lens' SpannerIODetails (Maybe Text)
- data LeaseWorkItemResponse
- leaseWorkItemResponse :: LeaseWorkItemResponse
- lwirWorkItems :: Lens' LeaseWorkItemResponse [WorkItem]
- data Position
- position :: Position
- pByteOffSet :: Lens' Position (Maybe Int64)
- pConcatPosition :: Lens' Position (Maybe ConcatPosition)
- pRecordIndex :: Lens' Position (Maybe Int64)
- pShufflePosition :: Lens' Position (Maybe Text)
- pKey :: Lens' Position (Maybe Text)
- pEnd :: Lens' Position (Maybe Bool)
- data Parameter
- parameter :: Parameter
- parValue :: Lens' Parameter (Maybe JSONValue)
- parKey :: Lens' Parameter (Maybe Text)
Service Configuration
dataflowService :: ServiceConfig Source #
Default request referring to version v1b3
of the Dataflow API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
computeScope :: Proxy '["https://www.googleapis.com/auth/compute"] Source #
View and manage your Google Compute Engine resources
userInfoEmailScope :: Proxy '["https://www.googleapis.com/auth/userinfo.email"] Source #
View your email address
cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #
View and manage your data across Google Cloud Platform services
computeReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/compute.readonly"] Source #
View your Google Compute Engine resources
NameAndKindKind
data NameAndKindKind Source #
Counter aggregation kind.
Constructors
Invalid |
|
Sum |
|
Max |
|
Min |
|
Mean |
|
OR |
|
And |
|
Set |
|
Distribution |
|
LatestValue |
|
Instances
JobExecutionInfoStages
data JobExecutionInfoStages Source #
A mapping from each stage to the information about that stage.
See: jobExecutionInfoStages
smart constructor.
Instances
jobExecutionInfoStages Source #
Arguments
:: HashMap Text JobExecutionStageInfo | |
-> JobExecutionInfoStages |
Creates a value of JobExecutionInfoStages
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ComputationTopology
data ComputationTopology Source #
All configuration data for a particular Computation.
See: computationTopology
smart constructor.
Instances
computationTopology :: ComputationTopology Source #
Creates a value of ComputationTopology
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctStateFamilies :: Lens' ComputationTopology [StateFamilyConfig] Source #
The state family values.
ctInputs :: Lens' ComputationTopology [StreamLocation] Source #
The inputs to the computation.
ctKeyRanges :: Lens' ComputationTopology [KeyRangeLocation] Source #
The key ranges processed by the computation.
ctOutputs :: Lens' ComputationTopology [StreamLocation] Source #
The outputs from the computation.
ctComputationId :: Lens' ComputationTopology (Maybe Text) Source #
The ID of the computation.
ctSystemStageName :: Lens' ComputationTopology (Maybe Text) Source #
The system stage name.
SourceSplitResponse
data SourceSplitResponse Source #
The response to a SourceSplitRequest.
See: sourceSplitResponse
smart constructor.
Instances
sourceSplitResponse :: SourceSplitResponse Source #
Creates a value of SourceSplitResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssrBundles :: Lens' SourceSplitResponse [DerivedSource] Source #
If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was split. Otherwise this field is ignored. This list can be empty, which means the source represents an empty input.
ssrShards :: Lens' SourceSplitResponse [SourceSplitShard] Source #
DEPRECATED in favor of bundles.
ssrOutcome :: Lens' SourceSplitResponse (Maybe SourceSplitResponseOutcome) Source #
Indicates whether splitting happened and produced a list of bundles. If this is USE_CURRENT_SOURCE_AS_IS, the current source should be processed "as is" without splitting. "bundles" is ignored in this case. If this is SPLITTING_HAPPENED, then "bundles" contains a list of bundles into which the source was split.
ParameterMetadata
data ParameterMetadata Source #
Metadata for a specific parameter.
See: parameterMetadata
smart constructor.
Instances
parameterMetadata :: ParameterMetadata Source #
Creates a value of ParameterMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pmHelpText :: Lens' ParameterMetadata (Maybe Text) Source #
Required. The help text to display for the parameter.
pmIsOptional :: Lens' ParameterMetadata (Maybe Bool) Source #
Optional. Whether the parameter is optional. Defaults to false.
pmRegexes :: Lens' ParameterMetadata [Text] Source #
Optional. Regexes that the parameter must match.
pmLabel :: Lens' ParameterMetadata (Maybe Text) Source #
Required. The label to display for the parameter.
CreateJobFromTemplateRequest
data CreateJobFromTemplateRequest Source #
A request to create a Cloud Dataflow job from a template.
See: createJobFromTemplateRequest
smart constructor.
Instances
createJobFromTemplateRequest :: CreateJobFromTemplateRequest Source #
Creates a value of CreateJobFromTemplateRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cjftrLocation :: Lens' CreateJobFromTemplateRequest (Maybe Text) Source #
The location to which to direct the request.
cjftrEnvironment :: Lens' CreateJobFromTemplateRequest (Maybe RuntimeEnvironment) Source #
The runtime environment for the job.
cjftrJobName :: Lens' CreateJobFromTemplateRequest (Maybe Text) Source #
Required. The job name to use for the created job.
cjftrGcsPath :: Lens' CreateJobFromTemplateRequest (Maybe Text) Source #
Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
cjftrParameters :: Lens' CreateJobFromTemplateRequest (Maybe CreateJobFromTemplateRequestParameters) Source #
The runtime parameters to pass to the job.
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. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `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 mapping The `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 uses The 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.Dataflow.Types.Product Methods 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.Dataflow.Types.Product | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" 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.
NameAndKind
data NameAndKind Source #
Basic metadata about a counter.
See: nameAndKind
smart constructor.
Instances
nameAndKind :: NameAndKind Source #
Creates a value of NameAndKind
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nakKind :: Lens' NameAndKind (Maybe NameAndKindKind) Source #
Counter aggregation kind.
IntegerList
data IntegerList Source #
A metric value representing a list of integers.
See: integerList
smart constructor.
Instances
integerList :: IntegerList Source #
Creates a value of IntegerList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ilElements :: Lens' IntegerList [SplitInt64] Source #
Elements of the list.
WorkItem
WorkItem represents basic information about a WorkItem to be executed in the cloud.
See: workItem
smart constructor.
Instances
Creates a value of WorkItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wiJobId :: Lens' WorkItem (Maybe Text) Source #
Identifies the workflow job this WorkItem belongs to.
wiReportStatusInterval :: Lens' WorkItem (Maybe Scientific) Source #
Recommended reporting interval.
wiShellTask :: Lens' WorkItem (Maybe ShellTask) Source #
Additional information for ShellTask WorkItems.
wiStreamingSetupTask :: Lens' WorkItem (Maybe StreamingSetupTask) Source #
Additional information for StreamingSetupTask WorkItems.
wiInitialReportIndex :: Lens' WorkItem (Maybe Int64) Source #
The initial index to use when reporting the status of the WorkItem.
wiPackages :: Lens' WorkItem [Package] Source #
Any required packages that need to be fetched in order to execute this WorkItem.
wiStreamingComputationTask :: Lens' WorkItem (Maybe StreamingComputationTask) Source #
Additional information for StreamingComputationTask WorkItems.
wiSourceOperationTask :: Lens' WorkItem (Maybe SourceOperationRequest) Source #
Additional information for source operation WorkItems.
wiProjectId :: Lens' WorkItem (Maybe Text) Source #
Identifies the cloud project this WorkItem belongs to.
wiLeaseExpireTime :: Lens' WorkItem (Maybe UTCTime) Source #
Time when the lease on this Work will expire.
wiConfiguration :: Lens' WorkItem (Maybe Text) Source #
Work item-specific configuration as an opaque blob.
wiStreamingConfigTask :: Lens' WorkItem (Maybe StreamingConfigTask) Source #
Additional information for StreamingConfigTask WorkItems.
wiSeqMapTask :: Lens' WorkItem (Maybe SeqMapTask) Source #
Additional information for SeqMapTask WorkItems.
WorkerHealthReport
data WorkerHealthReport Source #
WorkerHealthReport contains information about the health of a worker. The VM should be identified by the labels attached to the WorkerMessage that this health ping belongs to.
See: workerHealthReport
smart constructor.
Instances
workerHealthReport :: WorkerHealthReport Source #
Creates a value of WorkerHealthReport
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
whrVMIsHealthy :: Lens' WorkerHealthReport (Maybe Bool) Source #
Whether the VM is healthy.
whrReportInterval :: Lens' WorkerHealthReport (Maybe Scientific) Source #
The interval at which the worker is sending health reports. The default value of 0 should be interpreted as the field is not being explicitly set by the worker.
whrPods :: Lens' WorkerHealthReport [WorkerHealthReportPodsItem] Source #
The pods running on the worker. See: http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod This field is used by the worker to send the status of the indvidual containers running on each worker.
whrVMStartupTime :: Lens' WorkerHealthReport (Maybe UTCTime) Source #
The time the VM was booted.
Snapshot
Represents a snapshot of a job.
See: snapshot
smart constructor.
Instances
Creates a value of Snapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sTtl :: Lens' Snapshot (Maybe Scientific) Source #
The time after which this snapshot will be automatically deleted.
SourceSplitOptions
data SourceSplitOptions Source #
Hints for splitting a Source into bundles (parts for parallel processing) using SourceSplitRequest.
See: sourceSplitOptions
smart constructor.
Instances
sourceSplitOptions :: SourceSplitOptions Source #
Creates a value of SourceSplitOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssoDesiredShardSizeBytes :: Lens' SourceSplitOptions (Maybe Int64) Source #
DEPRECATED in favor of desired_bundle_size_bytes.
ssoDesiredBundleSizeBytes :: Lens' SourceSplitOptions (Maybe Int64) Source #
The source should be split into a set of bundles where the estimated size of each is approximately this many bytes.
WorkerPoolMetadata
data WorkerPoolMetadata Source #
Metadata to set on the Google Compute Engine VMs.
See: workerPoolMetadata
smart constructor.
Instances
Arguments
:: HashMap Text Text | |
-> WorkerPoolMetadata |
Creates a value of WorkerPoolMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
AutoscalingSettings
data AutoscalingSettings Source #
Settings for WorkerPool autoscaling.
See: autoscalingSettings
smart constructor.
Instances
autoscalingSettings :: AutoscalingSettings Source #
Creates a value of AutoscalingSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asMaxNumWorkers :: Lens' AutoscalingSettings (Maybe Int32) Source #
The maximum number of workers to cap scaling at.
asAlgorithm :: Lens' AutoscalingSettings (Maybe AutoscalingSettingsAlgorithm) Source #
The algorithm to use for autoscaling.
JobExecutionStageInfo
data JobExecutionStageInfo Source #
Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
See: jobExecutionStageInfo
smart constructor.
Instances
jobExecutionStageInfo :: JobExecutionStageInfo Source #
Creates a value of JobExecutionStageInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jesiStepName :: Lens' JobExecutionStageInfo [Text] Source #
The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
InstructionOutput
data InstructionOutput Source #
An output of an instruction.
See: instructionOutput
smart constructor.
Instances
instructionOutput :: InstructionOutput Source #
Creates a value of InstructionOutput
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ioOnlyCountValueBytes :: Lens' InstructionOutput (Maybe Bool) Source #
For system-generated byte and mean byte metrics, certain instructions should only report the value size.
ioCodec :: Lens' InstructionOutput (Maybe InstructionOutputCodec) Source #
The codec to use to encode data being written via this output.
ioSystemName :: Lens' InstructionOutput (Maybe Text) Source #
System-defined name of this output. Unique across the workflow.
ioOriginalName :: Lens' InstructionOutput (Maybe Text) Source #
System-defined name for this output in the original workflow graph. Outputs that do not contribute to an original instruction do not set this.
ioOnlyCountKeyBytes :: Lens' InstructionOutput (Maybe Bool) Source #
For system-generated byte and mean byte metrics, certain instructions should only report the key size.
IntegerGauge
data IntegerGauge Source #
A metric value representing temporal values of a variable.
See: integerGauge
smart constructor.
Instances
integerGauge :: IntegerGauge Source #
Creates a value of IntegerGauge
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igValue :: Lens' IntegerGauge (Maybe SplitInt64) Source #
The value of the variable represented by this gauge.
igTimestamp :: Lens' IntegerGauge (Maybe UTCTime) Source #
The time at which this value was measured. Measured as msecs from epoch.
LaunchTemplateParameters
data LaunchTemplateParameters Source #
Parameters to provide to the template being launched.
See: launchTemplateParameters
smart constructor.
Instances
launchTemplateParameters :: LaunchTemplateParameters Source #
Creates a value of LaunchTemplateParameters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltpEnvironment :: Lens' LaunchTemplateParameters (Maybe RuntimeEnvironment) Source #
The runtime environment for the job.
ltpJobName :: Lens' LaunchTemplateParameters (Maybe Text) Source #
Required. The job name to use for the created job.
ltpParameters :: Lens' LaunchTemplateParameters (Maybe LaunchTemplateParametersParameters) Source #
The runtime parameters to pass to the job.
ReportWorkItemStatusRequest
data ReportWorkItemStatusRequest Source #
Request to report the status of WorkItems.
See: reportWorkItemStatusRequest
smart constructor.
Instances
reportWorkItemStatusRequest :: ReportWorkItemStatusRequest Source #
Creates a value of ReportWorkItemStatusRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rwisrCurrentWorkerTime :: Lens' ReportWorkItemStatusRequest (Maybe UTCTime) Source #
The current timestamp at the worker.
rwisrLocation :: Lens' ReportWorkItemStatusRequest (Maybe Text) Source #
The location which contains the WorkItem's job.
rwisrWorkItemStatuses :: Lens' ReportWorkItemStatusRequest [WorkItemStatus] Source #
The order is unimportant, except that the order of the WorkItemServiceState messages in the ReportWorkItemStatusResponse corresponds to the order of WorkItemStatus messages here.
rwisrWorkerId :: Lens' ReportWorkItemStatusRequest (Maybe Text) Source #
The ID of the worker reporting the WorkItem status. If this does not match the ID of the worker which the Dataflow service believes currently has the lease on the WorkItem, the report will be dropped (with an error response).
JobType
The type of Cloud Dataflow job.
Constructors
JobTypeUnknown |
|
JobTypeBatch |
|
JobTypeStreaming |
|
Instances
EnvironmentVersion
data EnvironmentVersion Source #
A structure describing which components and their versions of the service are required in order to run the job.
See: environmentVersion
smart constructor.
Instances
Arguments
:: HashMap Text JSONValue | |
-> EnvironmentVersion |
Creates a value of EnvironmentVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
evAddtional :: Lens' EnvironmentVersion (HashMap Text JSONValue) Source #
Properties of the object.
StreamingApplianceSnapshotConfig
data StreamingApplianceSnapshotConfig Source #
Streaming appliance snapshot configuration.
See: streamingApplianceSnapshotConfig
smart constructor.
Instances
streamingApplianceSnapshotConfig :: StreamingApplianceSnapshotConfig Source #
Creates a value of StreamingApplianceSnapshotConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sascImportStateEndpoint :: Lens' StreamingApplianceSnapshotConfig (Maybe Text) Source #
Indicates which endpoint is used to import appliance state.
sascSnapshotId :: Lens' StreamingApplianceSnapshotConfig (Maybe Text) Source #
If set, indicates the snapshot id for the snapshot being performed.
Sink
A sink that records can be encoded and written to.
See: sink
smart constructor.
Instances
Eq Sink Source # | |
Data Sink Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Sink -> c Sink # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Sink # dataTypeOf :: Sink -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Sink) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Sink) # gmapT :: (forall b. Data b => b -> b) -> Sink -> Sink # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Sink -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Sink -> r # gmapQ :: (forall d. Data d => d -> u) -> Sink -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Sink -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Sink -> m Sink # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Sink -> m Sink # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Sink -> m Sink # | |
Show Sink Source # | |
Generic Sink Source # | |
ToJSON Sink Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON Sink Source # | |
type Rep Sink Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep Sink = D1 (MetaData "Sink" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "Sink'" PrefixI True) (S1 (MetaSel (Just "_sCodec") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SinkCodec)) :*: S1 (MetaSel (Just "_sSpec") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SinkSpec)))) |
StringList
data StringList Source #
A metric value representing a list of strings.
See: stringList
smart constructor.
Instances
stringList :: StringList Source #
Creates a value of StringList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
slElements :: Lens' StringList [Text] Source #
Elements of the list.
WorkerHealthReportResponse
data WorkerHealthReportResponse Source #
WorkerHealthReportResponse contains information returned to the worker in response to a health ping.
See: workerHealthReportResponse
smart constructor.
Instances
workerHealthReportResponse :: WorkerHealthReportResponse Source #
Creates a value of WorkerHealthReportResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
whrrReportInterval :: Lens' WorkerHealthReportResponse (Maybe Scientific) Source #
A positive value indicates the worker should change its reporting interval to the specified value. The default value of zero means no change in report rate is requested by the server.
DisplayData
data DisplayData Source #
Data provided with a pipeline or transform to provide descriptive info.
See: displayData
smart constructor.
Instances
displayData :: DisplayData Source #
Creates a value of DisplayData
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddDurationValue :: Lens' DisplayData (Maybe Scientific) Source #
Contains value if the data is of duration type.
ddBoolValue :: Lens' DisplayData (Maybe Bool) Source #
Contains value if the data is of a boolean type.
ddTimestampValue :: Lens' DisplayData (Maybe UTCTime) Source #
Contains value if the data is of timestamp type.
ddNamespace :: Lens' DisplayData (Maybe Text) Source #
The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.
ddJavaClassValue :: Lens' DisplayData (Maybe Text) Source #
Contains value if the data is of java class type.
ddShortStrValue :: Lens' DisplayData (Maybe Text) Source #
A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.
ddKey :: Lens' DisplayData (Maybe Text) Source #
The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.
ddInt64Value :: Lens' DisplayData (Maybe Int64) Source #
Contains value if the data is of int64 type.
ddFloatValue :: Lens' DisplayData (Maybe Double) Source #
Contains value if the data is of float type.
ddStrValue :: Lens' DisplayData (Maybe Text) Source #
Contains value if the data is of string type.
ddLabel :: Lens' DisplayData (Maybe Text) Source #
An optional label to display in a dax UI for the element.
SendDebugCaptureResponse
data SendDebugCaptureResponse Source #
Response to a send capture request. nothing
See: sendDebugCaptureResponse
smart constructor.
Instances
sendDebugCaptureResponse :: SendDebugCaptureResponse Source #
Creates a value of SendDebugCaptureResponse
with the minimum fields required to make a request.
StructuredMessage
data StructuredMessage Source #
A rich message format, including a human readable string, a key for identifying the message, and structured data associated with the message for programmatic consumption.
See: structuredMessage
smart constructor.
Instances
structuredMessage :: StructuredMessage Source #
Creates a value of StructuredMessage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smMessageText :: Lens' StructuredMessage (Maybe Text) Source #
Human-readable version of message.
smMessageKey :: Lens' StructuredMessage (Maybe Text) Source #
Idenfier for this message type. Used by external systems to internationalize or personalize message.
smParameters :: Lens' StructuredMessage [Parameter] Source #
The structured data associated with this message.
JobLabels
User-defined labels for this job. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.
See: jobLabels
smart constructor.
Instances
Eq JobLabels Source # | |
Data JobLabels Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods 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.Dataflow.Types.Product | |
FromJSON JobLabels Source # | |
type Rep JobLabels Source # | |
Defined in Network.Google.Dataflow.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:
MetricStructuredName
data MetricStructuredName Source #
Identifies a metric, by describing the source which generated the metric.
See: metricStructuredName
smart constructor.
Instances
metricStructuredName :: MetricStructuredName Source #
Creates a value of MetricStructuredName
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
msnOrigin :: Lens' MetricStructuredName (Maybe Text) Source #
Origin (namespace) of metric name. May be blank for user-define metrics; will be "dataflow" for metrics defined by the Dataflow service or SDK.
msnContext :: Lens' MetricStructuredName (Maybe MetricStructuredNameContext) Source #
Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection. For example, built-in counters associated with steps will have context['step'] = . Counters associated with PCollections in the SDK will have context['pcollection'] = .
BigQueryIODetails
data BigQueryIODetails Source #
Metadata for a BigQuery connector used by the job.
See: bigQueryIODetails
smart constructor.
Instances
bigQueryIODetails :: BigQueryIODetails Source #
Creates a value of BigQueryIODetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bqiodDataSet :: Lens' BigQueryIODetails (Maybe Text) Source #
Dataset accessed in the connection.
bqiodQuery :: Lens' BigQueryIODetails (Maybe Text) Source #
Query used to access data in the connection.
bqiodProjectId :: Lens' BigQueryIODetails (Maybe Text) Source #
Project accessed in the connection.
bqiodTable :: Lens' BigQueryIODetails (Maybe Text) Source #
Table accessed in the connection.
FileIODetails
data FileIODetails Source #
Metadata for a File connector used by the job.
See: fileIODetails
smart constructor.
Instances
fileIODetails :: FileIODetails Source #
Creates a value of FileIODetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fiodFilePattern :: Lens' FileIODetails (Maybe Text) Source #
File Pattern used to access files by the connector.
WorkerPoolTeardownPolicy
data WorkerPoolTeardownPolicy Source #
Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
Constructors
TeardownPolicyUnknown |
|
TeardownAlways |
|
TeardownOnSuccess |
|
TeardownNever |
|
Instances
CounterStructuredName
data CounterStructuredName Source #
Identifies a counter within a per-job namespace. Counters whose structured names are the same get merged into a single value for the job.
See: counterStructuredName
smart constructor.
Instances
counterStructuredName :: CounterStructuredName Source #
Creates a value of CounterStructuredName
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csnOrigin :: Lens' CounterStructuredName (Maybe CounterStructuredNameOrigin) Source #
One of the standard Origins defined above.
csnOriginNamespace :: Lens' CounterStructuredName (Maybe Text) Source #
A string containing a more specific namespace of the counter's origin.
csnComponentStepName :: Lens' CounterStructuredName (Maybe Text) Source #
Name of the optimized step being executed by the workers.
csnPortion :: Lens' CounterStructuredName (Maybe CounterStructuredNamePortion) Source #
Portion of this counter, either key or value.
csnOriginalStepName :: Lens' CounterStructuredName (Maybe Text) Source #
System generated name of the original step in the user's graph, before optimization.
csnName :: Lens' CounterStructuredName (Maybe Text) Source #
Counter name. Not necessarily globally-unique, but unique within the context of the other fields. Required.
csnExecutionStepName :: Lens' CounterStructuredName (Maybe Text) Source #
Name of the stage. An execution step contains multiple component steps.
csnOriginalRequestingStepName :: Lens' CounterStructuredName (Maybe Text) Source #
The step name requesting an operation, such as GBK. I.e. the ParDo causing a read/write from shuffle to occur, or a read from side inputs.
csnInputIndex :: Lens' CounterStructuredName (Maybe Int32) Source #
Index of an input collection that's being read from/written to as a side input. The index identifies a step's side inputs starting by 1 (e.g. the first side input has input_index 1, the third has input_index 3). Side inputs are identified by a pair of (original_step_name, input_index). This field helps uniquely identify them.
csnWorkerId :: Lens' CounterStructuredName (Maybe Text) Source #
ID of a particular worker.
JobMetadata
data JobMetadata Source #
Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view+.
See: jobMetadata
smart constructor.
Instances
jobMetadata :: JobMetadata Source #
Creates a value of JobMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jmSpannerDetails :: Lens' JobMetadata [SpannerIODetails] Source #
Identification of a Spanner source used in the Dataflow job.
jmBigTableDetails :: Lens' JobMetadata [BigTableIODetails] Source #
Identification of a BigTable source used in the Dataflow job.
jmSdkVersion :: Lens' JobMetadata (Maybe SdkVersion) Source #
The SDK version used to run the job.
jmPubsubDetails :: Lens' JobMetadata [PubSubIODetails] Source #
Identification of a PubSub source used in the Dataflow job.
jmFileDetails :: Lens' JobMetadata [FileIODetails] Source #
Identification of a File source used in the Dataflow job.
jmBigQueryDetails :: Lens' JobMetadata [BigQueryIODetails] Source #
Identification of a BigQuery source used in the Dataflow job.
jmDatastoreDetails :: Lens' JobMetadata [DatastoreIODetails] Source #
Identification of a Datastore source used in the Dataflow job.
GetTemplateResponse
data GetTemplateResponse Source #
The response to a GetTemplate request.
See: getTemplateResponse
smart constructor.
Instances
getTemplateResponse :: GetTemplateResponse Source #
Creates a value of GetTemplateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtrStatus :: Lens' GetTemplateResponse (Maybe Status) Source #
The status of the get template request. Any problems with the request will be indicated in the error_details.
gtrMetadata :: Lens' GetTemplateResponse (Maybe TemplateMetadata) Source #
The template metadata describing the template name, available parameters, etc.
WriteInstruction
data WriteInstruction Source #
An instruction that writes records. Takes one input, produces no outputs.
See: writeInstruction
smart constructor.
Instances
writeInstruction :: WriteInstruction Source #
Creates a value of WriteInstruction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wiInput :: Lens' WriteInstruction (Maybe InstructionInput) Source #
The input.
EnvironmentUserAgent
data EnvironmentUserAgent Source #
A description of the process that generated the request.
See: environmentUserAgent
smart constructor.
Instances
Arguments
:: HashMap Text JSONValue | |
-> EnvironmentUserAgent |
Creates a value of EnvironmentUserAgent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
euaAddtional :: Lens' EnvironmentUserAgent (HashMap Text JSONValue) Source #
Properties of the object.
Disk
Describes the data disk used by a workflow job.
See: disk
smart constructor.
Instances
Eq Disk Source # | |
Data Disk Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Disk -> c Disk # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Disk # dataTypeOf :: Disk -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Disk) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Disk) # gmapT :: (forall b. Data b => b -> b) -> Disk -> Disk # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Disk -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Disk -> r # gmapQ :: (forall d. Data d => d -> u) -> Disk -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Disk -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Disk -> m Disk # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Disk -> m Disk # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Disk -> m Disk # | |
Show Disk Source # | |
Generic Disk Source # | |
ToJSON Disk Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON Disk Source # | |
type Rep Disk Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep Disk = D1 (MetaData "Disk" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "Disk'" PrefixI True) (S1 (MetaSel (Just "_dSizeGb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_dDiskType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dMountPoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Disk
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dSizeGb :: Lens' Disk (Maybe Int32) Source #
Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
dDiskType :: Lens' Disk (Maybe Text) Source #
Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard
MetricUpdate
data MetricUpdate Source #
Describes the state of a metric.
See: metricUpdate
smart constructor.
Instances
metricUpdate :: MetricUpdate Source #
Creates a value of MetricUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
muMeanSum :: Lens' MetricUpdate (Maybe JSONValue) Source #
Worker-computed aggregate value for the "Mean" aggregation kind. This holds the sum of the aggregated values and is used in combination with mean_count below to obtain the actual mean aggregate value. The only possible value types are Long and Double.
muInternal :: Lens' MetricUpdate (Maybe JSONValue) Source #
Worker-computed aggregate value for internal use by the Dataflow service.
muSet :: Lens' MetricUpdate (Maybe JSONValue) Source #
Worker-computed aggregate value for the "Set" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, or String, according to the metric's type. All Values in the list must be of the same type.
muDistribution :: Lens' MetricUpdate (Maybe JSONValue) Source #
A struct value describing properties of a distribution of numeric values.
muCumulative :: Lens' MetricUpdate (Maybe Bool) Source #
True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem.
muKind :: Lens' MetricUpdate (Maybe Text) Source #
Metric aggregation kind. The possible metric aggregation kinds are "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution". The specified aggregation kind is case-insensitive. If omitted, this is not an aggregated value but instead a single metric sample value.
muGauge :: Lens' MetricUpdate (Maybe JSONValue) Source #
A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.
muUpdateTime :: Lens' MetricUpdate (Maybe UTCTime) Source #
Timestamp associated with the metric value. Optional when workers are reporting work progress; it will be filled in responses from the metrics API.
muMeanCount :: Lens' MetricUpdate (Maybe JSONValue) Source #
Worker-computed aggregate value for the "Mean" aggregation kind. This holds the count of the aggregated values and is used in combination with mean_sum above to obtain the actual mean aggregate value. The only possible value type is Long.
muName :: Lens' MetricUpdate (Maybe MetricStructuredName) Source #
Name of the metric.
muScalar :: Lens' MetricUpdate (Maybe JSONValue) Source #
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or". The possible value types are Long, Double, and Boolean.
SourceGetMetadataResponse
data SourceGetMetadataResponse Source #
The result of a SourceGetMetadataOperation.
See: sourceGetMetadataResponse
smart constructor.
Instances
sourceGetMetadataResponse :: SourceGetMetadataResponse Source #
Creates a value of SourceGetMetadataResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sgmrMetadata :: Lens' SourceGetMetadataResponse (Maybe SourceMetadata) Source #
The computed metadata.
TemplateMetadata
data TemplateMetadata Source #
Metadata describing a template.
See: templateMetadata
smart constructor.
Instances
templateMetadata :: TemplateMetadata Source #
Creates a value of TemplateMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tmParameters :: Lens' TemplateMetadata [ParameterMetadata] Source #
The parameters for the template.
tmDescription :: Lens' TemplateMetadata (Maybe Text) Source #
Optional. A description of the template.
Environment
data Environment Source #
Describes the environment in which a Dataflow Job runs.
See: environment
smart constructor.
Instances
environment :: Environment Source #
Creates a value of Environment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eDataSet :: Lens' Environment (Maybe Text) Source #
The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
eExperiments :: Lens' Environment [Text] Source #
The list of experiments to enable.
eWorkerPools :: Lens' Environment [WorkerPool] Source #
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
eClusterManagerAPIService :: Lens' Environment (Maybe Text) Source #
The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
eVersion :: Lens' Environment (Maybe EnvironmentVersion) Source #
A structure describing which components and their versions of the service are required in order to run the job.
eInternalExperiments :: Lens' Environment (Maybe EnvironmentInternalExperiments) Source #
Experimental settings.
eTempStoragePrefix :: Lens' Environment (Maybe Text) Source #
The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
eServiceAccountEmail :: Lens' Environment (Maybe Text) Source #
Identity to run virtual machines as. Defaults to the default account.
eUserAgent :: Lens' Environment (Maybe EnvironmentUserAgent) Source #
A description of the process that generated the request.
eSdkPipelineOptions :: Lens' Environment (Maybe EnvironmentSdkPipelineOptions) Source #
The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
ConcatPosition
data ConcatPosition Source #
A position that encapsulates an inner position and an index for the inner position. A ConcatPosition can be used by a reader of a source that encapsulates a set of other sources.
See: concatPosition
smart constructor.
Instances
concatPosition :: ConcatPosition Source #
Creates a value of ConcatPosition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpPosition :: Lens' ConcatPosition (Maybe Position) Source #
Position within the inner source.
MetricStructuredNameContext
data MetricStructuredNameContext Source #
Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection. For example, built-in counters associated with steps will have context['step'] = . Counters associated with PCollections in the SDK will have context['pcollection'] = .
See: metricStructuredNameContext
smart constructor.
Instances
metricStructuredNameContext Source #
Arguments
:: HashMap Text Text | |
-> MetricStructuredNameContext |
Creates a value of MetricStructuredNameContext
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
CounterUpdate
data CounterUpdate Source #
An update to a Counter sent from a worker.
See: counterUpdate
smart constructor.
Instances
counterUpdate :: CounterUpdate Source #
Creates a value of CounterUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cuNameAndKind :: Lens' CounterUpdate (Maybe NameAndKind) Source #
Counter name and aggregation type.
cuIntegerList :: Lens' CounterUpdate (Maybe IntegerList) Source #
List of integers, for Set.
cuFloatingPoint :: Lens' CounterUpdate (Maybe Double) Source #
Floating point value for Sum, Max, Min.
cuInternal :: Lens' CounterUpdate (Maybe JSONValue) Source #
Value for internally-defined counters used by the Dataflow service.
cuStringList :: Lens' CounterUpdate (Maybe StringList) Source #
List of strings, for Set.
cuShortId :: Lens' CounterUpdate (Maybe Int64) Source #
The service-generated short identifier for this counter. The short_id -> (name, metadata) mapping is constant for the lifetime of a job.
cuIntegerGauge :: Lens' CounterUpdate (Maybe IntegerGauge) Source #
Gauge data
cuDistribution :: Lens' CounterUpdate (Maybe DistributionUpdate) Source #
Distribution data
cuCumulative :: Lens' CounterUpdate (Maybe Bool) Source #
True if this counter is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this counter is reported as a delta.
cuStructuredNameAndMetadata :: Lens' CounterUpdate (Maybe CounterStructuredNameAndMetadata) Source #
Counter structured name and metadata.
cuFloatingPointMean :: Lens' CounterUpdate (Maybe FloatingPointMean) Source #
Floating point mean aggregation value for Mean.
cuIntegerMean :: Lens' CounterUpdate (Maybe IntegerMean) Source #
Integer mean aggregation value for Mean.
cuFloatingPointList :: Lens' CounterUpdate (Maybe FloatingPointList) Source #
List of floating point numbers, for Set.
cuInteger :: Lens' CounterUpdate (Maybe SplitInt64) Source #
Integer value for Sum, Max, Min.
StreamingStageLocation
data StreamingStageLocation Source #
Identifies the location of a streaming computation stage, for stage-to-stage communication.
See: streamingStageLocation
smart constructor.
Instances
streamingStageLocation :: StreamingStageLocation Source #
Creates a value of StreamingStageLocation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sslStreamId :: Lens' StreamingStageLocation (Maybe Text) Source #
Identifies the particular stream within the streaming Dataflow job.
AutoscalingSettingsAlgorithm
data AutoscalingSettingsAlgorithm Source #
The algorithm to use for autoscaling.
Constructors
AutoscalingAlgorithmUnknown |
|
AutoscalingAlgorithmNone |
|
AutoscalingAlgorithmBasic |
|
Instances
DerivedSource
data DerivedSource Source #
Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split.
See: derivedSource
smart constructor.
Instances
derivedSource :: DerivedSource Source #
Creates a value of DerivedSource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsDerivationMode :: Lens' DerivedSource (Maybe DerivedSourceDerivationMode) Source #
What source to base the produced source on (if any).
JobMetrics
data JobMetrics Source #
JobMetrics contains a collection of metrics descibing the detailed progress of a Dataflow job. Metrics correspond to user-defined and system-defined metrics in the job. This resource captures only the most recent values of each metric; time-series data can be queried for them (under the same metric names) from Cloud Monitoring.
See: jobMetrics
smart constructor.
Instances
jobMetrics :: JobMetrics Source #
Creates a value of JobMetrics
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jmMetrics :: Lens' JobMetrics [MetricUpdate] Source #
All metrics for this job.
jmMetricTime :: Lens' JobMetrics (Maybe UTCTime) Source #
Timestamp as of which metric values are current.
TransformSummaryKind
data TransformSummaryKind Source #
Type of transform.
Constructors
UnknownKind |
|
ParDoKind |
|
GroupByKeyKind |
|
FlattenKind |
|
ReadKind |
|
WriteKind |
|
ConstantKind |
|
SingletonKind |
|
ShuffleKind |
|
Instances
SendDebugCaptureRequest
data SendDebugCaptureRequest Source #
Request to send encoded debug information.
See: sendDebugCaptureRequest
smart constructor.
Instances
sendDebugCaptureRequest :: SendDebugCaptureRequest Source #
Creates a value of SendDebugCaptureRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdcrLocation :: Lens' SendDebugCaptureRequest (Maybe Text) Source #
The location which contains the job specified by job_id.
sdcrComponentId :: Lens' SendDebugCaptureRequest (Maybe Text) Source #
The internal component id for which debug information is sent.
sdcrWorkerId :: Lens' SendDebugCaptureRequest (Maybe Text) Source #
The worker id, i.e., VM hostname.
WorkItemStatus
data WorkItemStatus Source #
Conveys a worker's progress through the work described by a WorkItem.
See: workItemStatus
smart constructor.
Instances
workItemStatus :: WorkItemStatus Source #
Creates a value of WorkItemStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wisReportedProgress :: Lens' WorkItemStatus (Maybe ApproximateReportedProgress) Source #
The worker's progress through this WorkItem.
wisProgress :: Lens' WorkItemStatus (Maybe ApproximateProgress) Source #
DEPRECATED in favor of reported_progress.
wisTotalThrottlerWaitTimeSeconds :: Lens' WorkItemStatus (Maybe Double) Source #
Total time the worker spent being throttled by external systems.
wisSourceOperationResponse :: Lens' WorkItemStatus (Maybe SourceOperationResponse) Source #
If the work item represented a SourceOperationRequest, and the work is completed, contains the result of the operation.
wisStopPosition :: Lens' WorkItemStatus (Maybe Position) Source #
A worker may split an active map task in two parts, "primary" and "residual", continuing to process the primary part and returning the residual part into the pool of available work. This event is called a "dynamic split" and is critical to the dynamic work rebalancing feature. The two obtained sub-tasks are called "parts" of the split. The parts, if concatenated, must represent the same input as would be read by the current task if the split did not happen. The exact way in which the original task is decomposed into the two parts is specified either as a position demarcating them (stop_position), or explicitly as two DerivedSources, if this task consumes a user-defined source type (dynamic_source_split). The "current" task is adjusted as a result of the split: after a task with range [A, B) sends a stop_position update at C, its range is considered to be [A, C), e.g.: * Progress should be interpreted relative to the new range, e.g. "75% completed" means "75% of [A, C) completed" * The worker should interpret proposed_stop_position relative to the new range, e.g. "split at 68%" should be interpreted as "split at 68% of [A, C)". * If the worker chooses to split again using stop_position, only stop_positions in [A, C) will be accepted. * Etc. dynamic_source_split has similar semantics: e.g., if a task with source S splits using dynamic_source_split into {P, R} (where P and R must be together equivalent to S), then subsequent progress and proposed_stop_position should be interpreted relative to P, and in a potential subsequent dynamic_source_split into {P', R'}, P' and R' must be together equivalent to P, etc.
wisDynamicSourceSplit :: Lens' WorkItemStatus (Maybe DynamicSourceSplit) Source #
See documentation of stop_position.
wisCompleted :: Lens' WorkItemStatus (Maybe Bool) Source #
True if the WorkItem was completed (successfully or unsuccessfully).
wisSourceFork :: Lens' WorkItemStatus (Maybe SourceFork) Source #
DEPRECATED in favor of dynamic_source_split.
wisReportIndex :: Lens' WorkItemStatus (Maybe Int64) Source #
The report index. When a WorkItem is leased, the lease will contain an initial report index. When a WorkItem's status is reported to the system, the report should be sent with that report index, and the response will contain the index the worker should use for the next report. Reports received with unexpected index values will be rejected by the service. In order to preserve idempotency, the worker should not alter the contents of a report, even if the worker must submit the same report multiple times before getting back a response. The worker should not submit a subsequent report until the response for the previous report had been received from the service.
wisRequestedLeaseDuration :: Lens' WorkItemStatus (Maybe Scientific) Source #
Amount of time the worker requests for its lease.
wisErrors :: Lens' WorkItemStatus [Status] Source #
Specifies errors which occurred during processing. If errors are provided, and completed = true, then the WorkItem is considered to have failed.
wisCounterUpdates :: Lens' WorkItemStatus [CounterUpdate] Source #
Worker output counters for this WorkItem.
wisMetricUpdates :: Lens' WorkItemStatus [MetricUpdate] Source #
DEPRECATED in favor of counter_updates.
wisWorkItemId :: Lens' WorkItemStatus (Maybe Text) Source #
Identifies the WorkItem.
WorkerMessageLabels
data WorkerMessageLabels Source #
Labels are used to group WorkerMessages. For example, a worker_message about a particular container might have the labels: { "JOB_ID": "2015-04-22", "WORKER_ID": "wordcount-vm-2015…" "CONTAINER_TYPE": "worker", "CONTAINER_ID": "ac1234def"} Label tags typically correspond to Label enum values. However, for ease of development other strings can be used as tags. LABEL_UNSPECIFIED should not be used here.
See: workerMessageLabels
smart constructor.
Instances
Arguments
:: HashMap Text Text | |
-> WorkerMessageLabels |
Creates a value of WorkerMessageLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
FlattenInstruction
data FlattenInstruction Source #
An instruction that copies its inputs (zero or more) to its (single) output.
See: flattenInstruction
smart constructor.
Instances
flattenInstruction :: FlattenInstruction Source #
Creates a value of FlattenInstruction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fiInputs :: Lens' FlattenInstruction [InstructionInput] Source #
Describes the inputs to the flatten instruction.
WorkerMessageCode
data WorkerMessageCode Source #
A message code is used to report status and error messages to the service. The message codes are intended to be machine readable. The service will take care of translating these into user understandable messages if necessary. Example use cases: 1. Worker processes reporting successful startup. 2. Worker processes reporting specific errors (e.g. package staging failure).
See: workerMessageCode
smart constructor.
Instances
workerMessageCode :: WorkerMessageCode Source #
Creates a value of WorkerMessageCode
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wmcParameters :: Lens' WorkerMessageCode (Maybe WorkerMessageCodeParameters) Source #
Parameters contains specific information about the code. This is a struct to allow parameters of different types. Examples: 1. For a "HARNESS_STARTED" message parameters might provide the name of the worker and additional data like timing information. 2. For a "GCS_DOWNLOAD_ERROR" parameters might contain fields listing the GCS objects being downloaded and fields containing errors. In general complex data structures should be avoided. If a worker needs to send a specific and complicated data structure then please consider defining a new proto and adding it to the data oneof in WorkerMessageResponse. Conventions: Parameters should only be used for information that isn't typically passed as a label. hostname and other worker identifiers should almost always be passed as labels since they will be included on most messages.
wmcCode :: Lens' WorkerMessageCode (Maybe Text) Source #
The code is a string intended for consumption by a machine that identifies the type of message being sent. Examples: 1. "HARNESS_STARTED" might be used to indicate the worker harness has started. 2. "GCS_DOWNLOAD_ERROR" might be used to indicate an error downloading a GCS file as part of the boot process of one of the worker containers. This is a string and not an enum to make it easy to add new codes without waiting for an API change.
TransformSummary
data TransformSummary Source #
Description of the type, names/ids, and input/outputs for a transform.
See: transformSummary
smart constructor.
Instances
transformSummary :: TransformSummary Source #
Creates a value of TransformSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tsDisplayData :: Lens' TransformSummary [DisplayData] Source #
Transform-specific display data.
tsKind :: Lens' TransformSummary (Maybe TransformSummaryKind) Source #
Type of transform.
tsOutputCollectionName :: Lens' TransformSummary [Text] Source #
User names for all collection outputs to this transform.
tsInputCollectionName :: Lens' TransformSummary [Text] Source #
User names for all collection inputs to this transform.
tsName :: Lens' TransformSummary (Maybe Text) Source #
User provided name for this transform instance.
JobTransformNameMApping
data JobTransformNameMApping Source #
The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
See: jobTransformNameMApping
smart constructor.
Instances
jobTransformNameMApping Source #
Arguments
:: HashMap Text Text | |
-> JobTransformNameMApping |
Creates a value of JobTransformNameMApping
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
SourceSpec
data SourceSpec Source #
The source to read from, plus its parameters.
See: sourceSpec
smart constructor.
Instances
Arguments
:: HashMap Text JSONValue | |
-> SourceSpec |
Creates a value of SourceSpec
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssAddtional :: Lens' SourceSpec (HashMap Text JSONValue) Source #
Properties of the object.
SourceMetadata
data SourceMetadata Source #
Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc.
See: sourceMetadata
smart constructor.
Instances
sourceMetadata :: SourceMetadata Source #
Creates a value of SourceMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smEstimatedSizeBytes :: Lens' SourceMetadata (Maybe Int64) Source #
An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
smProducesSortedKeys :: Lens' SourceMetadata (Maybe Bool) Source #
Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
smInfinite :: Lens' SourceMetadata (Maybe Bool) Source #
Specifies that the size of this source is known to be infinite (this is a streaming source).
EnvironmentInternalExperiments
data EnvironmentInternalExperiments Source #
Experimental settings.
See: environmentInternalExperiments
smart constructor.
Instances
environmentInternalExperiments Source #
Arguments
:: HashMap Text JSONValue | |
-> EnvironmentInternalExperiments |
Creates a value of EnvironmentInternalExperiments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eieAddtional :: Lens' EnvironmentInternalExperiments (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
TaskRunnerSettings
data TaskRunnerSettings Source #
Taskrunner configuration settings.
See: taskRunnerSettings
smart constructor.
Instances
taskRunnerSettings :: TaskRunnerSettings Source #
Creates a value of TaskRunnerSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
trsContinueOnException
trsHarnessCommand
trsWorkflowFileName
trsTaskGroup
trsAlsologtostderr
trsDataflowAPIVersion
trsLogDir
trsCommandlinesFileName
trsVMId
trsBaseURL
trsOAuthScopes
trsTaskUser
trsStreamingWorkerMainClass
trsBaseTaskDir
trsLogUploadLocation
trsTempStoragePrefix
trsLogToSerialconsole
trsParallelWorkerSettings
trsLanguageHint
trsContinueOnException :: Lens' TaskRunnerSettings (Maybe Bool) Source #
Whether to continue taskrunner if an exception is hit.
trsHarnessCommand :: Lens' TaskRunnerSettings (Maybe Text) Source #
The command to launch the worker harness.
trsWorkflowFileName :: Lens' TaskRunnerSettings (Maybe Text) Source #
The file to store the workflow in.
trsTaskGroup :: Lens' TaskRunnerSettings (Maybe Text) Source #
The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
trsAlsologtostderr :: Lens' TaskRunnerSettings (Maybe Bool) Source #
Whether to also send taskrunner log info to stderr.
trsDataflowAPIVersion :: Lens' TaskRunnerSettings (Maybe Text) Source #
The API version of endpoint, e.g. "v1b3"
trsCommandlinesFileName :: Lens' TaskRunnerSettings (Maybe Text) Source #
The file to store preprocessing commands in.
trsBaseURL :: Lens' TaskRunnerSettings (Maybe Text) Source #
The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
trsOAuthScopes :: Lens' TaskRunnerSettings [Text] Source #
The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
trsTaskUser :: Lens' TaskRunnerSettings (Maybe Text) Source #
The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
trsStreamingWorkerMainClass :: Lens' TaskRunnerSettings (Maybe Text) Source #
The streaming worker main class name.
trsBaseTaskDir :: Lens' TaskRunnerSettings (Maybe Text) Source #
The location on the worker for task-specific subdirectories.
trsLogUploadLocation :: Lens' TaskRunnerSettings (Maybe Text) Source #
Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
trsTempStoragePrefix :: Lens' TaskRunnerSettings (Maybe Text) Source #
The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
trsLogToSerialconsole :: Lens' TaskRunnerSettings (Maybe Bool) Source #
Whether to send taskrunner log info to Google Compute Engine VM serial console.
trsParallelWorkerSettings :: Lens' TaskRunnerSettings (Maybe WorkerSettings) Source #
The settings to pass to the parallel worker harness.
trsLanguageHint :: Lens' TaskRunnerSettings (Maybe Text) Source #
The suggested backend language.
StreamingComputationConfig
data StreamingComputationConfig Source #
Configuration information for a single streaming computation.
See: streamingComputationConfig
smart constructor.
Instances
streamingComputationConfig :: StreamingComputationConfig Source #
Creates a value of StreamingComputationConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sccInstructions :: Lens' StreamingComputationConfig [ParallelInstruction] Source #
Instructions that comprise the computation.
sccSystemName :: Lens' StreamingComputationConfig (Maybe Text) Source #
System defined name for this computation.
sccComputationId :: Lens' StreamingComputationConfig (Maybe Text) Source #
Unique identifier for this computation.
sccStageName :: Lens' StreamingComputationConfig (Maybe Text) Source #
Stage name of this computation.
EnvironmentSdkPipelineOptions
data EnvironmentSdkPipelineOptions Source #
The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
See: environmentSdkPipelineOptions
smart constructor.
Instances
environmentSdkPipelineOptions Source #
Arguments
:: HashMap Text JSONValue | |
-> EnvironmentSdkPipelineOptions |
Creates a value of EnvironmentSdkPipelineOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
espoAddtional :: Lens' EnvironmentSdkPipelineOptions (HashMap Text JSONValue) Source #
Properties of the object.
FloatingPointMean
data FloatingPointMean Source #
A representation of a floating point mean metric contribution.
See: floatingPointMean
smart constructor.
Instances
floatingPointMean :: FloatingPointMean Source #
Creates a value of FloatingPointMean
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fpmCount :: Lens' FloatingPointMean (Maybe SplitInt64) Source #
The number of values being aggregated.
CPUTime
Modeled after information exposed by /proc/stat.
See: cpuTime
smart constructor.
Instances
Eq CPUTime Source # | |
Data CPUTime Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CPUTime -> c CPUTime # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CPUTime # toConstr :: CPUTime -> Constr # dataTypeOf :: CPUTime -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CPUTime) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CPUTime) # gmapT :: (forall b. Data b => b -> b) -> CPUTime -> CPUTime # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CPUTime -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CPUTime -> r # gmapQ :: (forall d. Data d => d -> u) -> CPUTime -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CPUTime -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CPUTime -> m CPUTime # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CPUTime -> m CPUTime # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CPUTime -> m CPUTime # | |
Show CPUTime Source # | |
Generic CPUTime Source # | |
ToJSON CPUTime Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON CPUTime Source # | |
type Rep CPUTime Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep CPUTime = D1 (MetaData "CPUTime" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "CPUTime'" PrefixI True) (S1 (MetaSel (Just "_ctTotalMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))) :*: (S1 (MetaSel (Just "_ctRate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_ctTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))) |
Creates a value of CPUTime
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctTotalMs :: Lens' CPUTime (Maybe Word64) Source #
Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.
ctRate :: Lens' CPUTime (Maybe Double) Source #
Average CPU utilization rate (% non-idle cpu / second) since previous sample.
LeaseWorkItemRequest
data LeaseWorkItemRequest Source #
Request to lease WorkItems.
See: leaseWorkItemRequest
smart constructor.
Instances
leaseWorkItemRequest :: LeaseWorkItemRequest Source #
Creates a value of LeaseWorkItemRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lwirWorkItemTypes :: Lens' LeaseWorkItemRequest [Text] Source #
Filter for WorkItem type.
lwirCurrentWorkerTime :: Lens' LeaseWorkItemRequest (Maybe UTCTime) Source #
The current timestamp at the worker.
lwirLocation :: Lens' LeaseWorkItemRequest (Maybe Text) Source #
The location which contains the WorkItem's job.
lwirWorkerCapabilities :: Lens' LeaseWorkItemRequest [Text] Source #
Worker capabilities. WorkItems might be limited to workers with specific capabilities.
lwirRequestedLeaseDuration :: Lens' LeaseWorkItemRequest (Maybe Scientific) Source #
The initial lease period.
lwirWorkerId :: Lens' LeaseWorkItemRequest (Maybe Text) Source #
Identifies the worker leasing work -- typically the ID of the virtual machine running the worker.
SourceOperationResponse
data SourceOperationResponse Source #
The result of a SourceOperationRequest, specified in ReportWorkItemStatusRequest.source_operation when the work item is completed.
See: sourceOperationResponse
smart constructor.
Instances
sourceOperationResponse :: SourceOperationResponse Source #
Creates a value of SourceOperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sorSplit :: Lens' SourceOperationResponse (Maybe SourceSplitResponse) Source #
A response to a request to split a source.
sorGetMetadata :: Lens' SourceOperationResponse (Maybe SourceGetMetadataResponse) Source #
A response to a request to get metadata about a source.
CounterStructuredNamePortion
data CounterStructuredNamePortion Source #
Portion of this counter, either key or value.
Constructors
All |
|
Key |
|
Value |
|
Instances
TopologyConfigUserStageToComputationNameMap
data TopologyConfigUserStageToComputationNameMap Source #
Maps user stage names to stable computation names.
See: topologyConfigUserStageToComputationNameMap
smart constructor.
Instances
topologyConfigUserStageToComputationNameMap Source #
Creates a value of TopologyConfigUserStageToComputationNameMap
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ShellTask
A task which consists of a shell command for the worker to execute.
See: shellTask
smart constructor.
Instances
Eq ShellTask Source # | |
Data ShellTask Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ShellTask -> c ShellTask # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ShellTask # toConstr :: ShellTask -> Constr # dataTypeOf :: ShellTask -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ShellTask) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ShellTask) # gmapT :: (forall b. Data b => b -> b) -> ShellTask -> ShellTask # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ShellTask -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ShellTask -> r # gmapQ :: (forall d. Data d => d -> u) -> ShellTask -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ShellTask -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ShellTask -> m ShellTask # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ShellTask -> m ShellTask # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ShellTask -> m ShellTask # | |
Show ShellTask Source # | |
Generic ShellTask Source # | |
ToJSON ShellTask Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON ShellTask Source # | |
type Rep ShellTask Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep ShellTask = D1 (MetaData "ShellTask" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "ShellTask'" PrefixI True) (S1 (MetaSel (Just "_stCommand") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_stExitCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) |
shellTask :: ShellTask Source #
Creates a value of ShellTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
JobMessageMessageImportance
data JobMessageMessageImportance Source #
Importance level of the message.
Constructors
JobMessageImportanceUnknown |
|
JobMessageDebug |
|
JobMessageDetailed |
|
JobMessageBasic |
|
JobMessageWarning |
|
JobMessageError |
|
Instances
DatastoreIODetails
data DatastoreIODetails Source #
Metadata for a Datastore connector used by the job.
See: datastoreIODetails
smart constructor.
Instances
datastoreIODetails :: DatastoreIODetails Source #
Creates a value of DatastoreIODetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diodNamespace :: Lens' DatastoreIODetails (Maybe Text) Source #
Namespace used in the connection.
diodProjectId :: Lens' DatastoreIODetails (Maybe Text) Source #
ProjectId accessed in the connection.
StatusDetailsItem
data StatusDetailsItem Source #
Instances
Arguments
:: HashMap Text JSONValue | |
-> StatusDetailsItem |
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.
ReportedParallelism
data ReportedParallelism Source #
Represents the level of parallelism in a WorkItem's input, reported by the worker.
See: reportedParallelism
smart constructor.
Instances
reportedParallelism :: ReportedParallelism Source #
Creates a value of ReportedParallelism
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rpValue :: Lens' ReportedParallelism (Maybe Double) Source #
Specifies the level of parallelism in case it is finite.
rpIsInfinite :: Lens' ReportedParallelism (Maybe Bool) Source #
Specifies whether the parallelism is infinite. If true, "value" is ignored. Infinite parallelism means the service will assume that the work item can always be split into more non-empty work items by dynamic splitting. This is a work-around for lack of support for infinity by the current JSON-based Java RPC stack.
StepProperties
data StepProperties Source #
Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
See: stepProperties
smart constructor.
Instances
Arguments
:: HashMap Text JSONValue | |
-> StepProperties |
Creates a value of StepProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spAddtional :: Lens' StepProperties (HashMap Text JSONValue) Source #
Properties of the object.
TopologyConfig
data TopologyConfig Source #
Global topology of the streaming Dataflow job, including all computations and their sharded locations.
See: topologyConfig
smart constructor.
Instances
topologyConfig :: TopologyConfig Source #
Creates a value of TopologyConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tcDataDiskAssignments :: Lens' TopologyConfig [DataDiskAssignment] Source #
The disks assigned to a streaming Dataflow job.
tcPersistentStateVersion :: Lens' TopologyConfig (Maybe Int32) Source #
Version number for persistent state.
tcForwardingKeyBits :: Lens' TopologyConfig (Maybe Int32) Source #
The size (in bits) of keys that will be assigned to source messages.
tcUserStageToComputationNameMap :: Lens' TopologyConfig (Maybe TopologyConfigUserStageToComputationNameMap) Source #
Maps user stage names to stable computation names.
tcComputations :: Lens' TopologyConfig [ComputationTopology] Source #
The computations associated with a streaming Dataflow job.
ApproximateSplitRequest
data ApproximateSplitRequest Source #
A suggestion by the service to the worker to dynamically split the WorkItem.
See: approximateSplitRequest
smart constructor.
Instances
approximateSplitRequest :: ApproximateSplitRequest Source #
Creates a value of ApproximateSplitRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asrFractionConsumed :: Lens' ApproximateSplitRequest (Maybe Double) Source #
A fraction at which to split the work item, from 0.0 (beginning of the input) to 1.0 (end of the input).
asrFractionOfRemainder :: Lens' ApproximateSplitRequest (Maybe Double) Source #
The fraction of the remainder of work to split the work item at, from 0.0 (split at the current position) to 1.0 (end of the input).
asrPosition :: Lens' ApproximateSplitRequest (Maybe Position) Source #
A Position at which to split the work item.
SplitInt64
data SplitInt64 Source #
A representation of an int64, n, that is immune to precision loss when encoded in JSON.
See: splitInt64
smart constructor.
Instances
splitInt64 :: SplitInt64 Source #
Creates a value of SplitInt64
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siHighBits :: Lens' SplitInt64 (Maybe Int32) Source #
The high order bits, including the sign: n >> 32.
WorkerSettings
data WorkerSettings Source #
Provides data to pass through to the worker harness.
See: workerSettings
smart constructor.
Instances
workerSettings :: WorkerSettings Source #
Creates a value of WorkerSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wsServicePath :: Lens' WorkerSettings (Maybe Text) Source #
The Cloud Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
wsBaseURL :: Lens' WorkerSettings (Maybe Text) Source #
The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
wsShuffleServicePath :: Lens' WorkerSettings (Maybe Text) Source #
The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
wsTempStoragePrefix :: Lens' WorkerSettings (Maybe Text) Source #
The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
wsReportingEnabled :: Lens' WorkerSettings (Maybe Bool) Source #
Whether to send work progress updates to the service.
wsWorkerId :: Lens' WorkerSettings (Maybe Text) Source #
The ID of the worker running this pipeline.
GetDebugConfigResponse
data GetDebugConfigResponse Source #
Response to a get debug configuration request.
See: getDebugConfigResponse
smart constructor.
Instances
getDebugConfigResponse :: GetDebugConfigResponse Source #
Creates a value of GetDebugConfigResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdcrConfig :: Lens' GetDebugConfigResponse (Maybe Text) Source #
The encoded debug configuration for the requested component.
SdkVersion
data SdkVersion Source #
The version of the SDK used to run the jobl
See: sdkVersion
smart constructor.
Instances
sdkVersion :: SdkVersion Source #
Creates a value of SdkVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
svSdkSupportStatus :: Lens' SdkVersion (Maybe SdkVersionSdkSupportStatus) Source #
The support status for this SDK version.
svVersionDisplayName :: Lens' SdkVersion (Maybe Text) Source #
A readable string describing the version of the sdk.
WorkItemServiceStateHarnessData
data WorkItemServiceStateHarnessData Source #
Other data returned by the service, specific to the particular worker harness.
See: workItemServiceStateHarnessData
smart constructor.
Instances
workItemServiceStateHarnessData Source #
Arguments
:: HashMap Text JSONValue | |
-> WorkItemServiceStateHarnessData |
Creates a value of WorkItemServiceStateHarnessData
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wisshdAddtional :: Lens' WorkItemServiceStateHarnessData (HashMap Text JSONValue) Source #
Properties of the object.
DataDiskAssignment
data DataDiskAssignment Source #
Data disk assignment for a given VM instance.
See: dataDiskAssignment
smart constructor.
Instances
dataDiskAssignment :: DataDiskAssignment Source #
Creates a value of DataDiskAssignment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddaVMInstance :: Lens' DataDiskAssignment (Maybe Text) Source #
VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
ddaDataDisks :: Lens' DataDiskAssignment [Text] Source #
Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
ResourceUtilizationReport
data ResourceUtilizationReport Source #
Worker metrics exported from workers. This contains resource utilization metrics accumulated from a variety of sources. For more information, see go/df-resource-signals.
See: resourceUtilizationReport
smart constructor.
Instances
resourceUtilizationReport :: ResourceUtilizationReport Source #
Creates a value of ResourceUtilizationReport
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rurCPUTime :: Lens' ResourceUtilizationReport [CPUTime] Source #
CPU utilization samples.
FailedLocation
data FailedLocation Source #
Indicates which location failed to respond to a request for data.
See: failedLocation
smart constructor.
Instances
failedLocation :: FailedLocation Source #
Creates a value of FailedLocation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
SourceSplitResponseOutcome
data SourceSplitResponseOutcome Source #
Indicates whether splitting happened and produced a list of bundles. If this is USE_CURRENT_SOURCE_AS_IS, the current source should be processed "as is" without splitting. "bundles" is ignored in this case. If this is SPLITTING_HAPPENED, then "bundles" contains a list of bundles into which the source was split.
Constructors
SourceSplitOutcomeUnknown |
|
SourceSplitOutcomeUseCurrent |
|
SourceSplitOutcomeSplittingHAppened |
|
Instances
WorkerMessageResponse
data WorkerMessageResponse Source #
A worker_message response allows the server to pass information to the sender.
See: workerMessageResponse
smart constructor.
Instances
workerMessageResponse :: WorkerMessageResponse Source #
Creates a value of WorkerMessageResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wmrWorkerHealthReportResponse :: Lens' WorkerMessageResponse (Maybe WorkerHealthReportResponse) Source #
The service's response to a worker's health report.
wmrWorkerMetricsResponse :: Lens' WorkerMessageResponse (Maybe ResourceUtilizationReportResponse) Source #
Service's response to reporting worker metrics (currently empty).
wmrWorkerShutdownNoticeResponse :: Lens' WorkerMessageResponse (Maybe WorkerShutdownNoticeResponse) Source #
Service's response to shutdown notice (currently empty).
CreateJobFromTemplateRequestParameters
data CreateJobFromTemplateRequestParameters Source #
The runtime parameters to pass to the job.
See: createJobFromTemplateRequestParameters
smart constructor.
Instances
createJobFromTemplateRequestParameters Source #
Arguments
:: HashMap Text Text | |
-> CreateJobFromTemplateRequestParameters |
Creates a value of CreateJobFromTemplateRequestParameters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
BigTableIODetails
data BigTableIODetails Source #
Metadata for a BigTable connector used by the job.
See: bigTableIODetails
smart constructor.
Instances
bigTableIODetails :: BigTableIODetails Source #
Creates a value of BigTableIODetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
btiodInstanceId :: Lens' BigTableIODetails (Maybe Text) Source #
InstanceId accessed in the connection.
btiodProjectId :: Lens' BigTableIODetails (Maybe Text) Source #
ProjectId accessed in the connection.
btiodTableId :: Lens' BigTableIODetails (Maybe Text) Source #
TableId accessed in the connection.
WorkItemServiceState
data WorkItemServiceState Source #
The Dataflow service's idea of the current state of a WorkItem being processed by a worker.
See: workItemServiceState
smart constructor.
Instances
workItemServiceState :: WorkItemServiceState Source #
Creates a value of WorkItemServiceState
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wissNextReportIndex :: Lens' WorkItemServiceState (Maybe Int64) Source #
The index value to use for the next report sent by the worker. Note: If the report call fails for whatever reason, the worker should reuse this index for subsequent report attempts.
wissReportStatusInterval :: Lens' WorkItemServiceState (Maybe Scientific) Source #
New recommended reporting interval.
wissHarnessData :: Lens' WorkItemServiceState (Maybe WorkItemServiceStateHarnessData) Source #
Other data returned by the service, specific to the particular worker harness.
wissSuggestedStopPoint :: Lens' WorkItemServiceState (Maybe ApproximateProgress) Source #
DEPRECATED in favor of split_request.
wissSuggestedStopPosition :: Lens' WorkItemServiceState (Maybe Position) Source #
Obsolete, always empty.
wissLeaseExpireTime :: Lens' WorkItemServiceState (Maybe UTCTime) Source #
Time at which the current lease will expire.
wissSplitRequest :: Lens' WorkItemServiceState (Maybe ApproximateSplitRequest) Source #
The progress point in the WorkItem where the Dataflow service suggests that the worker truncate the task.
wissMetricShortId :: Lens' WorkItemServiceState [MetricShortId] Source #
The short ids that workers should use in subsequent metric updates. Workers should strive to use short ids whenever possible, but it is ok to request the short_id again if a worker lost track of it (e.g. if the worker is recovering from a crash). NOTE: it is possible that the response may have short ids for a subset of the metrics.
LaunchTemplateResponse
data LaunchTemplateResponse Source #
Response to the request to launch a template.
See: launchTemplateResponse
smart constructor.
Instances
launchTemplateResponse :: LaunchTemplateResponse Source #
Creates a value of LaunchTemplateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltrJob :: Lens' LaunchTemplateResponse (Maybe Job) Source #
The job that was launched, if the request was not a dry run and the job was successfully launched.
StreamingSetupTask
data StreamingSetupTask Source #
A task which initializes part of a streaming Dataflow job.
See: streamingSetupTask
smart constructor.
Instances
streamingSetupTask :: StreamingSetupTask Source #
Creates a value of StreamingSetupTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sstStreamingComputationTopology :: Lens' StreamingSetupTask (Maybe TopologyConfig) Source #
The global topology of the streaming Dataflow job.
sstReceiveWorkPort :: Lens' StreamingSetupTask (Maybe Int32) Source #
The TCP port on which the worker should listen for messages from other streaming computation workers.
sstWorkerHarnessPort :: Lens' StreamingSetupTask (Maybe Int32) Source #
The TCP port used by the worker to communicate with the Dataflow worker harness.
sstSnapshotConfig :: Lens' StreamingSetupTask (Maybe StreamingApplianceSnapshotConfig) Source #
Configures streaming appliance snapshot.
PartialGroupByKeyInstructionInputElementCodec
data PartialGroupByKeyInstructionInputElementCodec Source #
The codec to use for interpreting an element in the input PTable.
See: partialGroupByKeyInstructionInputElementCodec
smart constructor.
Instances
partialGroupByKeyInstructionInputElementCodec Source #
Creates a value of PartialGroupByKeyInstructionInputElementCodec
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pgbkiiecAddtional :: Lens' PartialGroupByKeyInstructionInputElementCodec (HashMap Text JSONValue) Source #
Properties of the object.
MapTask
MapTask consists of an ordered set of instructions, each of which describes one particular low-level operation for the worker to perform in order to accomplish the MapTask's WorkItem. Each instruction must appear in the list before any instructions which depends on its output.
See: mapTask
smart constructor.
Instances
Eq MapTask Source # | |
Data MapTask Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MapTask -> c MapTask # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MapTask # toConstr :: MapTask -> Constr # dataTypeOf :: MapTask -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MapTask) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MapTask) # gmapT :: (forall b. Data b => b -> b) -> MapTask -> MapTask # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MapTask -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MapTask -> r # gmapQ :: (forall d. Data d => d -> u) -> MapTask -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> MapTask -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MapTask -> m MapTask # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MapTask -> m MapTask # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MapTask -> m MapTask # | |
Show MapTask Source # | |
Generic MapTask Source # | |
ToJSON MapTask Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON MapTask Source # | |
type Rep MapTask Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep MapTask = D1 (MetaData "MapTask" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "MapTask'" PrefixI True) ((S1 (MetaSel (Just "_mtInstructions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ParallelInstruction])) :*: S1 (MetaSel (Just "_mtCounterPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_mtSystemName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mtStageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of MapTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mtInstructions :: Lens' MapTask [ParallelInstruction] Source #
The instructions in the MapTask.
mtCounterPrefix :: Lens' MapTask (Maybe Text) Source #
Counter prefix that can be used to prefix counters. Not currently used in Dataflow.
mtSystemName :: Lens' MapTask (Maybe Text) Source #
System-defined name of this MapTask. Unique across the workflow.
mtStageName :: Lens' MapTask (Maybe Text) Source #
System-defined name of the stage containing this MapTask. Unique across the workflow.
MountedDataDisk
data MountedDataDisk Source #
Describes mounted data disk.
See: mountedDataDisk
smart constructor.
Instances
mountedDataDisk :: MountedDataDisk Source #
Creates a value of MountedDataDisk
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mddDataDisk :: Lens' MountedDataDisk (Maybe Text) Source #
The name of the data disk. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
SinkCodec
The codec to use to encode data written to the sink.
See: sinkCodec
smart constructor.
Instances
Eq SinkCodec Source # | |
Data SinkCodec Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SinkCodec -> c SinkCodec # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SinkCodec # toConstr :: SinkCodec -> Constr # dataTypeOf :: SinkCodec -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SinkCodec) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SinkCodec) # gmapT :: (forall b. Data b => b -> b) -> SinkCodec -> SinkCodec # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SinkCodec -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SinkCodec -> r # gmapQ :: (forall d. Data d => d -> u) -> SinkCodec -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> SinkCodec -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SinkCodec -> m SinkCodec # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SinkCodec -> m SinkCodec # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SinkCodec -> m SinkCodec # | |
Show SinkCodec Source # | |
Generic SinkCodec Source # | |
ToJSON SinkCodec Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON SinkCodec Source # | |
type Rep SinkCodec Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep SinkCodec = D1 (MetaData "SinkCodec" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" True) (C1 (MetaCons "SinkCodec'" PrefixI True) (S1 (MetaSel (Just "_scAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue)))) |
Creates a value of SinkCodec
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
SourceSplitShardDerivationMode
data SourceSplitShardDerivationMode Source #
DEPRECATED
Constructors
SourceDerivationModeUnknown |
|
SourceDerivationModeIndependent |
|
SourceDerivationModeChildOfCurrent |
|
SourceDerivationModeSiblingOfCurrent |
|
Instances
WorkerPoolDefaultPackageSet
data WorkerPoolDefaultPackageSet Source #
The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
Constructors
DefaultPackageSetUnknown |
|
DefaultPackageSetNone |
|
DefaultPackageSetJava |
|
DefaultPackageSetPython |
|
Instances
IntegerMean
data IntegerMean Source #
A representation of an integer mean metric contribution.
See: integerMean
smart constructor.
Instances
integerMean :: IntegerMean Source #
Creates a value of IntegerMean
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
imCount :: Lens' IntegerMean (Maybe SplitInt64) Source #
The number of values being aggregated.
imSum :: Lens' IntegerMean (Maybe SplitInt64) Source #
The sum of all values being aggregated.
CounterMetadataKind
data CounterMetadataKind Source #
Counter aggregation kind.
Constructors
CMKInvalid |
|
CMKSum |
|
CMKMax |
|
CMKMin |
|
CMKMean |
|
CMKOR |
|
CMKAnd |
|
CMKSet |
|
CMKDistribution |
|
CMKLatestValue |
|
Instances
WorkerHealthReportPodsItem
data WorkerHealthReportPodsItem Source #
Instances
workerHealthReportPodsItem Source #
Arguments
:: HashMap Text JSONValue | |
-> WorkerHealthReportPodsItem |
Creates a value of WorkerHealthReportPodsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
whrpiAddtional :: Lens' WorkerHealthReportPodsItem (HashMap Text JSONValue) Source #
Properties of the object.
ParDoInstructionUserFn
data ParDoInstructionUserFn Source #
The user function to invoke.
See: parDoInstructionUserFn
smart constructor.
Instances
parDoInstructionUserFn Source #
Arguments
:: HashMap Text JSONValue | |
-> ParDoInstructionUserFn |
Creates a value of ParDoInstructionUserFn
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pdiufAddtional :: Lens' ParDoInstructionUserFn (HashMap Text JSONValue) Source #
Properties of the object.
InstructionOutputCodec
data InstructionOutputCodec Source #
The codec to use to encode data being written via this output.
See: instructionOutputCodec
smart constructor.
Instances
instructionOutputCodec Source #
Arguments
:: HashMap Text JSONValue | |
-> InstructionOutputCodec |
Creates a value of InstructionOutputCodec
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iocAddtional :: Lens' InstructionOutputCodec (HashMap Text JSONValue) Source #
Properties of the object.
StreamLocation
data StreamLocation Source #
Describes a stream of data, either as input to be processed or as output of a streaming Dataflow job.
See: streamLocation
smart constructor.
Instances
streamLocation :: StreamLocation Source #
Creates a value of StreamLocation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
slStreamingStageLocation :: Lens' StreamLocation (Maybe StreamingStageLocation) Source #
The stream is part of another computation within the current streaming Dataflow job.
slSideInputLocation :: Lens' StreamLocation (Maybe StreamingSideInputLocation) Source #
The stream is a streaming side input.
slCustomSourceLocation :: Lens' StreamLocation (Maybe CustomSourceLocation) Source #
The stream is a custom source.
slPubsubLocation :: Lens' StreamLocation (Maybe PubsubLocation) Source #
The stream is a pubsub stream.
WorkerLifecycleEventMetadata
data WorkerLifecycleEventMetadata Source #
Other stats that can accompany an event. E.g. { "downloaded_bytes" : "123456" }
See: workerLifecycleEventMetadata
smart constructor.
Instances
workerLifecycleEventMetadata Source #
Arguments
:: HashMap Text Text | |
-> WorkerLifecycleEventMetadata |
Creates a value of WorkerLifecycleEventMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
WorkerPoolPoolArgs
data WorkerPoolPoolArgs Source #
Extra arguments for this worker pool.
See: workerPoolPoolArgs
smart constructor.
Instances
Arguments
:: HashMap Text JSONValue | |
-> WorkerPoolPoolArgs |
Creates a value of WorkerPoolPoolArgs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wppaAddtional :: Lens' WorkerPoolPoolArgs (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
RuntimeEnvironment
data RuntimeEnvironment Source #
The environment values to set at runtime.
See: runtimeEnvironment
smart constructor.
Instances
runtimeEnvironment :: RuntimeEnvironment Source #
Creates a value of RuntimeEnvironment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
reNumWorkers :: Lens' RuntimeEnvironment (Maybe Int32) Source #
The initial number of Google Compute Engine instnaces for the job.
reNetwork :: Lens' RuntimeEnvironment (Maybe Text) Source #
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
reZone :: Lens' RuntimeEnvironment (Maybe Text) Source #
The Compute Engine availability zone for launching worker instances to run your pipeline.
reBypassTempDirValidation :: Lens' RuntimeEnvironment (Maybe Bool) Source #
Whether to bypass the safety checks for the job's temporary directory. Use with caution.
reSubnetwork :: Lens' RuntimeEnvironment (Maybe Text) Source #
Subnetwork to which VMs will be assigned, if desired. Expected to be of the form "regions/REGION/subnetworks/SUBNETWORK".
reMachineType :: Lens' RuntimeEnvironment (Maybe Text) Source #
The machine type to use for the job. Defaults to the value from the template if not specified.
reAdditionalUserLabels :: Lens' RuntimeEnvironment (Maybe RuntimeEnvironmentAdditionalUserLabels) Source #
Additional user labels attached to the job.
reServiceAccountEmail :: Lens' RuntimeEnvironment (Maybe Text) Source #
The email address of the service account to run the job as.
reAdditionalExperiments :: Lens' RuntimeEnvironment [Text] Source #
Additional experiment flags for the job.
reMaxWorkers :: Lens' RuntimeEnvironment (Maybe Int32) Source #
The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.
reTempLocation :: Lens' RuntimeEnvironment (Maybe Text) Source #
The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.
CounterMetadata
data CounterMetadata Source #
CounterMetadata includes all static non-name non-value counter attributes.
See: counterMetadata
smart constructor.
Instances
counterMetadata :: CounterMetadata Source #
Creates a value of CounterMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cmKind :: Lens' CounterMetadata (Maybe CounterMetadataKind) Source #
Counter aggregation kind.
cmDescription :: Lens' CounterMetadata (Maybe Text) Source #
Human-readable description of the counter semantics.
cmStandardUnits :: Lens' CounterMetadata (Maybe CounterMetadataStandardUnits) Source #
System defined Units, see above enum.
cmOtherUnits :: Lens' CounterMetadata (Maybe Text) Source #
A string referring to the unit type.
SendWorkerMessagesResponse
data SendWorkerMessagesResponse Source #
The response to the worker messages.
See: sendWorkerMessagesResponse
smart constructor.
Instances
sendWorkerMessagesResponse :: SendWorkerMessagesResponse Source #
Creates a value of SendWorkerMessagesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
swmrWorkerMessageResponses :: Lens' SendWorkerMessagesResponse [WorkerMessageResponse] Source #
The servers response to the worker messages.
JobCurrentState
data JobCurrentState Source #
The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
Constructors
JobStateUnknown |
|
JobStateStopped |
|
JobStateRunning |
|
JobStateDone |
|
JobStateFailed |
|
JobStateCancelled |
|
JobStateUpdated |
|
JobStateDraining |
|
JobStateDrained |
|
JobStatePending |
|
JobStateCancelling |
|
JobStateQueued |
|
Instances
StreamingSideInputLocation
data StreamingSideInputLocation Source #
Identifies the location of a streaming side input.
See: streamingSideInputLocation
smart constructor.
Instances
streamingSideInputLocation :: StreamingSideInputLocation Source #
Creates a value of StreamingSideInputLocation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssilTag :: Lens' StreamingSideInputLocation (Maybe Text) Source #
Identifies the particular side input within the streaming Dataflow job.
ssilStateFamily :: Lens' StreamingSideInputLocation (Maybe Text) Source #
Identifies the state family where this side input is stored.
GetDebugConfigRequest
data GetDebugConfigRequest Source #
Request to get updated debug configuration for component.
See: getDebugConfigRequest
smart constructor.
Instances
getDebugConfigRequest :: GetDebugConfigRequest Source #
Creates a value of GetDebugConfigRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdcrLocation :: Lens' GetDebugConfigRequest (Maybe Text) Source #
The location which contains the job specified by job_id.
gdcrComponentId :: Lens' GetDebugConfigRequest (Maybe Text) Source #
The internal component id for which debug configuration is requested.
gdcrWorkerId :: Lens' GetDebugConfigRequest (Maybe Text) Source #
The worker id, i.e., VM hostname.
CounterStructuredNameAndMetadata
data CounterStructuredNameAndMetadata Source #
A single message which encapsulates structured name and metadata for a given counter.
See: counterStructuredNameAndMetadata
smart constructor.
Instances
counterStructuredNameAndMetadata :: CounterStructuredNameAndMetadata Source #
Creates a value of CounterStructuredNameAndMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csnamName :: Lens' CounterStructuredNameAndMetadata (Maybe CounterStructuredName) Source #
Structured name of the counter.
csnamMetadata :: Lens' CounterStructuredNameAndMetadata (Maybe CounterMetadata) Source #
Metadata associated with a counter
WorkerShutdownNotice
data WorkerShutdownNotice Source #
Shutdown notification from workers. This is to be sent by the shutdown script of the worker VM so that the backend knows that the VM is being shut down.
See: workerShutdownNotice
smart constructor.
Instances
workerShutdownNotice :: WorkerShutdownNotice Source #
Creates a value of WorkerShutdownNotice
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wsnReason :: Lens' WorkerShutdownNotice (Maybe Text) Source #
The reason for the worker shutdown. Current possible values are: "UNKNOWN": shutdown reason is unknown. "PREEMPTION": shutdown reason is preemption. Other possible reasons may be added in the future.
StreamingComputationTask
data StreamingComputationTask Source #
A task which describes what action should be performed for the specified streaming computation ranges.
See: streamingComputationTask
smart constructor.
Instances
streamingComputationTask :: StreamingComputationTask Source #
Creates a value of StreamingComputationTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sctTaskType :: Lens' StreamingComputationTask (Maybe StreamingComputationTaskTaskType) Source #
A type of streaming computation task.
sctDataDisks :: Lens' StreamingComputationTask [MountedDataDisk] Source #
Describes the set of data disks this task should apply to.
sctComputationRanges :: Lens' StreamingComputationTask [StreamingComputationRanges] Source #
Contains ranges of a streaming computation this task should apply to.
PipelineDescription
data PipelineDescription Source #
A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpretting Dataflow provided metrics.
See: pipelineDescription
smart constructor.
Instances
pipelineDescription :: PipelineDescription Source #
Creates a value of PipelineDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pdExecutionPipelineStage :: Lens' PipelineDescription [ExecutionStageSummary] Source #
Description of each stage of execution of the pipeline.
pdDisplayData :: Lens' PipelineDescription [DisplayData] Source #
Pipeline level display data.
pdOriginalPipelineTransform :: Lens' PipelineDescription [TransformSummary] Source #
Description of each transform in the pipeline and collections between them.
JobMessage
data JobMessage Source #
A particular message pertaining to a Dataflow job.
See: jobMessage
smart constructor.
Instances
jobMessage :: JobMessage Source #
Creates a value of JobMessage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jmMessageText :: Lens' JobMessage (Maybe Text) Source #
The text of the message.
jmMessageImportance :: Lens' JobMessage (Maybe JobMessageMessageImportance) Source #
Importance level of the message.
WorkerLifecycleEvent
data WorkerLifecycleEvent Source #
A report of an event in a worker's lifecycle. The proto contains one event, because the worker is expected to asynchronously send each message immediately after the event. Due to this asynchrony, messages may arrive out of order (or missing), and it is up to the consumer to interpret. The timestamp of the event is in the enclosing WorkerMessage proto.
See: workerLifecycleEvent
smart constructor.
Instances
workerLifecycleEvent :: WorkerLifecycleEvent Source #
Creates a value of WorkerLifecycleEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wleEvent :: Lens' WorkerLifecycleEvent (Maybe WorkerLifecycleEventEvent) Source #
The event being reported.
wleContainerStartTime :: Lens' WorkerLifecycleEvent (Maybe UTCTime) Source #
The start time of this container. All events will report this so that events can be grouped together across container/VM restarts.
wleMetadata :: Lens' WorkerLifecycleEvent (Maybe WorkerLifecycleEventMetadata) Source #
Other stats that can accompany an event. E.g. { "downloaded_bytes" : "123456" }
RuntimeEnvironmentAdditionalUserLabels
data RuntimeEnvironmentAdditionalUserLabels Source #
Additional user labels attached to the job.
See: runtimeEnvironmentAdditionalUserLabels
smart constructor.
Instances
runtimeEnvironmentAdditionalUserLabels Source #
Arguments
:: HashMap Text Text | |
-> RuntimeEnvironmentAdditionalUserLabels |
Creates a value of RuntimeEnvironmentAdditionalUserLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
CounterMetadataStandardUnits
data CounterMetadataStandardUnits Source #
System defined Units, see above enum.
Constructors
Bytes |
|
BytesPerSec |
|
Milliseconds |
|
Microseconds |
|
Nanoseconds |
|
TimestampMsec |
|
TimestampUsec |
|
TimestampNsec |
|
Instances
SeqMapTaskOutputInfo
data SeqMapTaskOutputInfo Source #
Information about an output of a SeqMapTask.
See: seqMapTaskOutputInfo
smart constructor.
Instances
seqMapTaskOutputInfo :: SeqMapTaskOutputInfo Source #
Creates a value of SeqMapTaskOutputInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smtoiTag :: Lens' SeqMapTaskOutputInfo (Maybe Text) Source #
The id of the TupleTag the user code will tag the output value by.
PubSubIODetails
data PubSubIODetails Source #
Metadata for a PubSub connector used by the job.
See: pubSubIODetails
smart constructor.
Instances
pubSubIODetails :: PubSubIODetails Source #
Creates a value of PubSubIODetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
psiodTopic :: Lens' PubSubIODetails (Maybe Text) Source #
Topic accessed in the connection.
psiodSubscription :: Lens' PubSubIODetails (Maybe Text) Source #
Subscription used in the connection.
SourceGetMetadataRequest
data SourceGetMetadataRequest Source #
A request to compute the SourceMetadata of a Source.
See: sourceGetMetadataRequest
smart constructor.
Instances
sourceGetMetadataRequest :: SourceGetMetadataRequest Source #
Creates a value of SourceGetMetadataRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sgmrSource :: Lens' SourceGetMetadataRequest (Maybe Source) Source #
Specification of the source whose metadata should be computed.
WorkerShutdownNoticeResponse
data WorkerShutdownNoticeResponse Source #
Service-side response to WorkerMessage issuing shutdown notice.
See: workerShutdownNoticeResponse
smart constructor.
Instances
workerShutdownNoticeResponse :: WorkerShutdownNoticeResponse Source #
Creates a value of WorkerShutdownNoticeResponse
with the minimum fields required to make a request.
SeqMapTaskUserFn
data SeqMapTaskUserFn Source #
The user function to invoke.
See: seqMapTaskUserFn
smart constructor.
Instances
Arguments
:: HashMap Text JSONValue | |
-> SeqMapTaskUserFn |
Creates a value of SeqMapTaskUserFn
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smtufAddtional :: Lens' SeqMapTaskUserFn (HashMap Text JSONValue) Source #
Properties of the object.
PartialGroupByKeyInstructionValueCombiningFn
data PartialGroupByKeyInstructionValueCombiningFn Source #
The value combining function to invoke.
See: partialGroupByKeyInstructionValueCombiningFn
smart constructor.
Instances
partialGroupByKeyInstructionValueCombiningFn Source #
Creates a value of PartialGroupByKeyInstructionValueCombiningFn
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pgbkivcfAddtional :: Lens' PartialGroupByKeyInstructionValueCombiningFn (HashMap Text JSONValue) Source #
Properties of the object.
Job
Defines a job to be run by the Cloud Dataflow service.
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:
jCreatedFromSnapshotId :: Lens' Job (Maybe Text) Source #
If this is specified, the job's initial state is populated from the given snapshot.
jRequestedState :: Lens' Job (Maybe JobRequestedState) Source #
The job's requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job's requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
jJobMetadata :: Lens' Job (Maybe JobMetadata) Source #
This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
jStartTime :: Lens' Job (Maybe UTCTime) Source #
The timestamp when the job was started (transitioned to JOB_STATE_PENDING). Flexible resource scheduling jobs are started with some delay after job creation, so start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
jEnvironment :: Lens' Job (Maybe Environment) Source #
The environment for the job.
jClientRequestId :: Lens' Job (Maybe Text) Source #
The client's unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client's ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
jStageStates :: Lens' Job [ExecutionStageState] Source #
This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
jCurrentState :: Lens' Job (Maybe JobCurrentState) Source #
The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
jReplacedByJobId :: Lens' Job (Maybe Text) Source #
If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
jTempFiles :: Lens' Job [Text] Source #
A set of files the system should be aware of that are used for temporary storage. These temporary files will be removed on job completion. No duplicates are allowed. No file patterns are supported. The supported files are: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
jSteps :: Lens' Job [Step] Source #
Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job.
jPipelineDescription :: Lens' Job (Maybe PipelineDescription) Source #
Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
jExecutionInfo :: Lens' Job (Maybe JobExecutionInfo) Source #
Deprecated.
jName :: Lens' Job (Maybe Text) Source #
The user-specified Cloud Dataflow job name. Only one Job with a given name may exist in a project at any given time. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt returns the existing Job. The name must match the regular expression `[a-z]([-a-z0-9]{0,38}[a-z0-9])?`
jTransformNameMApping :: Lens' Job (Maybe JobTransformNameMApping) Source #
The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
jId :: Lens' Job (Maybe Text) Source #
The unique ID of this job. This field is set by the Cloud Dataflow service when the Job is created, and is immutable for the life of the job.
jLabels :: Lens' Job (Maybe JobLabels) Source #
User-defined labels for this job. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.
jProjectId :: Lens' Job (Maybe Text) Source #
The ID of the Cloud Platform project that the job belongs to.
jCurrentStateTime :: Lens' Job (Maybe UTCTime) Source #
The timestamp associated with the current state.
jReplaceJobId :: Lens' Job (Maybe Text) Source #
If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
jCreateTime :: Lens' Job (Maybe UTCTime) Source #
The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
AutoscalingEventEventType
data AutoscalingEventEventType Source #
The type of autoscaling event to report.
Constructors
TypeUnknown |
|
TargetNumWorkersChanged |
|
CurrentNumWorkersChanged |
|
ActuationFailure |
|
NoChange |
|
Instances
ReadInstruction
data ReadInstruction Source #
An instruction that reads records. Takes no inputs, produces one output.
See: readInstruction
smart constructor.
Instances
readInstruction :: ReadInstruction Source #
Creates a value of ReadInstruction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ApproximateReportedProgress
data ApproximateReportedProgress Source #
A progress measurement of a WorkItem by a worker.
See: approximateReportedProgress
smart constructor.
Instances
approximateReportedProgress :: ApproximateReportedProgress Source #
Creates a value of ApproximateReportedProgress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arpFractionConsumed :: Lens' ApproximateReportedProgress (Maybe Double) Source #
Completion as fraction of the input consumed, from 0.0 (beginning, nothing consumed), to 1.0 (end of the input, entire input consumed).
arpConsumedParallelism :: Lens' ApproximateReportedProgress (Maybe ReportedParallelism) Source #
Total amount of parallelism in the portion of input of this task that has already been consumed and is no longer active. In the first two examples above (see remaining_parallelism), the value should be 29 or 2 respectively. The sum of remaining_parallelism and consumed_parallelism should equal the total amount of parallelism in this work item. If specified, must be finite.
arpRemainingParallelism :: Lens' ApproximateReportedProgress (Maybe ReportedParallelism) Source #
Total amount of parallelism in the input of this task that remains, (i.e. can be delegated to this task and any new tasks via dynamic splitting). Always at least 1 for non-finished work items and 0 for finished. "Amount of parallelism" refers to how many non-empty parts of the input can be read in parallel. This does not necessarily equal number of records. An input that can be read in parallel down to the individual records is called "perfectly splittable". An example of non-perfectly parallelizable input is a block-compressed file format where a block of records has to be read as a whole, but different blocks can be read in parallel. Examples: * If we are processing record #30 (starting at 1) out of 50 in a perfectly splittable 50-record input, this value should be 21 (20 remaining + 1 current). * If we are reading through block 3 in a block-compressed file consisting of 5 blocks, this value should be 3 (since blocks 4 and 5 can be processed in parallel by new tasks via dynamic splitting and the current task remains processing block 3). * If we are reading through the last block in a block-compressed file, or reading or processing the last record in a perfectly splittable input, this value should be 1, because apart from the current task, no additional remainder can be split off.
arpPosition :: Lens' ApproximateReportedProgress (Maybe Position) Source #
A Position within the work to represent a progress.
DerivedSourceDerivationMode
data DerivedSourceDerivationMode Source #
What source to base the produced source on (if any).
Constructors
DSDMSourceDerivationModeUnknown |
|
DSDMSourceDerivationModeIndependent |
|
DSDMSourceDerivationModeChildOfCurrent |
|
DSDMSourceDerivationModeSiblingOfCurrent |
|
Instances
SinkSpec
The sink to write to, plus its parameters.
See: sinkSpec
smart constructor.
Instances
Eq SinkSpec Source # | |
Data SinkSpec Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SinkSpec -> c SinkSpec # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SinkSpec # toConstr :: SinkSpec -> Constr # dataTypeOf :: SinkSpec -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SinkSpec) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SinkSpec) # gmapT :: (forall b. Data b => b -> b) -> SinkSpec -> SinkSpec # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SinkSpec -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SinkSpec -> r # gmapQ :: (forall d. Data d => d -> u) -> SinkSpec -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> SinkSpec -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SinkSpec -> m SinkSpec # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SinkSpec -> m SinkSpec # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SinkSpec -> m SinkSpec # | |
Show SinkSpec Source # | |
Generic SinkSpec Source # | |
ToJSON SinkSpec Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON SinkSpec Source # | |
type Rep SinkSpec Source # | |
Defined in Network.Google.Dataflow.Types.Product |
Creates a value of SinkSpec
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
WorkerPool
data WorkerPool Source #
Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
See: workerPool
smart constructor.
Instances
workerPool :: WorkerPool Source #
Creates a value of WorkerPool
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wpAutoscalingSettings
wpNumThreadsPerWorker
wpDiskSizeGb
wpKind
wpTaskrunnerSettings
wpNumWorkers
wpNetwork
wpZone
wpIPConfiguration
wpPackages
wpOnHostMaintenance
wpDiskSourceImage
wpSubnetwork
wpMachineType
wpMetadata
wpDiskType
wpTeardownPolicy
wpDefaultPackageSet
wpPoolArgs
wpWorkerHarnessContainerImage
wpDataDisks
wpAutoscalingSettings :: Lens' WorkerPool (Maybe AutoscalingSettings) Source #
Settings for autoscaling of this WorkerPool.
wpNumThreadsPerWorker :: Lens' WorkerPool (Maybe Int32) Source #
The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).
wpDiskSizeGb :: Lens' WorkerPool (Maybe Int32) Source #
Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
wpKind :: Lens' WorkerPool (Maybe Text) Source #
The kind of the worker pool; currently only `harness` and `shuffle` are supported.
wpTaskrunnerSettings :: Lens' WorkerPool (Maybe TaskRunnerSettings) Source #
Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
wpNumWorkers :: Lens' WorkerPool (Maybe Int32) Source #
Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
wpNetwork :: Lens' WorkerPool (Maybe Text) Source #
Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
wpZone :: Lens' WorkerPool (Maybe Text) Source #
Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default.
wpIPConfiguration :: Lens' WorkerPool (Maybe WorkerPoolIPConfiguration) Source #
Configuration for VM IPs.
wpPackages :: Lens' WorkerPool [Package] Source #
Packages to be installed on workers.
wpOnHostMaintenance :: Lens' WorkerPool (Maybe Text) Source #
The action to take on host maintenance, as defined by the Google Compute Engine API.
wpDiskSourceImage :: Lens' WorkerPool (Maybe Text) Source #
Fully qualified source image for disks.
wpSubnetwork :: Lens' WorkerPool (Maybe Text) Source #
Subnetwork to which VMs will be assigned, if desired. Expected to be of the form "regions/REGION/subnetworks/SUBNETWORK".
wpMachineType :: Lens' WorkerPool (Maybe Text) Source #
Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
wpMetadata :: Lens' WorkerPool (Maybe WorkerPoolMetadata) Source #
Metadata to set on the Google Compute Engine VMs.
wpDiskType :: Lens' WorkerPool (Maybe Text) Source #
Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
wpTeardownPolicy :: Lens' WorkerPool (Maybe WorkerPoolTeardownPolicy) Source #
Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
wpDefaultPackageSet :: Lens' WorkerPool (Maybe WorkerPoolDefaultPackageSet) Source #
The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
wpPoolArgs :: Lens' WorkerPool (Maybe WorkerPoolPoolArgs) Source #
Extra arguments for this worker pool.
wpWorkerHarnessContainerImage :: Lens' WorkerPool (Maybe Text) Source #
Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry.
wpDataDisks :: Lens' WorkerPool [Disk] Source #
Data disks that are used by a VM in this workflow.
Step
Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.
See: step
smart constructor.
Instances
Eq Step Source # | |
Data Step Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Step -> c Step # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Step # dataTypeOf :: Step -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Step) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Step) # gmapT :: (forall b. Data b => b -> b) -> Step -> Step # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Step -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Step -> r # gmapQ :: (forall d. Data d => d -> u) -> Step -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Step -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Step -> m Step # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Step -> m Step # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Step -> m Step # | |
Show Step Source # | |
Generic Step Source # | |
ToJSON Step Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON Step Source # | |
type Rep Step Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep Step = D1 (MetaData "Step" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "Step'" PrefixI True) (S1 (MetaSel (Just "_sKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StepProperties))))) |
Creates a value of Step
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sName :: Lens' Step (Maybe Text) Source #
The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job.
sProperties :: Lens' Step (Maybe StepProperties) Source #
Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.
ComponentSource
data ComponentSource Source #
Description of an interstitial value between transforms in an execution stage.
See: componentSource
smart constructor.
Instances
componentSource :: ComponentSource Source #
Creates a value of ComponentSource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csUserName :: Lens' ComponentSource (Maybe Text) Source #
Human-readable name for this transform; may be user or system generated.
csName :: Lens' ComponentSource (Maybe Text) Source #
Dataflow service generated name for this source.
csOriginalTransformOrCollection :: Lens' ComponentSource (Maybe Text) Source #
User name for the original user transform or collection with which this source is most closely associated.
ExecutionStageSummaryKind
data ExecutionStageSummaryKind Source #
Type of tranform this stage is executing.
Constructors
ESSKUnknownKind |
|
ESSKParDoKind |
|
ESSKGroupByKeyKind |
|
ESSKFlattenKind |
|
ESSKReadKind |
|
ESSKWriteKind |
|
ESSKConstantKind |
|
ESSKSingletonKind |
|
ESSKShuffleKind |
|
Instances
Xgafv
V1 error format.
Instances
Package
The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.
See: package
smart constructor.
Instances
Eq Package Source # | |
Data Package Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Package -> c Package # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Package # toConstr :: Package -> Constr # dataTypeOf :: Package -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Package) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Package) # gmapT :: (forall b. Data b => b -> b) -> Package -> Package # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Package -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Package -> r # gmapQ :: (forall d. Data d => d -> u) -> Package -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Package -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Package -> m Package # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Package -> m Package # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Package -> m Package # | |
Show Package Source # | |
Generic Package Source # | |
ToJSON Package Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON Package Source # | |
type Rep Package Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep Package = D1 (MetaData "Package" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "Package'" PrefixI True) (S1 (MetaSel (Just "_pLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
pLocation :: Lens' Package (Maybe Text) Source #
The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
ExecutionStageSummary
data ExecutionStageSummary Source #
Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
See: executionStageSummary
smart constructor.
Instances
executionStageSummary :: ExecutionStageSummary Source #
Creates a value of ExecutionStageSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
essOutputSource :: Lens' ExecutionStageSummary [StageSource] Source #
Output sources for this stage.
essKind :: Lens' ExecutionStageSummary (Maybe ExecutionStageSummaryKind) Source #
Type of tranform this stage is executing.
essInputSource :: Lens' ExecutionStageSummary [StageSource] Source #
Input sources for this stage.
essName :: Lens' ExecutionStageSummary (Maybe Text) Source #
Dataflow service generated name for this stage.
essComponentSource :: Lens' ExecutionStageSummary [ComponentSource] Source #
Collections produced and consumed by component transforms of this stage.
essId :: Lens' ExecutionStageSummary (Maybe Text) Source #
Dataflow service generated id for this stage.
essComponentTransform :: Lens' ExecutionStageSummary [ComponentTransform] Source #
Transforms that comprise this execution stage.
WorkerMessageCodeParameters
data WorkerMessageCodeParameters Source #
Parameters contains specific information about the code. This is a struct to allow parameters of different types. Examples: 1. For a "HARNESS_STARTED" message parameters might provide the name of the worker and additional data like timing information. 2. For a "GCS_DOWNLOAD_ERROR" parameters might contain fields listing the GCS objects being downloaded and fields containing errors. In general complex data structures should be avoided. If a worker needs to send a specific and complicated data structure then please consider defining a new proto and adding it to the data oneof in WorkerMessageResponse. Conventions: Parameters should only be used for information that isn't typically passed as a label. hostname and other worker identifiers should almost always be passed as labels since they will be included on most messages.
See: workerMessageCodeParameters
smart constructor.
Instances
workerMessageCodeParameters Source #
Arguments
:: HashMap Text JSONValue | |
-> WorkerMessageCodeParameters |
Creates a value of WorkerMessageCodeParameters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wmcpAddtional :: Lens' WorkerMessageCodeParameters (HashMap Text JSONValue) Source #
Properties of the object.
DynamicSourceSplit
data DynamicSourceSplit Source #
When a task splits using WorkItemStatus.dynamic_source_split, this message describes the two parts of the split relative to the description of the current task's input.
See: dynamicSourceSplit
smart constructor.
Instances
dynamicSourceSplit :: DynamicSourceSplit Source #
Creates a value of DynamicSourceSplit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dssResidual :: Lens' DynamicSourceSplit (Maybe DerivedSource) Source #
Residual part (returned to the pool of work). Specified relative to the previously-current source.
dssPrimary :: Lens' DynamicSourceSplit (Maybe DerivedSource) Source #
Primary part (continued to be processed by worker). Specified relative to the previously-current source. Becomes current.
SnapshotJobRequest
data SnapshotJobRequest Source #
Request to create a snapshot of a job.
See: snapshotJobRequest
smart constructor.
Instances
snapshotJobRequest :: SnapshotJobRequest Source #
Creates a value of SnapshotJobRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sjrTtl :: Lens' SnapshotJobRequest (Maybe Scientific) Source #
TTL for the snapshot.
sjrLocation :: Lens' SnapshotJobRequest (Maybe Text) Source #
The location that contains this job.
ReportWorkItemStatusResponse
data ReportWorkItemStatusResponse Source #
Response from a request to report the status of WorkItems.
See: reportWorkItemStatusResponse
smart constructor.
Instances
reportWorkItemStatusResponse :: ReportWorkItemStatusResponse Source #
Creates a value of ReportWorkItemStatusResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rwisrWorkItemServiceStates :: Lens' ReportWorkItemStatusResponse [WorkItemServiceState] Source #
A set of messages indicating the service-side state for each WorkItem whose status was reported, in the same order as the WorkItemStatus messages in the ReportWorkItemStatusRequest which resulting in this response.
SourceFork
data SourceFork Source #
DEPRECATED in favor of DynamicSourceSplit.
See: sourceFork
smart constructor.
Instances
sourceFork :: SourceFork Source #
Creates a value of SourceFork
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sfResidual :: Lens' SourceFork (Maybe SourceSplitShard) Source #
DEPRECATED
sfPrimarySource :: Lens' SourceFork (Maybe DerivedSource) Source #
DEPRECATED
sfPrimary :: Lens' SourceFork (Maybe SourceSplitShard) Source #
DEPRECATED
sfResidualSource :: Lens' SourceFork (Maybe DerivedSource) Source #
DEPRECATED
ResourceUtilizationReportResponse
data ResourceUtilizationReportResponse Source #
Service-side response to WorkerMessage reporting resource utilization.
See: resourceUtilizationReportResponse
smart constructor.
Instances
resourceUtilizationReportResponse :: ResourceUtilizationReportResponse Source #
Creates a value of ResourceUtilizationReportResponse
with the minimum fields required to make a request.
StreamingComputationRanges
data StreamingComputationRanges Source #
Describes full or partial data disk assignment information of the computation ranges.
See: streamingComputationRanges
smart constructor.
Instances
streamingComputationRanges :: StreamingComputationRanges Source #
Creates a value of StreamingComputationRanges
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scrRangeAssignments :: Lens' StreamingComputationRanges [KeyRangeDataDiskAssignment] Source #
Data disk assignments for ranges from this computation.
scrComputationId :: Lens' StreamingComputationRanges (Maybe Text) Source #
The ID of the computation.
ListJobsResponse
data ListJobsResponse Source #
Response to a request to list Cloud Dataflow jobs. This may be a partial response, depending on the page size in the ListJobsRequest.
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 #
Set if there may be more results than fit in this response.
ljrFailedLocation :: Lens' ListJobsResponse [FailedLocation] Source #
Zero or more messages describing locations that failed to respond.
LaunchTemplateParametersParameters
data LaunchTemplateParametersParameters Source #
The runtime parameters to pass to the job.
See: launchTemplateParametersParameters
smart constructor.
Instances
launchTemplateParametersParameters Source #
Arguments
:: HashMap Text Text | |
-> LaunchTemplateParametersParameters |
Creates a value of LaunchTemplateParametersParameters
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Source
A source that records can be read and decoded from.
See: source
smart constructor.
Instances
Eq Source Source # | |
Data Source Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Source -> c Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Source # toConstr :: Source -> Constr # dataTypeOf :: Source -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Source) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Source) # gmapT :: (forall b. Data b => b -> b) -> Source -> Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Source -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Source -> r # gmapQ :: (forall d. Data d => d -> u) -> Source -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Source -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Source -> m Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Source -> m Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Source -> m Source # | |
Show Source Source # | |
Generic Source Source # | |
ToJSON Source Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON Source Source # | |
type Rep Source Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep Source = D1 (MetaData "Source" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "Source'" PrefixI True) ((S1 (MetaSel (Just "_souDoesNotNeedSplitting") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_souBaseSpecs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SourceBaseSpecsItem]))) :*: (S1 (MetaSel (Just "_souCodec") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceCodec)) :*: (S1 (MetaSel (Just "_souSpec") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceSpec)) :*: S1 (MetaSel (Just "_souMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourceMetadata)))))) |
Creates a value of Source
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
souDoesNotNeedSplitting :: Lens' Source (Maybe Bool) Source #
Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
souBaseSpecs :: Lens' Source [SourceBaseSpecsItem] Source #
While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
souCodec :: Lens' Source (Maybe SourceCodec) Source #
The codec to use to decode data read from the source.
souMetadata :: Lens' Source (Maybe SourceMetadata) Source #
Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
ApproximateProgress
data ApproximateProgress Source #
Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.
See: approximateProgress
smart constructor.
Instances
approximateProgress :: ApproximateProgress Source #
Creates a value of ApproximateProgress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
apRemainingTime :: Lens' ApproximateProgress (Maybe Scientific) Source #
Obsolete.
apPercentComplete :: Lens' ApproximateProgress (Maybe Double) Source #
Obsolete.
apPosition :: Lens' ApproximateProgress (Maybe Position) Source #
Obsolete.
WorkerMessage
data WorkerMessage Source #
WorkerMessage provides information to the backend about a worker.
See: workerMessage
smart constructor.
Instances
workerMessage :: WorkerMessage Source #
Creates a value of WorkerMessage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wmWorkerHealthReport :: Lens' WorkerMessage (Maybe WorkerHealthReport) Source #
The health of a worker.
wmWorkerMessageCode :: Lens' WorkerMessage (Maybe WorkerMessageCode) Source #
A worker message code.
wmWorkerMetrics :: Lens' WorkerMessage (Maybe ResourceUtilizationReport) Source #
Resource metrics reported by workers.
wmWorkerLifecycleEvent :: Lens' WorkerMessage (Maybe WorkerLifecycleEvent) Source #
Record of worker lifecycle events.
wmWorkerShutdownNotice :: Lens' WorkerMessage (Maybe WorkerShutdownNotice) Source #
Shutdown notice by workers.
wmLabels :: Lens' WorkerMessage (Maybe WorkerMessageLabels) Source #
Labels are used to group WorkerMessages. For example, a worker_message about a particular container might have the labels: { "JOB_ID": "2015-04-22", "WORKER_ID": "wordcount-vm-2015…" "CONTAINER_TYPE": "worker", "CONTAINER_ID": "ac1234def"} Label tags typically correspond to Label enum values. However, for ease of development other strings can be used as tags. LABEL_UNSPECIFIED should not be used here.
KeyRangeLocation
data KeyRangeLocation Source #
Location information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.
See: keyRangeLocation
smart constructor.
Instances
keyRangeLocation :: KeyRangeLocation Source #
Creates a value of KeyRangeLocation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
krlDataDisk :: Lens' KeyRangeLocation (Maybe Text) Source #
The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
krlDeprecatedPersistentDirectory :: Lens' KeyRangeLocation (Maybe Text) Source #
DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.
krlDeliveryEndpoint :: Lens' KeyRangeLocation (Maybe Text) Source #
The physical location of this range assignment to be used for streaming computation cross-worker message delivery.
Histogram
Histogram of value counts for a distribution. Buckets have an inclusive lower bound and exclusive upper bound and use "1,2,5 bucketing": The first bucket range is from [0,1) and all subsequent bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ... Negative values are not supported.
See: histogram
smart constructor.
Instances
Eq Histogram Source # | |
Data Histogram Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Histogram -> c Histogram # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Histogram # toConstr :: Histogram -> Constr # dataTypeOf :: Histogram -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Histogram) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Histogram) # gmapT :: (forall b. Data b => b -> b) -> Histogram -> Histogram # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Histogram -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Histogram -> r # gmapQ :: (forall d. Data d => d -> u) -> Histogram -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Histogram -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Histogram -> m Histogram # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Histogram -> m Histogram # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Histogram -> m Histogram # | |
Show Histogram Source # | |
Generic Histogram Source # | |
ToJSON Histogram Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON Histogram Source # | |
type Rep Histogram Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep Histogram = D1 (MetaData "Histogram" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "Histogram'" PrefixI True) (S1 (MetaSel (Just "_hBucketCounts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64])) :*: S1 (MetaSel (Just "_hFirstBucketOffSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) |
histogram :: Histogram Source #
Creates a value of Histogram
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hBucketCounts :: Lens' Histogram [Int64] Source #
Counts of values in each bucket. For efficiency, prefix and trailing buckets with count = 0 are elided. Buckets can store the full range of values of an unsigned long, with ULLONG_MAX falling into the 59th bucket with range [1e19, 2e19).
hFirstBucketOffSet :: Lens' Histogram (Maybe Int32) Source #
Starting index of first stored bucket. The non-inclusive upper-bound of the ith bucket is given by: pow(10,(i-first_bucket_offset)/3) * (1,2,5)[(i-first_bucket_offset)%3]
JobRequestedState
data JobRequestedState Source #
The job's requested state. `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may also be used to directly set a job's requested state to `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the job if it has not already reached a terminal state.
Constructors
JRSJobStateUnknown |
|
JRSJobStateStopped |
|
JRSJobStateRunning |
|
JRSJobStateDone |
|
JRSJobStateFailed |
|
JRSJobStateCancelled |
|
JRSJobStateUpdated |
|
JRSJobStateDraining |
|
JRSJobStateDrained |
|
JRSJobStatePending |
|
JRSJobStateCancelling |
|
JRSJobStateQueued |
|
Instances
MultiOutputInfo
data MultiOutputInfo Source #
Information about an output of a multi-output DoFn.
See: multiOutputInfo
smart constructor.
Instances
multiOutputInfo :: MultiOutputInfo Source #
Creates a value of MultiOutputInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
moiTag :: Lens' MultiOutputInfo (Maybe Text) Source #
The id of the tag the user code will emit to this output by; this should correspond to the tag of some SideInputInfo.
PartialGroupByKeyInstruction
data PartialGroupByKeyInstruction Source #
An instruction that does a partial group-by-key. One input and one output.
See: partialGroupByKeyInstruction
smart constructor.
Instances
partialGroupByKeyInstruction :: PartialGroupByKeyInstruction Source #
Creates a value of PartialGroupByKeyInstruction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pgbkiValueCombiningFn :: Lens' PartialGroupByKeyInstruction (Maybe PartialGroupByKeyInstructionValueCombiningFn) Source #
The value combining function to invoke.
pgbkiSideInputs :: Lens' PartialGroupByKeyInstruction [SideInputInfo] Source #
Zero or more side inputs.
pgbkiInput :: Lens' PartialGroupByKeyInstruction (Maybe InstructionInput) Source #
Describes the input to the partial group-by-key instruction.
pgbkiOriginalCombineValuesStepName :: Lens' PartialGroupByKeyInstruction (Maybe Text) Source #
If this instruction includes a combining function, this is the name of the CombineValues instruction lifted into this instruction.
pgbkiInputElementCodec :: Lens' PartialGroupByKeyInstruction (Maybe PartialGroupByKeyInstructionInputElementCodec) Source #
The codec to use for interpreting an element in the input PTable.
pgbkiOriginalCombineValuesInputStoreName :: Lens' PartialGroupByKeyInstruction (Maybe Text) Source #
If this instruction includes a combining function this is the name of the intermediate store between the GBK and the CombineValues.
WorkerLifecycleEventEvent
data WorkerLifecycleEventEvent Source #
The event being reported.
Constructors
UnknownEvent |
|
OSStart |
|
ContainerStart |
|
NetworkUp |
|
StagingFilesDownloadStart |
|
StagingFilesDownloadFinish |
|
SdkInstallStart |
|
SdkInstallFinish |
|
Instances
ExecutionStageStateExecutionStageState
data ExecutionStageStateExecutionStageState Source #
Executions stage states allow the same set of values as JobState.
Constructors
ESSESSJobStateUnknown |
|
ESSESSJobStateStopped |
|
ESSESSJobStateRunning |
|
ESSESSJobStateDone |
|
ESSESSJobStateFailed |
|
ESSESSJobStateCancelled |
|
ESSESSJobStateUpdated |
|
ESSESSJobStateDraining |
|
ESSESSJobStateDrained |
|
ESSESSJobStatePending |
|
ESSESSJobStateCancelling |
|
ESSESSJobStateQueued |
|
Instances
ParDoInstruction
data ParDoInstruction Source #
An instruction that does a ParDo operation. Takes one main input and zero or more side inputs, and produces zero or more outputs. Runs user code.
See: parDoInstruction
smart constructor.
Instances
parDoInstruction :: ParDoInstruction Source #
Creates a value of ParDoInstruction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pdiNumOutputs :: Lens' ParDoInstruction (Maybe Int32) Source #
The number of outputs.
pdiMultiOutputInfos :: Lens' ParDoInstruction [MultiOutputInfo] Source #
Information about each of the outputs, if user_fn is a MultiDoFn.
pdiSideInputs :: Lens' ParDoInstruction [SideInputInfo] Source #
Zero or more side inputs.
pdiInput :: Lens' ParDoInstruction (Maybe InstructionInput) Source #
The input.
pdiUserFn :: Lens' ParDoInstruction (Maybe ParDoInstructionUserFn) Source #
The user function to invoke.
CustomSourceLocation
data CustomSourceLocation Source #
Identifies the location of a custom souce.
See: customSourceLocation
smart constructor.
Instances
customSourceLocation :: CustomSourceLocation Source #
Creates a value of CustomSourceLocation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cslStateful :: Lens' CustomSourceLocation (Maybe Bool) Source #
Whether this source is stateful.
DistributionUpdate
data DistributionUpdate Source #
A metric value representing a distribution.
See: distributionUpdate
smart constructor.
Instances
distributionUpdate :: DistributionUpdate Source #
Creates a value of DistributionUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
duMax :: Lens' DistributionUpdate (Maybe SplitInt64) Source #
The maximum value present in the distribution.
duCount :: Lens' DistributionUpdate (Maybe SplitInt64) Source #
The count of the number of elements present in the distribution.
duMin :: Lens' DistributionUpdate (Maybe SplitInt64) Source #
The minimum value present in the distribution.
duHistogram :: Lens' DistributionUpdate (Maybe Histogram) Source #
(Optional) Histogram of value counts for the distribution.
duSumOfSquares :: Lens' DistributionUpdate (Maybe Double) Source #
Use a double since the sum of squares is likely to overflow int64.
duSum :: Lens' DistributionUpdate (Maybe SplitInt64) Source #
Use an int64 since we'd prefer the added precision. If overflow is a common problem we can detect it and use an additional int64 or a double.
SourceBaseSpecsItem
data SourceBaseSpecsItem Source #
Instances
Arguments
:: HashMap Text JSONValue | |
-> SourceBaseSpecsItem |
Creates a value of SourceBaseSpecsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sbsiAddtional :: Lens' SourceBaseSpecsItem (HashMap Text JSONValue) Source #
Properties of the object.
ParallelInstruction
data ParallelInstruction Source #
Describes a particular operation comprising a MapTask.
See: parallelInstruction
smart constructor.
Instances
parallelInstruction :: ParallelInstruction Source #
Creates a value of ParallelInstruction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
piRead :: Lens' ParallelInstruction (Maybe ReadInstruction) Source #
Additional information for Read instructions.
piWrite :: Lens' ParallelInstruction (Maybe WriteInstruction) Source #
Additional information for Write instructions.
piParDo :: Lens' ParallelInstruction (Maybe ParDoInstruction) Source #
Additional information for ParDo instructions.
piPartialGroupByKey :: Lens' ParallelInstruction (Maybe PartialGroupByKeyInstruction) Source #
Additional information for PartialGroupByKey instructions.
piOutputs :: Lens' ParallelInstruction [InstructionOutput] Source #
Describes the outputs of the instruction.
piSystemName :: Lens' ParallelInstruction (Maybe Text) Source #
System-defined name of this operation. Unique across the workflow.
piFlatten :: Lens' ParallelInstruction (Maybe FlattenInstruction) Source #
Additional information for Flatten instructions.
piOriginalName :: Lens' ParallelInstruction (Maybe Text) Source #
System-defined name for the operation in the original workflow graph.
SideInputInfoKind
data SideInputInfoKind Source #
How to interpret the source element(s) as a side input value.
See: sideInputInfoKind
smart constructor.
Instances
Arguments
:: HashMap Text JSONValue | |
-> SideInputInfoKind |
Creates a value of SideInputInfoKind
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siikAddtional :: Lens' SideInputInfoKind (HashMap Text JSONValue) Source #
Properties of the object.
StreamingConfigTask
data StreamingConfigTask Source #
A task that carries configuration information for streaming computations.
See: streamingConfigTask
smart constructor.
Instances
streamingConfigTask :: StreamingConfigTask Source #
Creates a value of StreamingConfigTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sctUserStepToStateFamilyNameMap :: Lens' StreamingConfigTask (Maybe StreamingConfigTaskUserStepToStateFamilyNameMap) Source #
Map from user step names to state families.
sctStreamingComputationConfigs :: Lens' StreamingConfigTask [StreamingComputationConfig] Source #
Set of computation configuration information.
sctWindmillServiceEndpoint :: Lens' StreamingConfigTask (Maybe Text) Source #
If present, the worker must use this endpoint to communicate with Windmill Service dispatchers, otherwise the worker must continue to use whatever endpoint it had been using.
sctWindmillServicePort :: Lens' StreamingConfigTask (Maybe Int64) Source #
If present, the worker must use this port to communicate with Windmill Service dispatchers. Only applicable when windmill_service_endpoint is specified.
MetricShortId
data MetricShortId Source #
The metric short id is returned to the user alongside an offset into ReportWorkItemStatusRequest
See: metricShortId
smart constructor.
Instances
metricShortId :: MetricShortId Source #
Creates a value of MetricShortId
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
msiShortId :: Lens' MetricShortId (Maybe Int64) Source #
The service-generated short identifier for the metric.
msiMetricIndex :: Lens' MetricShortId (Maybe Int32) Source #
The index of the corresponding metric in the ReportWorkItemStatusRequest. Required.
SendWorkerMessagesRequest
data SendWorkerMessagesRequest Source #
A request for sending worker messages to the service.
See: sendWorkerMessagesRequest
smart constructor.
Instances
sendWorkerMessagesRequest :: SendWorkerMessagesRequest Source #
Creates a value of SendWorkerMessagesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
swmrLocation :: Lens' SendWorkerMessagesRequest (Maybe Text) Source #
The location which contains the job
swmrWorkerMessages :: Lens' SendWorkerMessagesRequest [WorkerMessage] Source #
The WorkerMessages to send.
SourceSplitShard
data SourceSplitShard Source #
DEPRECATED in favor of DerivedSource.
See: sourceSplitShard
smart constructor.
Instances
sourceSplitShard :: SourceSplitShard Source #
Creates a value of SourceSplitShard
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sssDerivationMode :: Lens' SourceSplitShard (Maybe SourceSplitShardDerivationMode) Source #
DEPRECATED
SideInputInfo
data SideInputInfo Source #
Information about a side input of a DoFn or an input of a SeqDoFn.
See: sideInputInfo
smart constructor.
Instances
sideInputInfo :: SideInputInfo Source #
Creates a value of SideInputInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siiTag :: Lens' SideInputInfo (Maybe Text) Source #
The id of the tag the user code will access this side input by; this should correspond to the tag of some MultiOutputInfo.
siiKind :: Lens' SideInputInfo (Maybe SideInputInfoKind) Source #
How to interpret the source element(s) as a side input value.
siiSources :: Lens' SideInputInfo [Source] Source #
The source(s) to read element(s) from to get the value of this side input. If more than one source, then the elements are taken from the sources, in the specified order if order matters. At least one source is required.
ComponentTransform
data ComponentTransform Source #
Description of a transform executed as part of an execution stage.
See: componentTransform
smart constructor.
Instances
componentTransform :: ComponentTransform Source #
Creates a value of ComponentTransform
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctOriginalTransform :: Lens' ComponentTransform (Maybe Text) Source #
User name for the original user transform with which this transform is most closely associated.
ctUserName :: Lens' ComponentTransform (Maybe Text) Source #
Human-readable name for this transform; may be user or system generated.
ctName :: Lens' ComponentTransform (Maybe Text) Source #
Dataflow service generated name for this source.
WorkerPoolIPConfiguration
data WorkerPoolIPConfiguration Source #
Configuration for VM IPs.
Constructors
WorkerIPUnspecified |
|
WorkerIPPublic |
|
WorkerIPPrivate |
|
Instances
JobExecutionInfo
data JobExecutionInfo Source #
Additional information about how a Cloud Dataflow job will be executed that isn't contained in the submitted job.
See: jobExecutionInfo
smart constructor.
Instances
jobExecutionInfo :: JobExecutionInfo Source #
Creates a value of JobExecutionInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jeiStages :: Lens' JobExecutionInfo (Maybe JobExecutionInfoStages) Source #
A mapping from each stage to the information about that stage.
SourceCodec
data SourceCodec Source #
The codec to use to decode data read from the source.
See: sourceCodec
smart constructor.
Instances
Arguments
:: HashMap Text JSONValue | |
-> SourceCodec |
Creates a value of SourceCodec
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
souAddtional :: Lens' SourceCodec (HashMap Text JSONValue) Source #
Properties of the object.
StateFamilyConfig
data StateFamilyConfig Source #
State family configuration.
See: stateFamilyConfig
smart constructor.
Instances
stateFamilyConfig :: StateFamilyConfig Source #
Creates a value of StateFamilyConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sfcIsRead :: Lens' StateFamilyConfig (Maybe Bool) Source #
If true, this family corresponds to a read operation.
sfcStateFamily :: Lens' StateFamilyConfig (Maybe Text) Source #
The state family value.
KeyRangeDataDiskAssignment
data KeyRangeDataDiskAssignment Source #
Data disk assignment information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.
See: keyRangeDataDiskAssignment
smart constructor.
Instances
keyRangeDataDiskAssignment :: KeyRangeDataDiskAssignment Source #
Creates a value of KeyRangeDataDiskAssignment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
krddaDataDisk :: Lens' KeyRangeDataDiskAssignment (Maybe Text) Source #
The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
krddaStart :: Lens' KeyRangeDataDiskAssignment (Maybe Text) Source #
The start (inclusive) of the key range.
krddaEnd :: Lens' KeyRangeDataDiskAssignment (Maybe Text) Source #
The end (exclusive) of the key range.
AutoscalingEvent
data AutoscalingEvent Source #
A structured message reporting an autoscaling decision made by the Dataflow service.
See: autoscalingEvent
smart constructor.
Instances
autoscalingEvent :: AutoscalingEvent Source #
Creates a value of AutoscalingEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aeCurrentNumWorkers :: Lens' AutoscalingEvent (Maybe Int64) Source #
The current number of workers the job has.
aeTime :: Lens' AutoscalingEvent (Maybe UTCTime) Source #
The time this event was emitted to indicate a new target or current num_workers value.
aeEventType :: Lens' AutoscalingEvent (Maybe AutoscalingEventEventType) Source #
The type of autoscaling event to report.
aeTargetNumWorkers :: Lens' AutoscalingEvent (Maybe Int64) Source #
The target number of workers the worker pool wants to resize to use.
aeWorkerPool :: Lens' AutoscalingEvent (Maybe Text) Source #
A short and friendly name for the worker pool this event refers to, populated from the value of PoolStageRelation::user_pool_name.
aeDescription :: Lens' AutoscalingEvent (Maybe StructuredMessage) Source #
A message describing why the system decided to adjust the current number of workers, why it failed, or why the system decided to not make any changes to the number of workers.
SourceSplitRequest
data SourceSplitRequest Source #
Represents the operation to split a high-level Source specification into bundles (parts for parallel processing). At a high level, splitting of a source into bundles happens as follows: SourceSplitRequest is applied to the source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source is used "as is". Otherwise, splitting is applied recursively to each produced DerivedSource. As an optimization, for any Source, if its does_not_need_splitting is true, the framework assumes that splitting this source would return SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. This applies both to the initial source being split and to bundles produced from it.
See: sourceSplitRequest
smart constructor.
Instances
sourceSplitRequest :: SourceSplitRequest Source #
Creates a value of SourceSplitRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssrSource :: Lens' SourceSplitRequest (Maybe Source) Source #
Specification of the source to be split.
ssrOptions :: Lens' SourceSplitRequest (Maybe SourceSplitOptions) Source #
Hints for tuning the splitting process.
ListJobMessagesResponse
data ListJobMessagesResponse Source #
Response to a request to list job messages.
See: listJobMessagesResponse
smart constructor.
Instances
listJobMessagesResponse :: ListJobMessagesResponse Source #
Creates a value of ListJobMessagesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ljmrJobMessages :: Lens' ListJobMessagesResponse [JobMessage] Source #
Messages in ascending timestamp order.
ljmrNextPageToken :: Lens' ListJobMessagesResponse (Maybe Text) Source #
The token to obtain the next page of results if there are more.
ljmrAutoscalingEvents :: Lens' ListJobMessagesResponse [AutoscalingEvent] Source #
Autoscaling events in ascending timestamp order.
PubsubLocation
data PubsubLocation Source #
Identifies a pubsub location to use for transferring data into or out of a streaming Dataflow job.
See: pubsubLocation
smart constructor.
Instances
pubsubLocation :: PubsubLocation Source #
Creates a value of PubsubLocation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
plTrackingSubscription :: Lens' PubsubLocation (Maybe Text) Source #
If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.
plDropLateData :: Lens' PubsubLocation (Maybe Bool) Source #
Indicates whether the pipeline allows late-arriving data.
plTimestampLabel :: Lens' PubsubLocation (Maybe Text) Source #
If set, contains a pubsub label from which to extract record timestamps. If left empty, record timestamps will be generated upon arrival.
plIdLabel :: Lens' PubsubLocation (Maybe Text) Source #
If set, contains a pubsub label from which to extract record ids. If left empty, record deduplication will be strictly best effort.
plTopic :: Lens' PubsubLocation (Maybe Text) Source #
A pubsub topic, in the form of "pubsub.googleapis.com/topics//"
plWithAttributes :: Lens' PubsubLocation (Maybe Bool) Source #
If true, then the client has requested to get pubsub attributes.
plSubscription :: Lens' PubsubLocation (Maybe Text) Source #
A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions//"
FloatingPointList
data FloatingPointList Source #
A metric value representing a list of floating point numbers.
See: floatingPointList
smart constructor.
Instances
floatingPointList :: FloatingPointList Source #
Creates a value of FloatingPointList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fplElements :: Lens' FloatingPointList [Double] Source #
Elements of the list.
CounterStructuredNameOrigin
data CounterStructuredNameOrigin Source #
One of the standard Origins defined above.
Constructors
System |
|
User |
|
Instances
InstructionInput
data InstructionInput Source #
An input of an instruction, as a reference to an output of a producer instruction.
See: instructionInput
smart constructor.
Instances
instructionInput :: InstructionInput Source #
Creates a value of InstructionInput
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iiProducerInstructionIndex :: Lens' InstructionInput (Maybe Int32) Source #
The index (origin zero) of the parallel instruction that produces the output to be consumed by this input. This index is relative to the list of instructions in this input's instruction's containing MapTask.
iiOutputNum :: Lens' InstructionInput (Maybe Int32) Source #
The output index (origin zero) within the producer.
SeqMapTask
data SeqMapTask Source #
Describes a particular function to invoke.
See: seqMapTask
smart constructor.
Instances
seqMapTask :: SeqMapTask Source #
Creates a value of SeqMapTask
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smtInputs :: Lens' SeqMapTask [SideInputInfo] Source #
Information about each of the inputs.
smtOutputInfos :: Lens' SeqMapTask [SeqMapTaskOutputInfo] Source #
Information about each of the outputs.
smtSystemName :: Lens' SeqMapTask (Maybe Text) Source #
System-defined name of the SeqDo operation. Unique across the workflow.
smtStageName :: Lens' SeqMapTask (Maybe Text) Source #
System-defined name of the stage containing the SeqDo operation. Unique across the workflow.
smtUserFn :: Lens' SeqMapTask (Maybe SeqMapTaskUserFn) Source #
The user function to invoke.
StreamingComputationTaskTaskType
data StreamingComputationTaskTaskType Source #
A type of streaming computation task.
Constructors
StreamingComputationTaskUnknown |
|
StreamingComputationTaskStop |
|
StreamingComputationTaskStart |
|
Instances
StreamingConfigTaskUserStepToStateFamilyNameMap
data StreamingConfigTaskUserStepToStateFamilyNameMap Source #
Map from user step names to state families.
See: streamingConfigTaskUserStepToStateFamilyNameMap
smart constructor.
Instances
streamingConfigTaskUserStepToStateFamilyNameMap Source #
Creates a value of StreamingConfigTaskUserStepToStateFamilyNameMap
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sctustsfnmAddtional :: Lens' StreamingConfigTaskUserStepToStateFamilyNameMap (HashMap Text Text) Source #
ExecutionStageState
data ExecutionStageState Source #
A message describing the state of a particular execution stage.
See: executionStageState
smart constructor.
Instances
executionStageState :: ExecutionStageState Source #
Creates a value of ExecutionStageState
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
essExecutionStageName :: Lens' ExecutionStageState (Maybe Text) Source #
The name of the execution stage.
essCurrentStateTime :: Lens' ExecutionStageState (Maybe UTCTime) Source #
The time at which the stage transitioned to this state.
essExecutionStageState :: Lens' ExecutionStageState (Maybe ExecutionStageStateExecutionStageState) Source #
Executions stage states allow the same set of values as JobState.
StageSource
data StageSource Source #
Description of an input or output of an execution stage.
See: stageSource
smart constructor.
Instances
stageSource :: StageSource Source #
Creates a value of StageSource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssSizeBytes :: Lens' StageSource (Maybe Int64) Source #
Size of the source, if measurable.
ssUserName :: Lens' StageSource (Maybe Text) Source #
Human-readable name for this source; may be user or system generated.
ssOriginalTransformOrCollection :: Lens' StageSource (Maybe Text) Source #
User name for the original user transform or collection with which this source is most closely associated.
SourceOperationRequest
data SourceOperationRequest Source #
A work item that represents the different operations that can be performed on a user-defined Source specification.
See: sourceOperationRequest
smart constructor.
Instances
sourceOperationRequest :: SourceOperationRequest Source #
Creates a value of SourceOperationRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
souSplit :: Lens' SourceOperationRequest (Maybe SourceSplitRequest) Source #
Information about a request to split a source.
souGetMetadata :: Lens' SourceOperationRequest (Maybe SourceGetMetadataRequest) Source #
Information about a request to get metadata about a source.
souName :: Lens' SourceOperationRequest (Maybe Text) Source #
User-provided name of the Read instruction for this source.
souSystemName :: Lens' SourceOperationRequest (Maybe Text) Source #
System-defined name of the Read instruction for this source. Unique across the workflow.
souStageName :: Lens' SourceOperationRequest (Maybe Text) Source #
System-defined name of the stage containing the source operation. Unique across the workflow.
souOriginalName :: Lens' SourceOperationRequest (Maybe Text) Source #
System-defined name for the Read instruction for this source in the original workflow graph.
SdkVersionSdkSupportStatus
data SdkVersionSdkSupportStatus Source #
The support status for this SDK version.
Constructors
Unknown |
|
Supported |
|
Stale |
|
Deprecated |
|
Unsupported |
|
Instances
SpannerIODetails
data SpannerIODetails Source #
Metadata for a Spanner connector used by the job.
See: spannerIODetails
smart constructor.
Instances
spannerIODetails :: SpannerIODetails Source #
Creates a value of SpannerIODetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
siodInstanceId :: Lens' SpannerIODetails (Maybe Text) Source #
InstanceId accessed in the connection.
siodDatabaseId :: Lens' SpannerIODetails (Maybe Text) Source #
DatabaseId accessed in the connection.
siodProjectId :: Lens' SpannerIODetails (Maybe Text) Source #
ProjectId accessed in the connection.
LeaseWorkItemResponse
data LeaseWorkItemResponse Source #
Response to a request to lease WorkItems.
See: leaseWorkItemResponse
smart constructor.
Instances
leaseWorkItemResponse :: LeaseWorkItemResponse Source #
Creates a value of LeaseWorkItemResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lwirWorkItems :: Lens' LeaseWorkItemResponse [WorkItem] Source #
A list of the leased WorkItems.
Position
Position defines a position within a collection of data. The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index.
See: position
smart constructor.
Instances
Creates a value of Position
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pConcatPosition :: Lens' Position (Maybe ConcatPosition) Source #
CloudPosition is a concat position.
pShufflePosition :: Lens' Position (Maybe Text) Source #
CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
pEnd :: Lens' Position (Maybe Bool) Source #
Position is past all other positions. Also useful for the end position of an unbounded range.
Parameter
Structured data associated with this message.
See: parameter
smart constructor.
Instances
Eq Parameter Source # | |
Data Parameter Source # | |
Defined in Network.Google.Dataflow.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Parameter -> c Parameter # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Parameter # toConstr :: Parameter -> Constr # dataTypeOf :: Parameter -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Parameter) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Parameter) # gmapT :: (forall b. Data b => b -> b) -> Parameter -> Parameter # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Parameter -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Parameter -> r # gmapQ :: (forall d. Data d => d -> u) -> Parameter -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Parameter -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Parameter -> m Parameter # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Parameter -> m Parameter # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Parameter -> m Parameter # | |
Show Parameter Source # | |
Generic Parameter Source # | |
ToJSON Parameter Source # | |
Defined in Network.Google.Dataflow.Types.Product | |
FromJSON Parameter Source # | |
type Rep Parameter Source # | |
Defined in Network.Google.Dataflow.Types.Product type Rep Parameter = D1 (MetaData "Parameter" "Network.Google.Dataflow.Types.Product" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "Parameter'" PrefixI True) (S1 (MetaSel (Just "_parValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JSONValue)) :*: S1 (MetaSel (Just "_parKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |