#[non_exhaustive]pub struct VirtualClusterConfig {
pub staging_bucket: String,
pub auxiliary_services_config: Option<AuxiliaryServicesConfig>,
pub infrastructure_config: Option<InfrastructureConfig>,
/* private fields */
}Expand description
The Dataproc cluster config for a cluster that does not directly control the underlying compute resources, such as a Dataproc-on-GKE cluster.
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.staging_bucket: StringOptional. A Cloud Storage bucket used to stage job
dependencies, config files, and job driver console output.
If you do not specify a staging bucket, Cloud
Dataproc will determine a Cloud Storage location (US,
ASIA, or EU) for your cluster’s staging bucket according to the
Compute Engine zone where your cluster is deployed, and then create
and manage this project-level, per-location bucket (see
Dataproc staging and temp
buckets).
This field requires a Cloud Storage bucket name, not a gs://... URI to
a Cloud Storage bucket.
auxiliary_services_config: Option<AuxiliaryServicesConfig>Optional. Configuration of auxiliary services used by this cluster.
infrastructure_config: Option<InfrastructureConfig>Implementations§
Source§impl VirtualClusterConfig
impl VirtualClusterConfig
pub fn new() -> Self
Sourcepub fn set_staging_bucket<T: Into<String>>(self, v: T) -> Self
pub fn set_staging_bucket<T: Into<String>>(self, v: T) -> Self
Sets the value of staging_bucket.
Sourcepub fn set_auxiliary_services_config<T>(self, v: T) -> Selfwhere
T: Into<AuxiliaryServicesConfig>,
pub fn set_auxiliary_services_config<T>(self, v: T) -> Selfwhere
T: Into<AuxiliaryServicesConfig>,
Sets the value of auxiliary_services_config.
Sourcepub fn set_or_clear_auxiliary_services_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<AuxiliaryServicesConfig>,
pub fn set_or_clear_auxiliary_services_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<AuxiliaryServicesConfig>,
Sets or clears the value of auxiliary_services_config.
Sourcepub fn set_infrastructure_config<T: Into<Option<InfrastructureConfig>>>(
self,
v: T,
) -> Self
pub fn set_infrastructure_config<T: Into<Option<InfrastructureConfig>>>( self, v: T, ) -> Self
Sets the value of infrastructure_config.
Note that all the setters affecting infrastructure_config are mutually
exclusive.
Sourcepub fn kubernetes_cluster_config(&self) -> Option<&Box<KubernetesClusterConfig>>
pub fn kubernetes_cluster_config(&self) -> Option<&Box<KubernetesClusterConfig>>
The value of infrastructure_config
if it holds a KubernetesClusterConfig, None if the field is not set or
holds a different branch.
Sourcepub fn set_kubernetes_cluster_config<T: Into<Box<KubernetesClusterConfig>>>(
self,
v: T,
) -> Self
pub fn set_kubernetes_cluster_config<T: Into<Box<KubernetesClusterConfig>>>( self, v: T, ) -> Self
Sets the value of infrastructure_config
to hold a KubernetesClusterConfig.
Note that all the setters affecting infrastructure_config are
mutually exclusive.
Trait Implementations§
Source§impl Clone for VirtualClusterConfig
impl Clone for VirtualClusterConfig
Source§fn clone(&self) -> VirtualClusterConfig
fn clone(&self) -> VirtualClusterConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more