#[non_exhaustive]pub struct CreateFeatureViewRequest {
pub parent: String,
pub feature_view: Option<FeatureView>,
pub feature_view_id: String,
pub run_sync_immediately: bool,
/* private fields */
}Expand description
Request message for FeatureOnlineStoreAdminService.CreateFeatureView.
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.parent: StringRequired. The resource name of the FeatureOnlineStore to create
FeatureViews. Format:
projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}
feature_view: Option<FeatureView>Required. The FeatureView to create.
feature_view_id: StringRequired. The ID to use for the FeatureView, which will become the final component of the FeatureView’s resource name.
This value may be up to 60 characters, and valid characters are
[a-z0-9_]. The first character cannot be a number.
The value must be unique within a FeatureOnlineStore.
run_sync_immediately: boolImmutable. If set to true, one on demand sync will be run immediately, regardless whether the FeatureView.sync_config is configured or not.
Implementations§
Source§impl CreateFeatureViewRequest
impl CreateFeatureViewRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_feature_view<T: Into<Option<FeatureView>>>(self, v: T) -> Self
pub fn set_feature_view<T: Into<Option<FeatureView>>>(self, v: T) -> Self
Sets the value of feature_view.
Sourcepub fn set_feature_view_id<T: Into<String>>(self, v: T) -> Self
pub fn set_feature_view_id<T: Into<String>>(self, v: T) -> Self
Sets the value of feature_view_id.
Sourcepub fn set_run_sync_immediately<T: Into<bool>>(self, v: T) -> Self
pub fn set_run_sync_immediately<T: Into<bool>>(self, v: T) -> Self
Sets the value of run_sync_immediately.
Trait Implementations§
Source§impl Clone for CreateFeatureViewRequest
impl Clone for CreateFeatureViewRequest
Source§fn clone(&self) -> CreateFeatureViewRequest
fn clone(&self) -> CreateFeatureViewRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more