class Google::Apis::DataflowV1b3::SourceSplitResponse

The response to a SourceSplitRequest.

Attributes

bundles[RW]

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` @return [Array<Google::Apis::DataflowV1b3::DerivedSource>]

outcome[RW]

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` @return [String]

shards[RW]

DEPRECATED in favor of bundles. Corresponds to the JSON property `shards` @return [Array<Google::Apis::DataflowV1b3::SourceSplitShard>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 4818
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 4823
def update!(**args)
  @bundles = args[:bundles] if args.key?(:bundles)
  @outcome = args[:outcome] if args.key?(:outcome)
  @shards = args[:shards] if args.key?(:shards)
end