#[non_exhaustive]pub struct UpdateFeaturestoreRequest {
pub featurestore: Option<Featurestore>,
pub update_mask: Option<FieldMask>,
/* private fields */
}featurestore-service only.Expand description
Request message for FeaturestoreService.UpdateFeaturestore.
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.featurestore: Option<Featurestore>Required. The Featurestore’s name field is used to identify the
Featurestore to be updated. Format:
projects/{project}/locations/{location}/featurestores/{featurestore}
update_mask: Option<FieldMask>Field mask is used to specify the fields to be overwritten in the
Featurestore 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:
labelsonline_serving_config.fixed_node_countonline_serving_config.scalingonline_storage_ttl_days
Implementations§
Source§impl UpdateFeaturestoreRequest
impl UpdateFeaturestoreRequest
pub fn new() -> Self
Sourcepub fn set_featurestore<T>(self, v: T) -> Selfwhere
T: Into<Featurestore>,
pub fn set_featurestore<T>(self, v: T) -> Selfwhere
T: Into<Featurestore>,
Sets the value of featurestore.
§Example
use google_cloud_aiplatform_v1::model::Featurestore;
let x = UpdateFeaturestoreRequest::new().set_featurestore(Featurestore::default()/* use setters */);Sourcepub fn set_or_clear_featurestore<T>(self, v: Option<T>) -> Selfwhere
T: Into<Featurestore>,
pub fn set_or_clear_featurestore<T>(self, v: Option<T>) -> Selfwhere
T: Into<Featurestore>,
Sets or clears the value of featurestore.
§Example
use google_cloud_aiplatform_v1::model::Featurestore;
let x = UpdateFeaturestoreRequest::new().set_or_clear_featurestore(Some(Featurestore::default()/* use setters */));
let x = UpdateFeaturestoreRequest::new().set_or_clear_featurestore(None::<Featurestore>);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 = UpdateFeaturestoreRequest::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 = UpdateFeaturestoreRequest::new().set_or_clear_update_mask(Some(FieldMask::default()/* use setters */));
let x = UpdateFeaturestoreRequest::new().set_or_clear_update_mask(None::<FieldMask>);Trait Implementations§
Source§impl Clone for UpdateFeaturestoreRequest
impl Clone for UpdateFeaturestoreRequest
Source§fn clone(&self) -> UpdateFeaturestoreRequest
fn clone(&self) -> UpdateFeaturestoreRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more