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

Inherits:
Object
  • Object
show all
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

DEPRECATED in favor of DerivedSource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SourceSplitShard

Returns a new instance of SourceSplitShard.



2145
2146
2147
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2145

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

Instance Attribute Details

#derivation_modeString

DEPRECATED Corresponds to the JSON property derivationMode

Returns:

  • (String)


2143
2144
2145
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2143

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



2138
2139
2140
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2138

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2150
2151
2152
2153
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2150

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