Class: Google::Apis::DataprocV1beta2::YarnApplication
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1beta2::YarnApplication
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/google/apis/dataproc_v1beta2/representations.rb
Overview
A YARN application created by a job. Application information is a subset of org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.Beta Feature: This report is available for testing purposes only. It may be changed before final release.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#progress ⇒ Float
Output only.
-
#state ⇒ String
Output only.
-
#tracking_url ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YarnApplication
constructor
A new instance of YarnApplication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YarnApplication
Returns a new instance of YarnApplication.
3775 3776 3777 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 3775 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. The application name.
Corresponds to the JSON property name
3755 3756 3757 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 3755 def name @name end |
#progress ⇒ Float
Output only. The numerical progress of the application, from 1 to 100.
Corresponds to the JSON property progress
3760 3761 3762 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 3760 def progress @progress end |
#state ⇒ String
Output only. The application state.
Corresponds to the JSON property state
3765 3766 3767 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 3765 def state @state end |
#tracking_url ⇒ String
Output only. The HTTP URL of the ApplicationMaster, HistoryServer, or
TimelineServer that provides application-specific information. The URL uses
the internal hostname, and requires a proxy server for resolution and,
possibly, access.
Corresponds to the JSON property trackingUrl
3773 3774 3775 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 3773 def tracking_url @tracking_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3780 3781 3782 3783 3784 3785 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 3780 def update!(**args) @name = args[:name] if args.key?(:name) @progress = args[:progress] if args.key?(:progress) @state = args[:state] if args.key?(:state) @tracking_url = args[:tracking_url] if args.key?(:tracking_url) end |