Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

The config for email alert.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig

Returns a new instance of GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig.



15243
15244
15245
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15243

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#user_emailsArray<String>

The email addresses to send the alert. Corresponds to the JSON property userEmails

Returns:

  • (Array<String>)


15241
15242
15243
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15241

def user_emails
  @user_emails
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15248
15249
15250
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15248

def update!(**args)
  @user_emails = args[:user_emails] if args.key?(:user_emails)
end