Class: Google::Apis::DataprocV1::SparkRuntimeInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SparkRuntimeInfo

Returns a new instance of SparkRuntimeInfo.



9311
9312
9313
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9311

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

Instance Attribute Details

#java_homeString

Corresponds to the JSON property javaHome

Returns:

  • (String)


9299
9300
9301
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9299

def java_home
  @java_home
end

#java_versionString

Corresponds to the JSON property javaVersion

Returns:

  • (String)


9304
9305
9306
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9304

def java_version
  @java_version
end

#scala_versionString

Corresponds to the JSON property scalaVersion

Returns:

  • (String)


9309
9310
9311
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9309

def scala_version
  @scala_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9316
9317
9318
9319
9320
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9316

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