#[non_exhaustive]pub struct FeatureViewSync {
pub name: String,
pub create_time: Option<Timestamp>,
pub run_time: Option<Interval>,
pub final_status: Option<Status>,
pub sync_summary: Option<SyncSummary>,
pub satisfies_pzs: bool,
pub satisfies_pzi: bool,
/* private fields */
}feature-online-store-admin-service only.Expand description
FeatureViewSync is a representation of sync operation which copies data from data source to Feature View in Online Store.
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: StringIdentifier. Name of the FeatureViewSync. Format:
projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}
create_time: Option<Timestamp>Output only. Time when this FeatureViewSync is created. Creation of a FeatureViewSync means that the job is pending / waiting for sufficient resources but may not have started the actual data transfer yet.
run_time: Option<Interval>Output only. Time when this FeatureViewSync is finished.
final_status: Option<Status>Output only. Final status of the FeatureViewSync.
sync_summary: Option<SyncSummary>Output only. Summary of the sync job.
satisfies_pzs: boolOutput only. Reserved for future use.
satisfies_pzi: boolOutput only. Reserved for future use.
Implementations§
Source§impl FeatureViewSync
impl FeatureViewSync
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 = FeatureViewSync::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 = FeatureViewSync::new().set_or_clear_create_time(Some(Timestamp::default()/* use setters */));
let x = FeatureViewSync::new().set_or_clear_create_time(None::<Timestamp>);Sourcepub fn set_run_time<T>(self, v: T) -> Self
pub fn set_run_time<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_run_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_run_time<T>(self, v: Option<T>) -> Self
Sourcepub fn set_final_status<T>(self, v: T) -> Self
pub fn set_final_status<T>(self, v: T) -> Self
Sets the value of final_status.
§Example
use rpc::model::Status;
let x = FeatureViewSync::new().set_final_status(Status::default()/* use setters */);Sourcepub fn set_or_clear_final_status<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_final_status<T>(self, v: Option<T>) -> Self
Sets or clears the value of final_status.
§Example
use rpc::model::Status;
let x = FeatureViewSync::new().set_or_clear_final_status(Some(Status::default()/* use setters */));
let x = FeatureViewSync::new().set_or_clear_final_status(None::<Status>);Sourcepub fn set_sync_summary<T>(self, v: T) -> Selfwhere
T: Into<SyncSummary>,
pub fn set_sync_summary<T>(self, v: T) -> Selfwhere
T: Into<SyncSummary>,
Sets the value of sync_summary.
§Example
use google_cloud_aiplatform_v1::model::feature_view_sync::SyncSummary;
let x = FeatureViewSync::new().set_sync_summary(SyncSummary::default()/* use setters */);Sourcepub fn set_or_clear_sync_summary<T>(self, v: Option<T>) -> Selfwhere
T: Into<SyncSummary>,
pub fn set_or_clear_sync_summary<T>(self, v: Option<T>) -> Selfwhere
T: Into<SyncSummary>,
Sets or clears the value of sync_summary.
§Example
use google_cloud_aiplatform_v1::model::feature_view_sync::SyncSummary;
let x = FeatureViewSync::new().set_or_clear_sync_summary(Some(SyncSummary::default()/* use setters */));
let x = FeatureViewSync::new().set_or_clear_sync_summary(None::<SyncSummary>);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 FeatureViewSync
impl Clone for FeatureViewSync
Source§fn clone(&self) -> FeatureViewSync
fn clone(&self) -> FeatureViewSync
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more