Class: Google::Apis::DataprocV1beta2::SoftwareConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataprocV1beta2::SoftwareConfig
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/google/apis/dataproc_v1beta2/representations.rb 
Overview
Specifies the selection and config of software inside the cluster.
Instance Attribute Summary collapse
- 
  
    
      #image_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #optional_components  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The set of optional components to activate on the cluster.
 - 
  
    
      #properties  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SoftwareConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SoftwareConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SoftwareConfig
Returns a new instance of SoftwareConfig
      2077 2078 2079  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2077 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#image_version ⇒ String
Optional. The version of software inside the cluster. It must be one of the
supported Cloud Dataproc Versions, such as "1.2" (including a subminor version,
such as "1.2.29"), or the "preview" version. If unspecified, it defaults to
the latest version.
Corresponds to the JSON property imageVersion
      2054 2055 2056  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2054 def image_version @image_version end  | 
  
#optional_components ⇒ Array<String>
The set of optional components to activate on the cluster.
Corresponds to the JSON property optionalComponents
      2059 2060 2061  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2059 def optional_components @optional_components end  | 
  
#properties ⇒ Hash<String,String>
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:
capacity-scheduler: capacity-scheduler.xml
core: core-site.xml
distcp: distcp-default.xml
hdfs: hdfs-site.xml
hive: hive-site.xml
mapred: mapred-site.xml
pig: pig.properties
spark: spark-defaults.conf
yarn: yarn-site.xmlFor more information, see Cluster properties.
Corresponds to the JSON property properties
      2075 2076 2077  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2075 def properties @properties end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2082 2083 2084 2085 2086  | 
    
      # File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2082 def update!(**args) @image_version = args[:image_version] if args.key?(:image_version) @optional_components = args[:optional_components] if args.key?(:optional_components) @properties = args[:properties] if args.key?(:properties) end  |