#[non_exhaustive]pub struct SelectTimeRangeAndFeature {
pub time_range: Option<Interval>,
pub feature_selector: Option<FeatureSelector>,
pub skip_online_storage_delete: bool,
/* private fields */
}featurestore-service only.Expand description
Message to select time range and feature. Values of the selected feature generated within an inclusive time range will be deleted. Using this option permanently deletes the feature values from the specified feature IDs within the specified time range. This might include data from the online storage. If you want to retain any deleted historical data in the online storage, you must re-ingest it.
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.time_range: Option<Interval>Required. Select feature generated within a half-inclusive time range. The time range is lower inclusive and upper exclusive.
feature_selector: Option<FeatureSelector>Required. Selectors choosing which feature values to be deleted from the EntityType.
skip_online_storage_delete: boolIf set, data will not be deleted from online storage. When time range is older than the data in online storage, setting this to be true will make the deletion have no impact on online serving.
Implementations§
Source§impl SelectTimeRangeAndFeature
impl SelectTimeRangeAndFeature
pub fn new() -> Self
Sourcepub fn set_time_range<T>(self, v: T) -> Self
pub fn set_time_range<T>(self, v: T) -> Self
Sets the value of time_range.
§Example
use gtype::model::Interval;
let x = SelectTimeRangeAndFeature::new().set_time_range(Interval::default()/* use setters */);Sourcepub fn set_or_clear_time_range<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_time_range<T>(self, v: Option<T>) -> Self
Sets or clears the value of time_range.
§Example
use gtype::model::Interval;
let x = SelectTimeRangeAndFeature::new().set_or_clear_time_range(Some(Interval::default()/* use setters */));
let x = SelectTimeRangeAndFeature::new().set_or_clear_time_range(None::<Interval>);Sourcepub fn set_feature_selector<T>(self, v: T) -> Selfwhere
T: Into<FeatureSelector>,
pub fn set_feature_selector<T>(self, v: T) -> Selfwhere
T: Into<FeatureSelector>,
Sets the value of feature_selector.
§Example
use google_cloud_aiplatform_v1::model::FeatureSelector;
let x = SelectTimeRangeAndFeature::new().set_feature_selector(FeatureSelector::default()/* use setters */);Sourcepub fn set_or_clear_feature_selector<T>(self, v: Option<T>) -> Selfwhere
T: Into<FeatureSelector>,
pub fn set_or_clear_feature_selector<T>(self, v: Option<T>) -> Selfwhere
T: Into<FeatureSelector>,
Sets or clears the value of feature_selector.
§Example
use google_cloud_aiplatform_v1::model::FeatureSelector;
let x = SelectTimeRangeAndFeature::new().set_or_clear_feature_selector(Some(FeatureSelector::default()/* use setters */));
let x = SelectTimeRangeAndFeature::new().set_or_clear_feature_selector(None::<FeatureSelector>);Sourcepub fn set_skip_online_storage_delete<T: Into<bool>>(self, v: T) -> Self
pub fn set_skip_online_storage_delete<T: Into<bool>>(self, v: T) -> Self
Sets the value of skip_online_storage_delete.
§Example
let x = SelectTimeRangeAndFeature::new().set_skip_online_storage_delete(true);Trait Implementations§
Source§impl Clone for SelectTimeRangeAndFeature
impl Clone for SelectTimeRangeAndFeature
Source§fn clone(&self) -> SelectTimeRangeAndFeature
fn clone(&self) -> SelectTimeRangeAndFeature
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more