#[non_exhaustive]pub struct MigrateResourceRequest {
pub request: Option<Request>,
/* private fields */
}Expand description
Config of migrating one resource from automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com to Vertex AI.
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.request: Option<Request>Implementations§
Source§impl MigrateResourceRequest
impl MigrateResourceRequest
pub fn new() -> Self
Sourcepub fn set_request<T: Into<Option<Request>>>(self, v: T) -> Self
pub fn set_request<T: Into<Option<Request>>>(self, v: T) -> Self
Sets the value of request.
Note that all the setters affecting request are mutually
exclusive.
Sourcepub fn migrate_ml_engine_model_version_config(
&self,
) -> Option<&Box<MigrateMlEngineModelVersionConfig>>
pub fn migrate_ml_engine_model_version_config( &self, ) -> Option<&Box<MigrateMlEngineModelVersionConfig>>
The value of request
if it holds a MigrateMlEngineModelVersionConfig, None if the field is not set or
holds a different branch.
Sourcepub fn set_migrate_ml_engine_model_version_config<T: Into<Box<MigrateMlEngineModelVersionConfig>>>(
self,
v: T,
) -> Self
pub fn set_migrate_ml_engine_model_version_config<T: Into<Box<MigrateMlEngineModelVersionConfig>>>( self, v: T, ) -> Self
Sets the value of request
to hold a MigrateMlEngineModelVersionConfig.
Note that all the setters affecting request are
mutually exclusive.
Sourcepub fn migrate_automl_model_config(
&self,
) -> Option<&Box<MigrateAutomlModelConfig>>
pub fn migrate_automl_model_config( &self, ) -> Option<&Box<MigrateAutomlModelConfig>>
The value of request
if it holds a MigrateAutomlModelConfig, None if the field is not set or
holds a different branch.
Sourcepub fn set_migrate_automl_model_config<T: Into<Box<MigrateAutomlModelConfig>>>(
self,
v: T,
) -> Self
pub fn set_migrate_automl_model_config<T: Into<Box<MigrateAutomlModelConfig>>>( self, v: T, ) -> Self
Sets the value of request
to hold a MigrateAutomlModelConfig.
Note that all the setters affecting request are
mutually exclusive.
Sourcepub fn migrate_automl_dataset_config(
&self,
) -> Option<&Box<MigrateAutomlDatasetConfig>>
pub fn migrate_automl_dataset_config( &self, ) -> Option<&Box<MigrateAutomlDatasetConfig>>
The value of request
if it holds a MigrateAutomlDatasetConfig, None if the field is not set or
holds a different branch.
Sourcepub fn set_migrate_automl_dataset_config<T: Into<Box<MigrateAutomlDatasetConfig>>>(
self,
v: T,
) -> Self
pub fn set_migrate_automl_dataset_config<T: Into<Box<MigrateAutomlDatasetConfig>>>( self, v: T, ) -> Self
Sets the value of request
to hold a MigrateAutomlDatasetConfig.
Note that all the setters affecting request are
mutually exclusive.
Sourcepub fn migrate_data_labeling_dataset_config(
&self,
) -> Option<&Box<MigrateDataLabelingDatasetConfig>>
pub fn migrate_data_labeling_dataset_config( &self, ) -> Option<&Box<MigrateDataLabelingDatasetConfig>>
The value of request
if it holds a MigrateDataLabelingDatasetConfig, None if the field is not set or
holds a different branch.
Sourcepub fn set_migrate_data_labeling_dataset_config<T: Into<Box<MigrateDataLabelingDatasetConfig>>>(
self,
v: T,
) -> Self
pub fn set_migrate_data_labeling_dataset_config<T: Into<Box<MigrateDataLabelingDatasetConfig>>>( self, v: T, ) -> Self
Sets the value of request
to hold a MigrateDataLabelingDatasetConfig.
Note that all the setters affecting request are
mutually exclusive.
Trait Implementations§
Source§impl Clone for MigrateResourceRequest
impl Clone for MigrateResourceRequest
Source§fn clone(&self) -> MigrateResourceRequest
fn clone(&self) -> MigrateResourceRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more