Class: Google::Apis::DataprocV1::ApplicationInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ApplicationInfo
- 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
High level information corresponding to an application.
Instance Attribute Summary collapse
-
#application_context_ingestion_status ⇒ String
Corresponds to the JSON property
applicationContextIngestionStatus. -
#application_id ⇒ String
Corresponds to the JSON property
applicationId. -
#attempts ⇒ Array<Google::Apis::DataprocV1::ApplicationAttemptInfo>
Corresponds to the JSON property
attempts. -
#cores_granted ⇒ Fixnum
Corresponds to the JSON property
coresGranted. -
#cores_per_executor ⇒ Fixnum
Corresponds to the JSON property
coresPerExecutor. -
#max_cores ⇒ Fixnum
Corresponds to the JSON property
maxCores. -
#memory_per_executor_mb ⇒ Fixnum
Corresponds to the JSON property
memoryPerExecutorMb. -
#name ⇒ String
Corresponds to the JSON property
name. -
#quantile_data_status ⇒ String
Corresponds to the JSON property
quantileDataStatus.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplicationInfo
constructor
A new instance of ApplicationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplicationInfo
Returns a new instance of ApplicationInfo.
655 656 657 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 655 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_context_ingestion_status ⇒ String
Corresponds to the JSON property applicationContextIngestionStatus
613 614 615 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 613 def application_context_ingestion_status @application_context_ingestion_status end |
#application_id ⇒ String
Corresponds to the JSON property applicationId
618 619 620 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 618 def application_id @application_id end |
#attempts ⇒ Array<Google::Apis::DataprocV1::ApplicationAttemptInfo>
Corresponds to the JSON property attempts
623 624 625 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 623 def attempts @attempts end |
#cores_granted ⇒ Fixnum
Corresponds to the JSON property coresGranted
628 629 630 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 628 def cores_granted @cores_granted end |
#cores_per_executor ⇒ Fixnum
Corresponds to the JSON property coresPerExecutor
633 634 635 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 633 def cores_per_executor @cores_per_executor end |
#max_cores ⇒ Fixnum
Corresponds to the JSON property maxCores
638 639 640 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 638 def max_cores @max_cores end |
#memory_per_executor_mb ⇒ Fixnum
Corresponds to the JSON property memoryPerExecutorMb
643 644 645 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 643 def memory_per_executor_mb @memory_per_executor_mb end |
#name ⇒ String
Corresponds to the JSON property name
648 649 650 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 648 def name @name end |
#quantile_data_status ⇒ String
Corresponds to the JSON property quantileDataStatus
653 654 655 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 653 def quantile_data_status @quantile_data_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
660 661 662 663 664 665 666 667 668 669 670 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 660 def update!(**args) @application_context_ingestion_status = args[:application_context_ingestion_status] if args.key?(:application_context_ingestion_status) @application_id = args[:application_id] if args.key?(:application_id) @attempts = args[:attempts] if args.key?(:attempts) @cores_granted = args[:cores_granted] if args.key?(:cores_granted) @cores_per_executor = args[:cores_per_executor] if args.key?(:cores_per_executor) @max_cores = args[:max_cores] if args.key?(:max_cores) @memory_per_executor_mb = args[:memory_per_executor_mb] if args.key?(:memory_per_executor_mb) @name = args[:name] if args.key?(:name) @quantile_data_status = args[:quantile_data_status] if args.key?(:quantile_data_status) end |