Class: Google::Apis::DataflowV1b3::SourceSplitShard

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 DerivedSource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceSplitShard

Returns a new instance of SourceSplitShard.



5716
5717
5718
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5716

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

Instance Attribute Details

#derivation_modeString

DEPRECATED Corresponds to the JSON property derivationMode

Returns:

  • (String)


5709
5710
5711
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5709

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



5714
5715
5716
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5714

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5721
5722
5723
5724
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5721

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