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