Google Cloud Ai Platform V1 Client - Class ModelDeploymentMonitoringScheduleConfig (1.8.0)

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

The config for scheduling monitoring job.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ monitor_interval Google\Protobuf\Duration

Required. The model monitoring job scheduling interval. It will be rounded up to next full hour. This defines how often the monitoring jobs are triggered.

↳ monitor_window Google\Protobuf\Duration

The time window of the prediction data being included in each prediction dataset. This window specifies how long the data should be collected from historical model results for each run. If not set, ModelDeploymentMonitoringScheduleConfig.monitor_interval will be used. e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the monitoring statistics.

getMonitorInterval

Required. The model monitoring job scheduling interval. It will be rounded up to next full hour. This defines how often the monitoring jobs are triggered.

Returns
Type Description
Google\Protobuf\Duration|null

hasMonitorInterval

clearMonitorInterval

setMonitorInterval

Required. The model monitoring job scheduling interval. It will be rounded up to next full hour. This defines how often the monitoring jobs are triggered.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getMonitorWindow

The time window of the prediction data being included in each prediction dataset. This window specifies how long the data should be collected from historical model results for each run. If not set, ModelDeploymentMonitoringScheduleConfig.monitor_interval will be used. e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the monitoring statistics.

Returns
Type Description
Google\Protobuf\Duration|null

hasMonitorWindow

clearMonitorWindow

setMonitorWindow

The time window of the prediction data being included in each prediction dataset. This window specifies how long the data should be collected from historical model results for each run. If not set, ModelDeploymentMonitoringScheduleConfig.monitor_interval will be used. e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the monitoring statistics.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this