Class: Google::Apis::DataprocV1::ApplicationEnvironmentInfo

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

Details about the Environment that the application is running in.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApplicationEnvironmentInfo

Returns a new instance of ApplicationEnvironmentInfo.



583
584
585
# File 'lib/google/apis/dataproc_v1/classes.rb', line 583

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

Instance Attribute Details

#classpath_entriesHash<String,String>

Corresponds to the JSON property classpathEntries

Returns:

  • (Hash<String,String>)


551
552
553
# File 'lib/google/apis/dataproc_v1/classes.rb', line 551

def classpath_entries
  @classpath_entries
end

#hadoop_propertiesHash<String,String>

Corresponds to the JSON property hadoopProperties

Returns:

  • (Hash<String,String>)


556
557
558
# File 'lib/google/apis/dataproc_v1/classes.rb', line 556

def hadoop_properties
  @hadoop_properties
end

#metrics_propertiesHash<String,String>

Corresponds to the JSON property metricsProperties

Returns:

  • (Hash<String,String>)


561
562
563
# File 'lib/google/apis/dataproc_v1/classes.rb', line 561

def metrics_properties
  @metrics_properties
end

#resource_profilesArray<Google::Apis::DataprocV1::ResourceProfileInfo>

Corresponds to the JSON property resourceProfiles



566
567
568
# File 'lib/google/apis/dataproc_v1/classes.rb', line 566

def resource_profiles
  @resource_profiles
end

#runtimeGoogle::Apis::DataprocV1::SparkRuntimeInfo

Corresponds to the JSON property runtime



571
572
573
# File 'lib/google/apis/dataproc_v1/classes.rb', line 571

def runtime
  @runtime
end

#spark_propertiesHash<String,String>

Corresponds to the JSON property sparkProperties

Returns:

  • (Hash<String,String>)


576
577
578
# File 'lib/google/apis/dataproc_v1/classes.rb', line 576

def spark_properties
  @spark_properties
end

#system_propertiesHash<String,String>

Corresponds to the JSON property systemProperties

Returns:

  • (Hash<String,String>)


581
582
583
# File 'lib/google/apis/dataproc_v1/classes.rb', line 581

def system_properties
  @system_properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



588
589
590
591
592
593
594
595
596
# File 'lib/google/apis/dataproc_v1/classes.rb', line 588

def update!(**args)
  @classpath_entries = args[:classpath_entries] if args.key?(:classpath_entries)
  @hadoop_properties = args[:hadoop_properties] if args.key?(:hadoop_properties)
  @metrics_properties = args[:metrics_properties] if args.key?(:metrics_properties)
  @resource_profiles = args[:resource_profiles] if args.key?(:resource_profiles)
  @runtime = args[:runtime] if args.key?(:runtime)
  @spark_properties = args[:spark_properties] if args.key?(:spark_properties)
  @system_properties = args[:system_properties] if args.key?(:system_properties)
end