Class: Google::Apis::DataprocV1::ApplicationAttemptInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ApplicationAttemptInfo
- 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
-
#app_spark_version ⇒ String
Corresponds to the JSON property
appSparkVersion. -
#attempt_id ⇒ String
Corresponds to the JSON property
attemptId. -
#completed ⇒ Boolean
(also: #completed?)
Corresponds to the JSON property
completed. -
#duration_millis ⇒ Fixnum
Corresponds to the JSON property
durationMillis. -
#end_time ⇒ String
Corresponds to the JSON property
endTime. -
#last_updated ⇒ String
Corresponds to the JSON property
lastUpdated. -
#spark_user ⇒ String
Corresponds to the JSON property
sparkUser. -
#start_time ⇒ String
Corresponds to the JSON property
startTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplicationAttemptInfo
constructor
A new instance of ApplicationAttemptInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_version ⇒ String
Corresponds to the JSON property appSparkVersion
489 490 491 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 489 def app_spark_version @app_spark_version end |
#attempt_id ⇒ String
Corresponds to the JSON property attemptId
494 495 496 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 494 def attempt_id @attempt_id end |
#completed ⇒ Boolean Also known as: completed?
Corresponds to the JSON property completed
499 500 501 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 499 def completed @completed end |
#duration_millis ⇒ Fixnum
Corresponds to the JSON property durationMillis
505 506 507 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 505 def duration_millis @duration_millis end |
#end_time ⇒ String
Corresponds to the JSON property endTime
510 511 512 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 510 def end_time @end_time end |
#last_updated ⇒ String
Corresponds to the JSON property lastUpdated
515 516 517 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 515 def last_updated @last_updated end |
#spark_user ⇒ String
Corresponds to the JSON property sparkUser
520 521 522 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 520 def spark_user @spark_user end |
#start_time ⇒ String
Corresponds to the JSON property startTime
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 |