#[non_exhaustive]pub struct BatchCreateFeaturesRequest {
pub parent: String,
pub requests: Vec<CreateFeatureRequest>,
/* private fields */
}Available on crate features
feature-registry-service or featurestore-service only.Expand description
Request message for FeaturestoreService.BatchCreateFeatures. Request message for FeatureRegistryService.BatchCreateFeatures.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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
Sourcepub fn set_requests<T, V>(self, v: T) -> Self
pub fn set_requests<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for BatchCreateFeaturesRequest
impl Clone for BatchCreateFeaturesRequest
Source§fn clone(&self) -> BatchCreateFeaturesRequest
fn clone(&self) -> BatchCreateFeaturesRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchCreateFeaturesRequest
impl Debug for BatchCreateFeaturesRequest
Source§impl Default for BatchCreateFeaturesRequest
impl Default for BatchCreateFeaturesRequest
Source§fn default() -> BatchCreateFeaturesRequest
fn default() -> BatchCreateFeaturesRequest
Returns the “default value” for a type. Read more
Source§impl Message for BatchCreateFeaturesRequest
impl Message for BatchCreateFeaturesRequest
impl StructuralPartialEq for BatchCreateFeaturesRequest
Auto Trait Implementations§
impl Freeze for BatchCreateFeaturesRequest
impl RefUnwindSafe for BatchCreateFeaturesRequest
impl Send for BatchCreateFeaturesRequest
impl Sync for BatchCreateFeaturesRequest
impl Unpin for BatchCreateFeaturesRequest
impl UnwindSafe for BatchCreateFeaturesRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more