#[non_exhaustive]pub struct CreateFeaturestoreRequest {
pub parent: String,
pub featurestore: Option<Featurestore>,
pub featurestore_id: String,
/* private fields */
}Available on crate feature
featurestore-service only.Expand description
Request message for FeaturestoreService.CreateFeaturestore.
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 Location to create Featurestores.
Format:
projects/{project}/locations/{location}
featurestore: Option<Featurestore>Required. The Featurestore to create.
featurestore_id: StringRequired. The ID to use for this Featurestore, which will become the final component of the Featurestore’s resource name.
This value may be up to 60 characters, and valid characters are
[a-z0-9_]. The first character cannot be a number.
The value must be unique within the project and location.
Implementations§
Source§impl CreateFeaturestoreRequest
impl CreateFeaturestoreRequest
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_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 = CreateFeaturestoreRequest::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 = CreateFeaturestoreRequest::new().set_or_clear_featurestore(Some(Featurestore::default()/* use setters */));
let x = CreateFeaturestoreRequest::new().set_or_clear_featurestore(None::<Featurestore>);Sourcepub fn set_featurestore_id<T: Into<String>>(self, v: T) -> Self
pub fn set_featurestore_id<T: Into<String>>(self, v: T) -> Self
Sets the value of featurestore_id.
§Example
ⓘ
let x = CreateFeaturestoreRequest::new().set_featurestore_id("example");Trait Implementations§
Source§impl Clone for CreateFeaturestoreRequest
impl Clone for CreateFeaturestoreRequest
Source§fn clone(&self) -> CreateFeaturestoreRequest
fn clone(&self) -> CreateFeaturestoreRequest
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 CreateFeaturestoreRequest
impl Debug for CreateFeaturestoreRequest
Source§impl Default for CreateFeaturestoreRequest
impl Default for CreateFeaturestoreRequest
Source§fn default() -> CreateFeaturestoreRequest
fn default() -> CreateFeaturestoreRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateFeaturestoreRequest
impl Message for CreateFeaturestoreRequest
impl StructuralPartialEq for CreateFeaturestoreRequest
Auto Trait Implementations§
impl Freeze for CreateFeaturestoreRequest
impl RefUnwindSafe for CreateFeaturestoreRequest
impl Send for CreateFeaturestoreRequest
impl Sync for CreateFeaturestoreRequest
impl Unpin for CreateFeaturestoreRequest
impl UnwindSafe for CreateFeaturestoreRequest
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