Class: Google::Apis::DataprocV1::ApplicationInfo

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

High level information corresponding to an application.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_statusString

Corresponds to the JSON property applicationContextIngestionStatus

Returns:

  • (String)


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

def application_context_ingestion_status
  @application_context_ingestion_status
end

#application_idString

Corresponds to the JSON property applicationId

Returns:

  • (String)


611
612
613
# File 'lib/google/apis/dataproc_v1/classes.rb', line 611

def application_id
  @application_id
end

#attemptsArray<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_grantedFixnum

Corresponds to the JSON property coresGranted

Returns:

  • (Fixnum)


621
622
623
# File 'lib/google/apis/dataproc_v1/classes.rb', line 621

def cores_granted
  @cores_granted
end

#cores_per_executorFixnum

Corresponds to the JSON property coresPerExecutor

Returns:

  • (Fixnum)


626
627
628
# File 'lib/google/apis/dataproc_v1/classes.rb', line 626

def cores_per_executor
  @cores_per_executor
end

#max_coresFixnum

Corresponds to the JSON property maxCores

Returns:

  • (Fixnum)


631
632
633
# File 'lib/google/apis/dataproc_v1/classes.rb', line 631

def max_cores
  @max_cores
end

#memory_per_executor_mbFixnum

Corresponds to the JSON property memoryPerExecutorMb

Returns:

  • (Fixnum)


636
637
638
# File 'lib/google/apis/dataproc_v1/classes.rb', line 636

def memory_per_executor_mb
  @memory_per_executor_mb
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


641
642
643
# File 'lib/google/apis/dataproc_v1/classes.rb', line 641

def name
  @name
end

#quantile_data_statusString

Corresponds to the JSON property quantileDataStatus

Returns:

  • (String)


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