Class: Google::Apis::DataprocV1::SourceProgress

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceProgress

Returns a new instance of SourceProgress.



8703
8704
8705
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8703

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


8666
8667
8668
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8666

def description
  @description
end

#end_offsetString

Corresponds to the JSON property endOffset

Returns:

  • (String)


8671
8672
8673
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8671

def end_offset
  @end_offset
end

#input_rows_per_secondFloat

Corresponds to the JSON property inputRowsPerSecond

Returns:

  • (Float)


8676
8677
8678
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8676

def input_rows_per_second
  @input_rows_per_second
end

#latest_offsetString

Corresponds to the JSON property latestOffset

Returns:

  • (String)


8681
8682
8683
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8681

def latest_offset
  @latest_offset
end

#metricsHash<String,String>

Corresponds to the JSON property metrics

Returns:

  • (Hash<String,String>)


8686
8687
8688
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8686

def metrics
  @metrics
end

#num_input_rowsFixnum

Corresponds to the JSON property numInputRows

Returns:

  • (Fixnum)


8691
8692
8693
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8691

def num_input_rows
  @num_input_rows
end

#processed_rows_per_secondFloat

Corresponds to the JSON property processedRowsPerSecond

Returns:

  • (Float)


8696
8697
8698
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8696

def processed_rows_per_second
  @processed_rows_per_second
end

#start_offsetString

Corresponds to the JSON property startOffset

Returns:

  • (String)


8701
8702
8703
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8701

def start_offset
  @start_offset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8708

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @end_offset = args[:end_offset] if args.key?(:end_offset)
  @input_rows_per_second = args[:input_rows_per_second] if args.key?(:input_rows_per_second)
  @latest_offset = args[:latest_offset] if args.key?(:latest_offset)
  @metrics = args[:metrics] if args.key?(:metrics)
  @num_input_rows = args[:num_input_rows] if args.key?(:num_input_rows)
  @processed_rows_per_second = args[:processed_rows_per_second] if args.key?(:processed_rows_per_second)
  @start_offset = args[:start_offset] if args.key?(:start_offset)
end