Struct google_dataproc1::SoftwareConfig
source · pub struct SoftwareConfig {
pub image_version: Option<String>,
pub properties: Option<HashMap<String, String>>,
}Expand description
Specifies the selection and config of software inside the cluster.
This type is not used in any activity, and only used as part of another schema.
Fields§
§image_version: Option<String>Optional. The version of software inside the cluster. It must match the regular expression [0-9]+.[0-9]+. If unspecified, it defaults to the latest version (see Cloud Dataproc Versioning).
properties: Option<HashMap<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.xml
Trait Implementations§
source§impl Clone for SoftwareConfig
impl Clone for SoftwareConfig
source§fn clone(&self) -> SoftwareConfig
fn clone(&self) -> SoftwareConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SoftwareConfig
impl Debug for SoftwareConfig
source§impl Default for SoftwareConfig
impl Default for SoftwareConfig
source§fn default() -> SoftwareConfig
fn default() -> SoftwareConfig
Returns the “default value” for a type. Read more
source§impl Deserialize for SoftwareConfig
impl Deserialize for SoftwareConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for SoftwareConfig
impl Serialize for SoftwareConfig
impl Part for SoftwareConfig
Auto Trait Implementations§
impl Freeze for SoftwareConfig
impl RefUnwindSafe for SoftwareConfig
impl Send for SoftwareConfig
impl Sync for SoftwareConfig
impl Unpin for SoftwareConfig
impl UnwindSafe for SoftwareConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more