#[non_exhaustive]pub struct UpdateFeatureRequest {
pub feature: Option<Feature>,
pub update_mask: Option<FieldMask>,
/* private fields */
}Expand description
Request message for FeaturestoreService.UpdateFeature. Request message for FeatureRegistryService.UpdateFeature.
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: Option<Feature>Required. The Feature’s name field is used to identify the Feature to be
updated.
Format:
projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}
projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}
update_mask: Option<FieldMask>Field mask is used to specify the fields to be overwritten in the
Features 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:
descriptionlabelsdisable_monitoring(Not supported for FeatureRegistryService Feature)point_of_contact(Not supported for FeaturestoreService FeatureStore)
Implementations§
Source§impl UpdateFeatureRequest
impl UpdateFeatureRequest
pub fn new() -> Self
Sourcepub fn set_update_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
pub fn set_update_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
Sets the value of update_mask.
Trait Implementations§
Source§impl Clone for UpdateFeatureRequest
impl Clone for UpdateFeatureRequest
Source§fn clone(&self) -> UpdateFeatureRequest
fn clone(&self) -> UpdateFeatureRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more