Class: Google::Apis::DataprocV1::SparkRuntimeInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SparkRuntimeInfo
- 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
Instance Attribute Summary collapse
-
#java_home ⇒ String
Corresponds to the JSON property
javaHome
. -
#java_version ⇒ String
Corresponds to the JSON property
javaVersion
. -
#scala_version ⇒ String
Corresponds to the JSON property
scalaVersion
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SparkRuntimeInfo
constructor
A new instance of SparkRuntimeInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SparkRuntimeInfo
Returns a new instance of SparkRuntimeInfo.
8725 8726 8727 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8725 def initialize(**args) update!(**args) end |
Instance Attribute Details
#java_home ⇒ String
Corresponds to the JSON property javaHome
8713 8714 8715 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8713 def java_home @java_home end |
#java_version ⇒ String
Corresponds to the JSON property javaVersion
8718 8719 8720 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8718 def java_version @java_version end |
#scala_version ⇒ String
Corresponds to the JSON property scalaVersion
8723 8724 8725 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8723 def scala_version @scala_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8730 8731 8732 8733 8734 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8730 def update!(**args) @java_home = args[:java_home] if args.key?(:java_home) @java_version = args[:java_version] if args.key?(:java_version) @scala_version = args[:scala_version] if args.key?(:scala_version) end |