Interface ModelMonitoringAlertConfigOrBuilder (3.56.0)

public interface ModelMonitoringAlertConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlertCase()

public abstract ModelMonitoringAlertConfig.AlertCase getAlertCase()
Returns
Type Description
ModelMonitoringAlertConfig.AlertCase

getEmailAlertConfig()

public abstract ModelMonitoringAlertConfig.EmailAlertConfig getEmailAlertConfig()

Email alert config.

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

Returns
Type Description
ModelMonitoringAlertConfig.EmailAlertConfig

The emailAlertConfig.

getEmailAlertConfigOrBuilder()

public abstract ModelMonitoringAlertConfig.EmailAlertConfigOrBuilder getEmailAlertConfigOrBuilder()

Email alert config.

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

Returns
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the notificationChannels.

hasEmailAlertConfig()

public abstract boolean hasEmailAlertConfig()

Email alert config.

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

Returns
Type Description
boolean

Whether the emailAlertConfig field is set.