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

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

Overview

DEPRECATED in favor of DynamicSourceSplit.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceFork

Returns a new instance of SourceFork.



5234
5235
5236
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5234

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

Instance Attribute Details

#primaryGoogle::Apis::DataflowV1b3::SourceSplitShard

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



5213
5214
5215
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5213

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



5220
5221
5222
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5220

def primary_source
  @primary_source
end

#residualGoogle::Apis::DataflowV1b3::SourceSplitShard

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



5225
5226
5227
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5225

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



5232
5233
5234
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5232

def residual_source
  @residual_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5239
5240
5241
5242
5243
5244
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5239

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