#[non_exhaustive]pub struct OsImageRuntime {
pub image_version: String,
pub java_libraries: Vec<String>,
pub python_packages: Vec<String>,
pub properties: HashMap<String, String>,
/* private fields */
}Expand description
Software Runtime Configuration to run Analyze.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.image_version: StringRequired. Dataplex Universal Catalog Image version.
java_libraries: Vec<String>Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
python_packages: Vec<String>Optional. A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
properties: HashMap<String, String>Optional. Spark properties to provide configuration for use in sessions
created for this environment. The properties to set on daemon config
files. Property keys are specified in prefix:property format. The
prefix must be “spark”.
Implementations§
Source§impl OsImageRuntime
impl OsImageRuntime
pub fn new() -> Self
Sourcepub fn set_image_version<T: Into<String>>(self, v: T) -> Self
pub fn set_image_version<T: Into<String>>(self, v: T) -> Self
Sets the value of image_version.
Sourcepub fn set_java_libraries<T, V>(self, v: T) -> Self
pub fn set_java_libraries<T, V>(self, v: T) -> Self
Sets the value of java_libraries.
Sourcepub fn set_python_packages<T, V>(self, v: T) -> Self
pub fn set_python_packages<T, V>(self, v: T) -> Self
Sets the value of python_packages.
Sourcepub fn set_properties<T, K, V>(self, v: T) -> Self
pub fn set_properties<T, K, V>(self, v: T) -> Self
Sets the value of properties.
Trait Implementations§
Source§impl Clone for OsImageRuntime
impl Clone for OsImageRuntime
Source§fn clone(&self) -> OsImageRuntime
fn clone(&self) -> OsImageRuntime
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more