Class: Google::Apis::DataprocV1::ShuffleWriteMetrics

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

Overview

Shuffle data written by task.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShuffleWriteMetrics

Returns a new instance of ShuffleWriteMetrics.



8539
8540
8541
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8539

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

Instance Attribute Details

#bytes_writtenFixnum

Corresponds to the JSON property bytesWritten

Returns:

  • (Fixnum)


8527
8528
8529
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8527

def bytes_written
  @bytes_written
end

#records_writtenFixnum

Corresponds to the JSON property recordsWritten

Returns:

  • (Fixnum)


8532
8533
8534
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8532

def records_written
  @records_written
end

#write_time_nanosFixnum

Corresponds to the JSON property writeTimeNanos

Returns:

  • (Fixnum)


8537
8538
8539
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8537

def write_time_nanos
  @write_time_nanos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8544
8545
8546
8547
8548
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8544

def update!(**args)
  @bytes_written = args[:bytes_written] if args.key?(:bytes_written)
  @records_written = args[:records_written] if args.key?(:records_written)
  @write_time_nanos = args[:write_time_nanos] if args.key?(:write_time_nanos)
end