I am trying to enable_logging in ModelMonitoringAlertConfig I have tried:
from google.cloud import aiplatform_v1 as vertex_ai_beta
...
alerting_config = vertex_ai_beta.ModelMonitoringAlertConfig(
enable_logging=True,
email_alert_config=vertex_ai_beta.ModelMonitoringAlertConfig.EmailAlertConfig(
user_emails=NOTIFY_EMAILS
)
)
gives:
Unknown field for ModelMonitoringAlertConfig: enable_logging
but this suggests it should work. What am I missing?
(I have also tried aiplatform_v1beta1.)