#[non_exhaustive]pub struct UpdateModelDeploymentMonitoringJobRequest {
pub model_deployment_monitoring_job: Option<ModelDeploymentMonitoringJob>,
pub update_mask: Option<FieldMask>,
/* private fields */
}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: Into<Option<ModelDeploymentMonitoringJob>>>(
self,
v: T,
) -> Self
pub fn set_model_deployment_monitoring_job<T: Into<Option<ModelDeploymentMonitoringJob>>>( self, v: T, ) -> Self
Sets the value of model_deployment_monitoring_job.
Sourcepub fn set_update_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
pub fn set_update_mask<T: Into<Option<FieldMask>>>(self, v: T) -> Self
Sets the value of update_mask.
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<'de> Deserialize<'de> for UpdateModelDeploymentMonitoringJobRequest
impl<'de> Deserialize<'de> for UpdateModelDeploymentMonitoringJobRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 ==.