class Google::Apis::DataprocV1::SoftwareConfig

Specifies the selection and config of software inside the cluster.

Attributes

image_version[RW]
Optional

The version of software inside the cluster. It must match the

regular expression `[0-9]+.+`. If unspecified, it defaults to the latest version (see [Cloud Dataproc Versioning](/dataproc/versioning)). Corresponds to the JSON property `imageVersion` @return [String]

properties[RW]
Optional

The properties to set on daemon config files. Property keys are

specified in `prefix:property` format, such as `core:fs.defaultFS`. The following are supported prefixes and their mappings: * core: `core-site.xml` * hdfs: `hdfs-site.xml` * mapred: `mapred-site.xml` * yarn: `yarn-site.xml` * hive: `hive-site.xml` * pig: `pig.properties` * spark: `spark-defaults.conf` Corresponds to the JSON property `properties` @return [Hash<String,String>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dataproc_v1/classes.rb, line 368
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dataproc_v1/classes.rb, line 373
def update!(**args)
  @image_version = args[:image_version] if args.key?(:image_version)
  @properties = args[:properties] if args.key?(:properties)
end