Class: Google::Apis::DataprocV1::ApplicationEnvironmentInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ApplicationEnvironmentInfo
- 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
-
#classpath_entries ⇒ Hash<String,String>
Corresponds to the JSON property
classpathEntries. -
#hadoop_properties ⇒ Hash<String,String>
Corresponds to the JSON property
hadoopProperties. -
#metrics_properties ⇒ Hash<String,String>
Corresponds to the JSON property
metricsProperties. -
#resource_profiles ⇒ Array<Google::Apis::DataprocV1::ResourceProfileInfo>
Corresponds to the JSON property
resourceProfiles. -
#runtime ⇒ Google::Apis::DataprocV1::SparkRuntimeInfo
Corresponds to the JSON property
runtime. -
#spark_properties ⇒ Hash<String,String>
Corresponds to the JSON property
sparkProperties. -
#system_properties ⇒ Hash<String,String>
Corresponds to the JSON property
systemProperties.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplicationEnvironmentInfo
constructor
A new instance of ApplicationEnvironmentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplicationEnvironmentInfo
Returns a new instance of ApplicationEnvironmentInfo.
589 590 591 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 589 def initialize(**args) update!(**args) end |
Instance Attribute Details
#classpath_entries ⇒ Hash<String,String>
Corresponds to the JSON property classpathEntries
557 558 559 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 557 def classpath_entries @classpath_entries end |
#hadoop_properties ⇒ Hash<String,String>
Corresponds to the JSON property hadoopProperties
562 563 564 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 562 def hadoop_properties @hadoop_properties end |
#metrics_properties ⇒ Hash<String,String>
Corresponds to the JSON property metricsProperties
567 568 569 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 567 def metrics_properties @metrics_properties end |
#resource_profiles ⇒ Array<Google::Apis::DataprocV1::ResourceProfileInfo>
Corresponds to the JSON property resourceProfiles
572 573 574 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 572 def resource_profiles @resource_profiles end |
#runtime ⇒ Google::Apis::DataprocV1::SparkRuntimeInfo
Corresponds to the JSON property runtime
577 578 579 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 577 def runtime @runtime end |
#spark_properties ⇒ Hash<String,String>
Corresponds to the JSON property sparkProperties
582 583 584 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 582 def spark_properties @spark_properties end |
#system_properties ⇒ Hash<String,String>
Corresponds to the JSON property systemProperties
587 588 589 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 587 def system_properties @system_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
594 595 596 597 598 599 600 601 602 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 594 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 |