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.



609
610
611
# File 'lib/google/apis/dataproc_v1/classes.rb', line 609

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

Instance Attribute Details

#app_spark_versionString

Corresponds to the JSON property appSparkVersion

Returns:

  • (String)


571
572
573
# File 'lib/google/apis/dataproc_v1/classes.rb', line 571

def app_spark_version
  @app_spark_version
end

#attempt_idString

Corresponds to the JSON property attemptId

Returns:

  • (String)


576
577
578
# File 'lib/google/apis/dataproc_v1/classes.rb', line 576

def attempt_id
  @attempt_id
end

#completedBoolean Also known as: completed?

Corresponds to the JSON property completed

Returns:

  • (Boolean)


581
582
583
# File 'lib/google/apis/dataproc_v1/classes.rb', line 581

def completed
  @completed
end

#duration_millisFixnum

Corresponds to the JSON property durationMillis

Returns:

  • (Fixnum)


587
588
589
# File 'lib/google/apis/dataproc_v1/classes.rb', line 587

def duration_millis
  @duration_millis
end

#end_timeString

Corresponds to the JSON property endTime

Returns:

  • (String)


592
593
594
# File 'lib/google/apis/dataproc_v1/classes.rb', line 592

def end_time
  @end_time
end

#last_updatedString

Corresponds to the JSON property lastUpdated

Returns:

  • (String)


597
598
599
# File 'lib/google/apis/dataproc_v1/classes.rb', line 597

def last_updated
  @last_updated
end

#spark_userString

Corresponds to the JSON property sparkUser

Returns:

  • (String)


602
603
604
# File 'lib/google/apis/dataproc_v1/classes.rb', line 602

def spark_user
  @spark_user
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


607
608
609
# File 'lib/google/apis/dataproc_v1/classes.rb', line 607

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



614
615
616
617
618
619
620
621
622
623
# File 'lib/google/apis/dataproc_v1/classes.rb', line 614

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