Class: Google::Apis::DataflowV1b3::SourceFork

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb

Overview

DEPRECATED in favor of DynamicSourceSplit.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SourceFork

Returns a new instance of SourceFork.



2204
2205
2206
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2204

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#primaryGoogle::Apis::DataflowV1b3::SourceSplitShard

DEPRECATED in favor of DerivedSource. Corresponds to the JSON property primary



2183
2184
2185
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2183

def primary
  @primary
end

#primary_sourceGoogle::Apis::DataflowV1b3::DerivedSource

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. Corresponds to the JSON property primarySource



2195
2196
2197
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2195

def primary_source
  @primary_source
end

#residualGoogle::Apis::DataflowV1b3::SourceSplitShard

DEPRECATED in favor of DerivedSource. Corresponds to the JSON property residual



2188
2189
2190
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2188

def residual
  @residual
end

#residual_sourceGoogle::Apis::DataflowV1b3::DerivedSource

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. Corresponds to the JSON property residualSource



2202
2203
2204
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2202

def residual_source
  @residual_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2209
2210
2211
2212
2213
2214
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2209

def update!(**args)
  @primary = args[:primary] if args.key?(:primary)
  @residual = args[:residual] if args.key?(:residual)
  @primary_source = args[:primary_source] if args.key?(:primary_source)
  @residual_source = args[:residual_source] if args.key?(:residual_source)
end