#[non_exhaustive]pub struct UpdateModelDeploymentMonitoringJobRequest {
pub model_deployment_monitoring_job: Option<ModelDeploymentMonitoringJob>,
pub update_mask: Option<FieldMask>,
/* private fields */
}job-service only.Expand description
Request message for JobService.UpdateModelDeploymentMonitoringJob.
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.model_deployment_monitoring_job: Option<ModelDeploymentMonitoringJob>Required. The model monitoring configuration which replaces the resource on the server.
update_mask: Option<FieldMask>Required. The update mask is used to specify the fields to be overwritten
in the ModelDeploymentMonitoringJob 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. For
the objective config, the user can either provide the update mask for
model_deployment_monitoring_objective_configs or any combination of its
nested fields, such as:
model_deployment_monitoring_objective_configs.objective_config.training_dataset.
Updatable fields:
display_namemodel_deployment_monitoring_schedule_configmodel_monitoring_alert_configlogging_sampling_strategylabelslog_ttlenable_monitoring_pipeline_logs. andmodel_deployment_monitoring_objective_configs. ormodel_deployment_monitoring_objective_configs.objective_config.training_datasetmodel_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_configmodel_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config
Implementations§
Source§impl UpdateModelDeploymentMonitoringJobRequest
impl UpdateModelDeploymentMonitoringJobRequest
pub fn new() -> Self
Sourcepub fn set_model_deployment_monitoring_job<T>(self, v: T) -> Selfwhere
T: Into<ModelDeploymentMonitoringJob>,
pub fn set_model_deployment_monitoring_job<T>(self, v: T) -> Selfwhere
T: Into<ModelDeploymentMonitoringJob>,
Sets the value of model_deployment_monitoring_job.
§Example
use google_cloud_aiplatform_v1::model::ModelDeploymentMonitoringJob;
let x = UpdateModelDeploymentMonitoringJobRequest::new().set_model_deployment_monitoring_job(ModelDeploymentMonitoringJob::default()/* use setters */);Sourcepub fn set_or_clear_model_deployment_monitoring_job<T>(
self,
v: Option<T>,
) -> Selfwhere
T: Into<ModelDeploymentMonitoringJob>,
pub fn set_or_clear_model_deployment_monitoring_job<T>(
self,
v: Option<T>,
) -> Selfwhere
T: Into<ModelDeploymentMonitoringJob>,
Sets or clears the value of model_deployment_monitoring_job.
§Example
use google_cloud_aiplatform_v1::model::ModelDeploymentMonitoringJob;
let x = UpdateModelDeploymentMonitoringJobRequest::new().set_or_clear_model_deployment_monitoring_job(Some(ModelDeploymentMonitoringJob::default()/* use setters */));
let x = UpdateModelDeploymentMonitoringJobRequest::new().set_or_clear_model_deployment_monitoring_job(None::<ModelDeploymentMonitoringJob>);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 = UpdateModelDeploymentMonitoringJobRequest::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 = UpdateModelDeploymentMonitoringJobRequest::new().set_or_clear_update_mask(Some(FieldMask::default()/* use setters */));
let x = UpdateModelDeploymentMonitoringJobRequest::new().set_or_clear_update_mask(None::<FieldMask>);Trait Implementations§
Source§impl Clone for UpdateModelDeploymentMonitoringJobRequest
impl Clone for UpdateModelDeploymentMonitoringJobRequest
Source§fn clone(&self) -> UpdateModelDeploymentMonitoringJobRequest
fn clone(&self) -> UpdateModelDeploymentMonitoringJobRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UpdateModelDeploymentMonitoringJobRequest
impl Default for UpdateModelDeploymentMonitoringJobRequest
Source§fn default() -> UpdateModelDeploymentMonitoringJobRequest
fn default() -> UpdateModelDeploymentMonitoringJobRequest
Source§impl PartialEq for UpdateModelDeploymentMonitoringJobRequest
impl PartialEq for UpdateModelDeploymentMonitoringJobRequest
Source§fn eq(&self, other: &UpdateModelDeploymentMonitoringJobRequest) -> bool
fn eq(&self, other: &UpdateModelDeploymentMonitoringJobRequest) -> bool
self and other values to be equal, and is used by ==.