Class: Google::Apis::DataflowV1b3::SourceSplitShard
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::SourceSplitShard
- 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
-
#derivation_mode ⇒ String
DEPRECATED Corresponds to the JSON property
derivationMode
. -
#source ⇒ Google::Apis::DataflowV1b3::Source
A source that records can be read and decoded from.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceSplitShard
constructor
A new instance of SourceSplitShard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SourceSplitShard
Returns a new instance of SourceSplitShard.
5614 5615 5616 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5614 def initialize(**args) update!(**args) end |
Instance Attribute Details
#derivation_mode ⇒ String
DEPRECATED
Corresponds to the JSON property derivationMode
5607 5608 5609 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5607 def derivation_mode @derivation_mode end |
#source ⇒ Google::Apis::DataflowV1b3::Source
A source that records can be read and decoded from.
Corresponds to the JSON property source
5612 5613 5614 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5612 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5619 5620 5621 5622 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5619 def update!(**args) @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) @source = args[:source] if args.key?(:source) end |