Class: Google::Apis::DataprocV1::ApplicationAttemptInfo

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

Specific attempt of an application.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApplicationAttemptInfo

Returns a new instance of ApplicationAttemptInfo.



533
534
535
# File 'lib/google/apis/dataproc_v1/classes.rb', line 533

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

Instance Attribute Details

#app_spark_versionString

Corresponds to the JSON property appSparkVersion

Returns:

  • (String)


495
496
497
# File 'lib/google/apis/dataproc_v1/classes.rb', line 495

def app_spark_version
  @app_spark_version
end

#attempt_idString

Corresponds to the JSON property attemptId

Returns:

  • (String)


500
501
502
# File 'lib/google/apis/dataproc_v1/classes.rb', line 500

def attempt_id
  @attempt_id
end

#completedBoolean Also known as: completed?

Corresponds to the JSON property completed

Returns:

  • (Boolean)


505
506
507
# File 'lib/google/apis/dataproc_v1/classes.rb', line 505

def completed
  @completed
end

#duration_millisFixnum

Corresponds to the JSON property durationMillis

Returns:

  • (Fixnum)


511
512
513
# File 'lib/google/apis/dataproc_v1/classes.rb', line 511

def duration_millis
  @duration_millis
end

#end_timeString

Corresponds to the JSON property endTime

Returns:

  • (String)


516
517
518
# File 'lib/google/apis/dataproc_v1/classes.rb', line 516

def end_time
  @end_time
end

#last_updatedString

Corresponds to the JSON property lastUpdated

Returns:

  • (String)


521
522
523
# File 'lib/google/apis/dataproc_v1/classes.rb', line 521

def last_updated
  @last_updated
end

#spark_userString

Corresponds to the JSON property sparkUser

Returns:

  • (String)


526
527
528
# File 'lib/google/apis/dataproc_v1/classes.rb', line 526

def spark_user
  @spark_user
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


531
532
533
# File 'lib/google/apis/dataproc_v1/classes.rb', line 531

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



538
539
540
541
542
543
544
545
546
547
# File 'lib/google/apis/dataproc_v1/classes.rb', line 538

def update!(**args)
  @app_spark_version = args[:app_spark_version] if args.key?(:app_spark_version)
  @attempt_id = args[:attempt_id] if args.key?(:attempt_id)
  @completed = args[:completed] if args.key?(:completed)
  @duration_millis = args[:duration_millis] if args.key?(:duration_millis)
  @end_time = args[:end_time] if args.key?(:end_time)
  @last_updated = args[:last_updated] if args.key?(:last_updated)
  @spark_user = args[:spark_user] if args.key?(:spark_user)
  @start_time = args[:start_time] if args.key?(:start_time)
end