Interface ModelMonitoringAlertConfigOrBuilder (3.33.0)

public interface ModelMonitoringAlertConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlertCase()

public abstract ModelMonitoringAlertConfig.AlertCase getAlertCase()
Returns
TypeDescription
ModelMonitoringAlertConfig.AlertCase

getEmailAlertConfig()

public abstract ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfig

The emailAlertConfig.

getEmailAlertConfigOrBuilder()

public abstract ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Returns
TypeDescription
ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder

getEnableLogging()

public abstract boolean getEnableLogging()

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.

bool enable_logging = 2;

Returns
TypeDescription
boolean

The enableLogging.

getNotificationChannels(int index)

public abstract String getNotificationChannels(int index)

Resource names of the NotificationChannels to send alert. Must be of the format projects/<project_id_or_number>/notificationChannels/<channel_id>

repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The notificationChannels at the given index.

getNotificationChannelsBytes(int index)

public abstract ByteString getNotificationChannelsBytes(int index)

Resource names of the NotificationChannels to send alert. Must be of the format projects/<project_id_or_number>/notificationChannels/<channel_id>

repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the notificationChannels at the given index.

getNotificationChannelsCount()

public abstract int getNotificationChannelsCount()

Resource names of the NotificationChannels to send alert. Must be of the format projects/<project_id_or_number>/notificationChannels/<channel_id>

repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of notificationChannels.

getNotificationChannelsList()

public abstract List<String> getNotificationChannelsList()

Resource names of the NotificationChannels to send alert. Must be of the format projects/<project_id_or_number>/notificationChannels/<channel_id>

repeated string notification_channels = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
List<String>

A list containing the notificationChannels.

hasEmailAlertConfig()

public abstract boolean hasEmailAlertConfig()

Email alert config.

.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Returns
TypeDescription
boolean

Whether the emailAlertConfig field is set.