#[non_exhaustive]pub struct Featurestore {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub etag: String,
pub labels: HashMap<String, String>,
pub online_serving_config: Option<OnlineServingConfig>,
pub state: State,
pub online_storage_ttl_days: i32,
pub encryption_spec: Option<EncryptionSpec>,
pub satisfies_pzs: bool,
pub satisfies_pzi: bool,
/* private fields */
}featurestore-service only.Expand description
Vertex AI Feature Store provides a centralized repository for organizing, storing, and serving ML features. The Featurestore is a top-level container for your features and their values.
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.name: StringOutput only. Name of the Featurestore. Format:
projects/{project}/locations/{location}/featurestores/{featurestore}
create_time: Option<Timestamp>Output only. Timestamp when this Featurestore was created.
update_time: Option<Timestamp>Output only. Timestamp when this Featurestore was last updated.
etag: StringOptional. Used to perform consistent read-modify-write updates. If not set, a blind “overwrite” update happens.
labels: HashMap<String, String>Optional. The labels with user-defined metadata to organize your Featurestore.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed.
See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one Featurestore(System labels are excluded).“ System reserved label keys are prefixed with “aiplatform.googleapis.com/” and are immutable.
online_serving_config: Option<OnlineServingConfig>Optional. Config for online storage resources. The field should not
co-exist with the field of OnlineStoreReplicationConfig. If both of it
and OnlineStoreReplicationConfig are unset, the feature store will not have
an online store and cannot be used for online serving.
state: StateOutput only. State of the featurestore.
online_storage_ttl_days: i32Optional. TTL in days for feature values that will be stored in online
serving storage. The Feature Store online storage periodically removes
obsolete feature values older than online_storage_ttl_days since the
feature generation time. Note that online_storage_ttl_days should be less
than or equal to offline_storage_ttl_days for each EntityType under a
featurestore. If not set, default to 4000 days
encryption_spec: Option<EncryptionSpec>Optional. Customer-managed encryption key spec for data storage. If set, both of the online and offline data storage will be secured by this key.
satisfies_pzs: boolOutput only. Reserved for future use.
satisfies_pzi: boolOutput only. Reserved for future use.
Implementations§
Source§impl Featurestore
impl Featurestore
pub fn new() -> Self
Sourcepub fn set_create_time<T>(self, v: T) -> Self
pub fn set_create_time<T>(self, v: T) -> Self
Sets the value of create_time.
§Example
use wkt::Timestamp;
let x = Featurestore::new().set_create_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of create_time.
§Example
use wkt::Timestamp;
let x = Featurestore::new().set_or_clear_create_time(Some(Timestamp::default()/* use setters */));
let x = Featurestore::new().set_or_clear_create_time(None::<Timestamp>);Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
§Example
use wkt::Timestamp;
let x = Featurestore::new().set_update_time(Timestamp::default()/* use setters */);Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
§Example
use wkt::Timestamp;
let x = Featurestore::new().set_or_clear_update_time(Some(Timestamp::default()/* use setters */));
let x = Featurestore::new().set_or_clear_update_time(None::<Timestamp>);Sourcepub fn set_labels<T, K, V>(self, v: T) -> Self
pub fn set_labels<T, K, V>(self, v: T) -> Self
Sourcepub fn set_online_serving_config<T>(self, v: T) -> Selfwhere
T: Into<OnlineServingConfig>,
pub fn set_online_serving_config<T>(self, v: T) -> Selfwhere
T: Into<OnlineServingConfig>,
Sets the value of online_serving_config.
§Example
use google_cloud_aiplatform_v1::model::featurestore::OnlineServingConfig;
let x = Featurestore::new().set_online_serving_config(OnlineServingConfig::default()/* use setters */);Sourcepub fn set_or_clear_online_serving_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<OnlineServingConfig>,
pub fn set_or_clear_online_serving_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<OnlineServingConfig>,
Sets or clears the value of online_serving_config.
§Example
use google_cloud_aiplatform_v1::model::featurestore::OnlineServingConfig;
let x = Featurestore::new().set_or_clear_online_serving_config(Some(OnlineServingConfig::default()/* use setters */));
let x = Featurestore::new().set_or_clear_online_serving_config(None::<OnlineServingConfig>);Sourcepub fn set_online_storage_ttl_days<T: Into<i32>>(self, v: T) -> Self
pub fn set_online_storage_ttl_days<T: Into<i32>>(self, v: T) -> Self
Sets the value of online_storage_ttl_days.
§Example
let x = Featurestore::new().set_online_storage_ttl_days(42);Sourcepub fn set_encryption_spec<T>(self, v: T) -> Selfwhere
T: Into<EncryptionSpec>,
pub fn set_encryption_spec<T>(self, v: T) -> Selfwhere
T: Into<EncryptionSpec>,
Sets the value of encryption_spec.
§Example
use google_cloud_aiplatform_v1::model::EncryptionSpec;
let x = Featurestore::new().set_encryption_spec(EncryptionSpec::default()/* use setters */);Sourcepub fn set_or_clear_encryption_spec<T>(self, v: Option<T>) -> Selfwhere
T: Into<EncryptionSpec>,
pub fn set_or_clear_encryption_spec<T>(self, v: Option<T>) -> Selfwhere
T: Into<EncryptionSpec>,
Sets or clears the value of encryption_spec.
§Example
use google_cloud_aiplatform_v1::model::EncryptionSpec;
let x = Featurestore::new().set_or_clear_encryption_spec(Some(EncryptionSpec::default()/* use setters */));
let x = Featurestore::new().set_or_clear_encryption_spec(None::<EncryptionSpec>);Sourcepub fn set_satisfies_pzs<T: Into<bool>>(self, v: T) -> Self
pub fn set_satisfies_pzs<T: Into<bool>>(self, v: T) -> Self
Sourcepub fn set_satisfies_pzi<T: Into<bool>>(self, v: T) -> Self
pub fn set_satisfies_pzi<T: Into<bool>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for Featurestore
impl Clone for Featurestore
Source§fn clone(&self) -> Featurestore
fn clone(&self) -> Featurestore
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more