Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#email_alert_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfigEmailAlertConfig
The config for email alert.
-
#enable_logging ⇒ Boolean
(also: #enable_logging?)
Dump the anomalies to Cloud Logging.
-
#notification_channels ⇒ Array<String>
Resource names of the NotificationChannels to send alert.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig.
12604 12605 12606 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12604 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email_alert_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfigEmailAlertConfig
The config for email alert.
Corresponds to the JSON property emailAlertConfig
12587 12588 12589 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12587 def email_alert_config @email_alert_config end |
#enable_logging ⇒ Boolean Also known as: enable_logging?
Dump the anomalies to Cloud Logging. The anomalies will be put to json payload
encoded from proto google.cloud.aiplatform.logging.
ModelMonitoringAnomaliesLogEntry. This can be further sinked to Pub/Sub or any
other services supported by Cloud Logging.
Corresponds to the JSON property enableLogging
12595 12596 12597 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12595 def enable_logging @enable_logging end |
#notification_channels ⇒ Array<String>
Resource names of the NotificationChannels to send alert. Must be of the
format projects//notificationChannels/
Corresponds to the JSON property notificationChannels
12602 12603 12604 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12602 def notification_channels @notification_channels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12609 12610 12611 12612 12613 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12609 def update!(**args) @email_alert_config = args[:email_alert_config] if args.key?(:email_alert_config) @enable_logging = args[:enable_logging] if args.key?(:enable_logging) @notification_channels = args[:notification_channels] if args.key?(:notification_channels) end |