diff --git a/google/cloud/aiplatform/jobs.py b/google/cloud/aiplatform/jobs.py index b558e6e8cb..43e2f22d18 100644 --- a/google/cloud/aiplatform/jobs.py +++ b/google/cloud/aiplatform/jobs.py @@ -2063,7 +2063,6 @@ def create( schedule_config (model_monitoring.schedule.ScheduleConfig): Configures model monitoring job scheduling interval in hours. This defines how often the monitoring jobs are triggered. - alert_config (model_monitoring.alert.EmailAlertConfig): Optional. Configures how alerts are sent to the user. Right now only email alert is supported. diff --git a/google/cloud/aiplatform/model_monitoring/alert.py b/google/cloud/aiplatform/model_monitoring/alert.py index 596acdce17..573c7b8f1f 100644 --- a/google/cloud/aiplatform/model_monitoring/alert.py +++ b/google/cloud/aiplatform/model_monitoring/alert.py @@ -21,14 +21,12 @@ model_monitoring as gca_model_monitoring, ) - class _AlertConfig(abc.ABC): """An abstract class for setting model monitoring alert config""" def __init__(self, enable_logging: Optional[bool] = None): self.enable_logging = enable_logging - class EmailAlertConfig(_AlertConfig): def __init__(self, user_emails: List[str], enable_logging: Optional[bool] = None): """Initializer for EmailAlertConfig