Class: Google::Apis::DataflowV1b3::SourceSplitResponse
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::SourceSplitResponse
- 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
The response to a SourceSplitRequest.
Instance Attribute Summary collapse
-
#bundles ⇒ Array<Google::Apis::DataflowV1b3::DerivedSource>
If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was split.
-
#outcome ⇒ String
Indicates whether splitting happened and produced a list of bundles.
-
#shards ⇒ Array<Google::Apis::DataflowV1b3::SourceSplitShard>
DEPRECATED in favor of bundles.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceSplitResponse
constructor
A new instance of SourceSplitResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SourceSplitResponse
Returns a new instance of SourceSplitResponse
2887 2888 2889 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2887 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bundles ⇒ Array<Google::Apis::DataflowV1b3::DerivedSource>
If outcome is SPLITTING_HAPPENED, then this is a list of bundles
into which the source was split. Otherwise this field is ignored.
This list can be empty, which means the source represents an empty input.
Corresponds to the JSON property bundles
2880 2881 2882 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2880 def bundles @bundles end |
#outcome ⇒ String
Indicates whether splitting happened and produced a list of bundles.
If this is USE_CURRENT_SOURCE_AS_IS, the current source should
be processed "as is" without splitting. "bundles" is ignored in this case.
If this is SPLITTING_HAPPENED, then "bundles" contains a list of
bundles into which the source was split.
Corresponds to the JSON property outcome
2873 2874 2875 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2873 def outcome @outcome end |
#shards ⇒ Array<Google::Apis::DataflowV1b3::SourceSplitShard>
DEPRECATED in favor of bundles.
Corresponds to the JSON property shards
2885 2886 2887 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2885 def shards @shards end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2892 2893 2894 2895 2896 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2892 def update!(**args) @outcome = args[:outcome] if args.key?(:outcome) @bundles = args[:bundles] if args.key?(:bundles) @shards = args[:shards] if args.key?(:shards) end |