Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec
- 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
Overview
Notification spec(email, notification channel) for model monitoring statistics/ alerts.
Instance Attribute Summary collapse
-
#email_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecEmailConfig
The config for email alerts.
-
#enable_cloud_logging ⇒ Boolean
(also: #enable_cloud_logging?)
Dump the anomalies to Cloud Logging.
-
#notification_channel_configs ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecNotificationChannelConfig>
Notification channel config.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec
Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec.
34143 34144 34145 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34143 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecEmailConfig
The config for email alerts.
Corresponds to the JSON property emailConfig
34127 34128 34129 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34127 def email_config @email_config end |
#enable_cloud_logging ⇒ Boolean Also known as: enable_cloud_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 enableCloudLogging
34135 34136 34137 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34135 def enable_cloud_logging @enable_cloud_logging end |
#notification_channel_configs ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecNotificationChannelConfig>
Notification channel config.
Corresponds to the JSON property notificationChannelConfigs
34141 34142 34143 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34141 def notification_channel_configs @notification_channel_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34148 34149 34150 34151 34152 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34148 def update!(**args) @email_config = args[:email_config] if args.key?(:email_config) @enable_cloud_logging = args[:enable_cloud_logging] if args.key?(:enable_cloud_logging) @notification_channel_configs = args[:notification_channel_configs] if args.key?(:notification_channel_configs) end |