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.



15989
15990
15991
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15989

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>)


15987
15988
15989
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15987

def user_emails
  @user_emails
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15994
15995
15996
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15994

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