#[non_exhaustive]pub struct FeaturestoreMonitoringConfig {
pub snapshot_analysis: Option<SnapshotAnalysis>,
pub import_features_analysis: Option<ImportFeaturesAnalysis>,
pub numerical_threshold_config: Option<ThresholdConfig>,
pub categorical_threshold_config: Option<ThresholdConfig>,
/* private fields */
}featurestore-service only.Expand description
Configuration of how features in Featurestore are monitored.
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.snapshot_analysis: Option<SnapshotAnalysis>The config for Snapshot Analysis Based Feature Monitoring.
import_features_analysis: Option<ImportFeaturesAnalysis>The config for ImportFeatures Analysis Based Feature Monitoring.
numerical_threshold_config: Option<ThresholdConfig>Threshold for numerical features of anomaly detection. This is shared by all objectives of Featurestore Monitoring for numerical features (i.e. Features with type (Feature.ValueType) DOUBLE or INT64).
categorical_threshold_config: Option<ThresholdConfig>Threshold for categorical features of anomaly detection. This is shared by all types of Featurestore Monitoring for categorical features (i.e. Features with type (Feature.ValueType) BOOL or STRING).
Implementations§
Source§impl FeaturestoreMonitoringConfig
impl FeaturestoreMonitoringConfig
pub fn new() -> Self
Sourcepub fn set_snapshot_analysis<T>(self, v: T) -> Selfwhere
T: Into<SnapshotAnalysis>,
pub fn set_snapshot_analysis<T>(self, v: T) -> Selfwhere
T: Into<SnapshotAnalysis>,
Sets the value of snapshot_analysis.
§Example
use google_cloud_aiplatform_v1::model::featurestore_monitoring_config::SnapshotAnalysis;
let x = FeaturestoreMonitoringConfig::new().set_snapshot_analysis(SnapshotAnalysis::default()/* use setters */);Sourcepub fn set_or_clear_snapshot_analysis<T>(self, v: Option<T>) -> Selfwhere
T: Into<SnapshotAnalysis>,
pub fn set_or_clear_snapshot_analysis<T>(self, v: Option<T>) -> Selfwhere
T: Into<SnapshotAnalysis>,
Sets or clears the value of snapshot_analysis.
§Example
use google_cloud_aiplatform_v1::model::featurestore_monitoring_config::SnapshotAnalysis;
let x = FeaturestoreMonitoringConfig::new().set_or_clear_snapshot_analysis(Some(SnapshotAnalysis::default()/* use setters */));
let x = FeaturestoreMonitoringConfig::new().set_or_clear_snapshot_analysis(None::<SnapshotAnalysis>);Sourcepub fn set_import_features_analysis<T>(self, v: T) -> Selfwhere
T: Into<ImportFeaturesAnalysis>,
pub fn set_import_features_analysis<T>(self, v: T) -> Selfwhere
T: Into<ImportFeaturesAnalysis>,
Sets the value of import_features_analysis.
§Example
use google_cloud_aiplatform_v1::model::featurestore_monitoring_config::ImportFeaturesAnalysis;
let x = FeaturestoreMonitoringConfig::new().set_import_features_analysis(ImportFeaturesAnalysis::default()/* use setters */);Sourcepub fn set_or_clear_import_features_analysis<T>(self, v: Option<T>) -> Selfwhere
T: Into<ImportFeaturesAnalysis>,
pub fn set_or_clear_import_features_analysis<T>(self, v: Option<T>) -> Selfwhere
T: Into<ImportFeaturesAnalysis>,
Sets or clears the value of import_features_analysis.
§Example
use google_cloud_aiplatform_v1::model::featurestore_monitoring_config::ImportFeaturesAnalysis;
let x = FeaturestoreMonitoringConfig::new().set_or_clear_import_features_analysis(Some(ImportFeaturesAnalysis::default()/* use setters */));
let x = FeaturestoreMonitoringConfig::new().set_or_clear_import_features_analysis(None::<ImportFeaturesAnalysis>);Sourcepub fn set_numerical_threshold_config<T>(self, v: T) -> Selfwhere
T: Into<ThresholdConfig>,
pub fn set_numerical_threshold_config<T>(self, v: T) -> Selfwhere
T: Into<ThresholdConfig>,
Sets the value of numerical_threshold_config.
§Example
use google_cloud_aiplatform_v1::model::featurestore_monitoring_config::ThresholdConfig;
let x = FeaturestoreMonitoringConfig::new().set_numerical_threshold_config(ThresholdConfig::default()/* use setters */);Sourcepub fn set_or_clear_numerical_threshold_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<ThresholdConfig>,
pub fn set_or_clear_numerical_threshold_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<ThresholdConfig>,
Sets or clears the value of numerical_threshold_config.
§Example
use google_cloud_aiplatform_v1::model::featurestore_monitoring_config::ThresholdConfig;
let x = FeaturestoreMonitoringConfig::new().set_or_clear_numerical_threshold_config(Some(ThresholdConfig::default()/* use setters */));
let x = FeaturestoreMonitoringConfig::new().set_or_clear_numerical_threshold_config(None::<ThresholdConfig>);Sourcepub fn set_categorical_threshold_config<T>(self, v: T) -> Selfwhere
T: Into<ThresholdConfig>,
pub fn set_categorical_threshold_config<T>(self, v: T) -> Selfwhere
T: Into<ThresholdConfig>,
Sets the value of categorical_threshold_config.
§Example
use google_cloud_aiplatform_v1::model::featurestore_monitoring_config::ThresholdConfig;
let x = FeaturestoreMonitoringConfig::new().set_categorical_threshold_config(ThresholdConfig::default()/* use setters */);Sourcepub fn set_or_clear_categorical_threshold_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<ThresholdConfig>,
pub fn set_or_clear_categorical_threshold_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<ThresholdConfig>,
Sets or clears the value of categorical_threshold_config.
§Example
use google_cloud_aiplatform_v1::model::featurestore_monitoring_config::ThresholdConfig;
let x = FeaturestoreMonitoringConfig::new().set_or_clear_categorical_threshold_config(Some(ThresholdConfig::default()/* use setters */));
let x = FeaturestoreMonitoringConfig::new().set_or_clear_categorical_threshold_config(None::<ThresholdConfig>);Trait Implementations§
Source§impl Clone for FeaturestoreMonitoringConfig
impl Clone for FeaturestoreMonitoringConfig
Source§fn clone(&self) -> FeaturestoreMonitoringConfig
fn clone(&self) -> FeaturestoreMonitoringConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FeaturestoreMonitoringConfig
impl Debug for FeaturestoreMonitoringConfig
Source§impl Default for FeaturestoreMonitoringConfig
impl Default for FeaturestoreMonitoringConfig
Source§fn default() -> FeaturestoreMonitoringConfig
fn default() -> FeaturestoreMonitoringConfig
Source§impl PartialEq for FeaturestoreMonitoringConfig
impl PartialEq for FeaturestoreMonitoringConfig
Source§fn eq(&self, other: &FeaturestoreMonitoringConfig) -> bool
fn eq(&self, other: &FeaturestoreMonitoringConfig) -> bool
self and other values to be equal, and is used by ==.