Class: Google::Apis::DataflowV1b3::DerivedSource

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

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DerivedSource

Returns a new instance of DerivedSource.



1123
1124
1125
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1123

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

Instance Attribute Details

#derivation_modeString

What source to base the produced source on (if any). Corresponds to the JSON property derivationMode

Returns:

  • (String)


1116
1117
1118
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1116

def derivation_mode
  @derivation_mode
end

#sourceGoogle::Apis::DataflowV1b3::Source

A source that records can be read and decoded from. Corresponds to the JSON property source



1121
1122
1123
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1121

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1128
1129
1130
1131
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1128

def update!(**args)
  @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode)
  @source = args[:source] if args.key?(:source)
end