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.
648 649 650 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 648 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_context_ingestion_status ⇒ String
Corresponds to the JSON property applicationContextIngestionStatus
606 607 608 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 606 def application_context_ingestion_status @application_context_ingestion_status end |
#application_id ⇒ String
Corresponds to the JSON property applicationId
611 612 613 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 611 def application_id @application_id end |
#attempts ⇒ Array<Google::Apis::DataprocV1::ApplicationAttemptInfo>
Corresponds to the JSON property attempts
616 617 618 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 616 def attempts @attempts end |
#cores_granted ⇒ Fixnum
Corresponds to the JSON property coresGranted
621 622 623 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 621 def cores_granted @cores_granted end |
#cores_per_executor ⇒ Fixnum
Corresponds to the JSON property coresPerExecutor
626 627 628 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 626 def cores_per_executor @cores_per_executor end |
#max_cores ⇒ Fixnum
Corresponds to the JSON property maxCores
631 632 633 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 631 def max_cores @max_cores end |
#memory_per_executor_mb ⇒ Fixnum
Corresponds to the JSON property memoryPerExecutorMb
636 637 638 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 636 def memory_per_executor_mb @memory_per_executor_mb end |
#name ⇒ String
Corresponds to the JSON property name
641 642 643 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 641 def name @name end |
#quantile_data_status ⇒ String
Corresponds to the JSON property quantileDataStatus
646 647 648 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 646 def quantile_data_status @quantile_data_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
653 654 655 656 657 658 659 660 661 662 663 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 653 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 |