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.



654
655
656
# File 'lib/google/apis/dataproc_v1/classes.rb', line 654

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#application_context_ingestion_statusString

Corresponds to the JSON property applicationContextIngestionStatus

Returns:

  • (String)


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

def application_context_ingestion_status
  @application_context_ingestion_status
end

#application_idString

Corresponds to the JSON property applicationId

Returns:

  • (String)


617
618
619
# File 'lib/google/apis/dataproc_v1/classes.rb', line 617

def application_id
  @application_id
end

#attemptsArray<Google::Apis::DataprocV1::ApplicationAttemptInfo>

Corresponds to the JSON property attempts



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

def attempts
  @attempts
end

#cores_grantedFixnum

Corresponds to the JSON property coresGranted

Returns:

  • (Fixnum)


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

def cores_granted
  @cores_granted
end

#cores_per_executorFixnum

Corresponds to the JSON property coresPerExecutor

Returns:

  • (Fixnum)


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

def cores_per_executor
  @cores_per_executor
end

#max_coresFixnum

Corresponds to the JSON property maxCores

Returns:

  • (Fixnum)


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

def max_cores
  @max_cores
end

#memory_per_executor_mbFixnum

Corresponds to the JSON property memoryPerExecutorMb

Returns:

  • (Fixnum)


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

def memory_per_executor_mb
  @memory_per_executor_mb
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


647
648
649
# File 'lib/google/apis/dataproc_v1/classes.rb', line 647

def name
  @name
end

#quantile_data_statusString

Corresponds to the JSON property quantileDataStatus

Returns:

  • (String)


652
653
654
# File 'lib/google/apis/dataproc_v1/classes.rb', line 652

def quantile_data_status
  @quantile_data_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



659
660
661
662
663
664
665
666
667
668
669
# File 'lib/google/apis/dataproc_v1/classes.rb', line 659

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