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.



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

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

Instance Attribute Details

#app_spark_versionString

Corresponds to the JSON property appSparkVersion

Returns:

  • (String)


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

def app_spark_version
  @app_spark_version
end

#attempt_idString

Corresponds to the JSON property attemptId

Returns:

  • (String)


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

def attempt_id
  @attempt_id
end

#completedBoolean Also known as: completed?

Corresponds to the JSON property completed

Returns:

  • (Boolean)


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

def completed
  @completed
end

#duration_millisFixnum

Corresponds to the JSON property durationMillis

Returns:

  • (Fixnum)


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

def duration_millis
  @duration_millis
end

#end_timeString

Corresponds to the JSON property endTime

Returns:

  • (String)


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

def end_time
  @end_time
end

#last_updatedString

Corresponds to the JSON property lastUpdated

Returns:

  • (String)


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

def last_updated
  @last_updated
end

#spark_userString

Corresponds to the JSON property sparkUser

Returns:

  • (String)


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

def spark_user
  @spark_user
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


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

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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