Class: Google::Apis::DataflowV1b3::DerivedSource
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::DerivedSource
- 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
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
-
#derivation_mode ⇒ String
What source to base the produced source on (if any).
-
#source ⇒ Google::Apis::DataflowV1b3::Source
A source that records can be read and decoded from.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DerivedSource
constructor
A new instance of DerivedSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DerivedSource
Returns a new instance of DerivedSource.
1959 1960 1961 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1959 def initialize(**args) update!(**args) end |
Instance Attribute Details
#derivation_mode ⇒ String
What source to base the produced source on (if any).
Corresponds to the JSON property derivationMode
1957 1958 1959 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1957 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
1952 1953 1954 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1952 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1964 1965 1966 1967 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1964 def update!(**args) @source = args[:source] if args.key?(:source) @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) end |