#[non_exhaustive]pub struct UpdateFeatureOnlineStoreRequest {
pub feature_online_store: Option<FeatureOnlineStore>,
pub update_mask: Option<FieldMask>,
/* private fields */
}feature-online-store-admin-service only.Expand description
Request message for FeatureOnlineStoreAdminService.UpdateFeatureOnlineStore.
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.feature_online_store: Option<FeatureOnlineStore>Required. The FeatureOnlineStore’s name field is used to identify the
FeatureOnlineStore to be updated. Format:
projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}
update_mask: Option<FieldMask>Field mask is used to specify the fields to be overwritten in the
FeatureOnlineStore resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then only the non-empty fields present in the
request will be overwritten. Set the update_mask to * to override all
fields.
Updatable fields:
labelsdescriptionbigtablebigtable.auto_scalingbigtable.enable_multi_region_replica
Implementations§
Source§impl UpdateFeatureOnlineStoreRequest
impl UpdateFeatureOnlineStoreRequest
pub fn new() -> Self
Sourcepub fn set_feature_online_store<T>(self, v: T) -> Selfwhere
T: Into<FeatureOnlineStore>,
pub fn set_feature_online_store<T>(self, v: T) -> Selfwhere
T: Into<FeatureOnlineStore>,
Sets the value of feature_online_store.
§Example
use google_cloud_aiplatform_v1::model::FeatureOnlineStore;
let x = UpdateFeatureOnlineStoreRequest::new().set_feature_online_store(FeatureOnlineStore::default()/* use setters */);Sourcepub fn set_or_clear_feature_online_store<T>(self, v: Option<T>) -> Selfwhere
T: Into<FeatureOnlineStore>,
pub fn set_or_clear_feature_online_store<T>(self, v: Option<T>) -> Selfwhere
T: Into<FeatureOnlineStore>,
Sets or clears the value of feature_online_store.
§Example
use google_cloud_aiplatform_v1::model::FeatureOnlineStore;
let x = UpdateFeatureOnlineStoreRequest::new().set_or_clear_feature_online_store(Some(FeatureOnlineStore::default()/* use setters */));
let x = UpdateFeatureOnlineStoreRequest::new().set_or_clear_feature_online_store(None::<FeatureOnlineStore>);Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
§Example
use wkt::FieldMask;
let x = UpdateFeatureOnlineStoreRequest::new().set_update_mask(FieldMask::default()/* use setters */);Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
§Example
use wkt::FieldMask;
let x = UpdateFeatureOnlineStoreRequest::new().set_or_clear_update_mask(Some(FieldMask::default()/* use setters */));
let x = UpdateFeatureOnlineStoreRequest::new().set_or_clear_update_mask(None::<FieldMask>);Trait Implementations§
Source§impl Clone for UpdateFeatureOnlineStoreRequest
impl Clone for UpdateFeatureOnlineStoreRequest
Source§fn clone(&self) -> UpdateFeatureOnlineStoreRequest
fn clone(&self) -> UpdateFeatureOnlineStoreRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UpdateFeatureOnlineStoreRequest
impl Default for UpdateFeatureOnlineStoreRequest
Source§fn default() -> UpdateFeatureOnlineStoreRequest
fn default() -> UpdateFeatureOnlineStoreRequest
Source§impl PartialEq for UpdateFeatureOnlineStoreRequest
impl PartialEq for UpdateFeatureOnlineStoreRequest
Source§fn eq(&self, other: &UpdateFeatureOnlineStoreRequest) -> bool
fn eq(&self, other: &UpdateFeatureOnlineStoreRequest) -> bool
self and other values to be equal, and is used by ==.