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.



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

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

Instance Attribute Details

#app_spark_versionString

Corresponds to the JSON property appSparkVersion

Returns:

  • (String)


489
490
491
# File 'lib/google/apis/dataproc_v1/classes.rb', line 489

def app_spark_version
  @app_spark_version
end

#attempt_idString

Corresponds to the JSON property attemptId

Returns:

  • (String)


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

def attempt_id
  @attempt_id
end

#completedBoolean Also known as: completed?

Corresponds to the JSON property completed

Returns:

  • (Boolean)


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

def completed
  @completed
end

#duration_millisFixnum

Corresponds to the JSON property durationMillis

Returns:

  • (Fixnum)


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

def duration_millis
  @duration_millis
end

#end_timeString

Corresponds to the JSON property endTime

Returns:

  • (String)


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

def end_time
  @end_time
end

#last_updatedString

Corresponds to the JSON property lastUpdated

Returns:

  • (String)


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

def last_updated
  @last_updated
end

#spark_userString

Corresponds to the JSON property sparkUser

Returns:

  • (String)


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

def spark_user
  @spark_user
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


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

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



532
533
534
535
536
537
538
539
540
541
# File 'lib/google/apis/dataproc_v1/classes.rb', line 532

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