Google Cloud Ai Platform V1 Client - Class ModelMonitoringAlertConfig (0.10.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ModelMonitoringAlertConfig.

Generated from protobuf message google.cloud.aiplatform.v1.ModelMonitoringAlertConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ email_alert_config Google\Cloud\AIPlatform\V1\ModelMonitoringAlertConfig\EmailAlertConfig

Email alert config.

↳ enable_logging bool

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.

getEmailAlertConfig

Email alert config.

Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ModelMonitoringAlertConfig\EmailAlertConfig|null

hasEmailAlertConfig

setEmailAlertConfig

Email alert config.

Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfig email_alert_config = 1;

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\ModelMonitoringAlertConfig\EmailAlertConfig
Returns
TypeDescription
$this

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.

Generated from protobuf field bool enable_logging = 2;

Returns
TypeDescription
bool

setEnableLogging

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.

Generated from protobuf field bool enable_logging = 2;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAlert

Returns
TypeDescription
string