Skip to content

Commit 3b9c451

Browse files
Google APIscopybara-github
authored andcommitted
feat: add model_monitoring_config to BatchPredictionJob in aiplatform v1beta1 batch_prediction_job.proto
PiperOrigin-RevId: 456339444
1 parent f24b37a commit 3b9c451

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/batch_prediction_job.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import "google/cloud/aiplatform/v1beta1/io.proto";
2525
import "google/cloud/aiplatform/v1beta1/job_state.proto";
2626
import "google/cloud/aiplatform/v1beta1/machine_resources.proto";
2727
import "google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto";
28+
import "google/cloud/aiplatform/v1beta1/model_monitoring.proto";
2829
import "google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto";
2930
import "google/protobuf/struct.proto";
3031
import "google/protobuf/timestamp.proto";
@@ -298,4 +299,9 @@ message BatchPredictionJob {
298299
// is set, then all resources created by the BatchPredictionJob will be
299300
// encrypted with the provided encryption key.
300301
EncryptionSpec encryption_spec = 24;
302+
303+
// Model monitoring config will be used for analysis model behaviors, based on
304+
// the input and output to the batch prediction job, as well as the provided
305+
// training dataset.
306+
ModelMonitoringConfig model_monitoring_config = 26;
301307
}

google/cloud/aiplatform/v1beta1/model_monitoring.proto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,24 @@ option java_package = "com.google.cloud.aiplatform.v1beta1";
2727
option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1";
2828
option ruby_package = "Google::Cloud::AIPlatform::V1beta1";
2929

30+
// Next ID: 5
31+
message ModelMonitoringConfig {
32+
// Model monitoring objective config.
33+
repeated ModelMonitoringObjectiveConfig objective_configs = 3;
34+
35+
// Model monitoring alert config.
36+
ModelMonitoringAlertConfig alert_config = 2;
37+
38+
// YAML schema file uri in Cloud Storage describing the format of a single
39+
// instance that you want Tensorflow Data Validation (TFDV) to analyze.
40+
//
41+
// If there are any data type differences between predict instance and TFDV
42+
// instance, this field can be used to override the schema.
43+
// For models trained with Vertex AI, this field must be set as all the
44+
// fields in predict instance formatted as string.
45+
string analysis_instance_schema_uri = 4;
46+
}
47+
3048
// Next ID: 8
3149
message ModelMonitoringObjectiveConfig {
3250
// Training Dataset information.

0 commit comments

Comments
 (0)