Class: Google::Apis::DataprocV1::StageShuffleWriteMetrics

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 for the stage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StageShuffleWriteMetrics

Returns a new instance of StageShuffleWriteMetrics.



10414
10415
10416
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10414

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

Instance Attribute Details

#bytes_writtenFixnum

Corresponds to the JSON property bytesWritten

Returns:

  • (Fixnum)


10402
10403
10404
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10402

def bytes_written
  @bytes_written
end

#records_writtenFixnum

Corresponds to the JSON property recordsWritten

Returns:

  • (Fixnum)


10407
10408
10409
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10407

def records_written
  @records_written
end

#write_time_nanosFixnum

Corresponds to the JSON property writeTimeNanos

Returns:

  • (Fixnum)


10412
10413
10414
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10412

def write_time_nanos
  @write_time_nanos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10419
10420
10421
10422
10423
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10419

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