#[non_exhaustive]pub struct BatchCreateFeaturesRequest {
pub parent: String,
pub requests: Vec<CreateFeatureRequest>,
/* private fields */
}Expand description
Request message for FeaturestoreService.BatchCreateFeatures. Request message for FeatureRegistryService.BatchCreateFeatures.
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 EntityType/FeatureGroup to create the
batch of Features under. Format:
projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}
projects/{project}/locations/{location}/featureGroups/{feature_group}
requests: Vec<CreateFeatureRequest>Required. The request message specifying the Features to create. All
Features must be created under the same parent EntityType / FeatureGroup.
The parent field in each child request message can be omitted. If
parent is set in a child request, then the value must match the parent
value in this request message.
Implementations§
Source§impl BatchCreateFeaturesRequest
impl BatchCreateFeaturesRequest
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_requests<T, V>(self, v: T) -> Self
pub fn set_requests<T, V>(self, v: T) -> Self
Sets the value of requests.
Trait Implementations§
Source§impl Clone for BatchCreateFeaturesRequest
impl Clone for BatchCreateFeaturesRequest
Source§fn clone(&self) -> BatchCreateFeaturesRequest
fn clone(&self) -> BatchCreateFeaturesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more