public sealed class ModelMonitoringConfig : IMessage<ModelMonitoringConfig>, IEquatable<ModelMonitoringConfig>, IDeepCloneable<ModelMonitoringConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class ModelMonitoringConfig.
The model monitoring configuration used for Batch Prediction Job.
public string AnalysisInstanceSchemaUri { get; set; }
YAML schema file uri in Cloud Storage describing the format of a single
instance that you want Tensorflow Data Validation (TFDV) to analyze.
If there are any data type differences between predict instance and TFDV
instance, this field can be used to override the schema.
For models trained with Vertex AI, this field must be set as all the
fields in predict instance formatted as string.
public GcsDestination StatsAnomaliesBaseDirectory { get; set; }
A Google Cloud Storage location for batch prediction model monitoring to
dump statistics and anomalies.
If not provided, a folder will be created in customer project to hold
statistics and anomalies.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003e\u003ccode\u003eModelMonitoringConfig\u003c/code\u003e is a class within the Vertex AI v1beta1 API, specifically designed for model monitoring configurations in Batch Prediction Jobs.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities for message handling, equality comparisons, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eModelMonitoringConfig\u003c/code\u003e includes properties like \u003ccode\u003eAlertConfig\u003c/code\u003e, \u003ccode\u003eAnalysisInstanceSchemaUri\u003c/code\u003e, \u003ccode\u003eObjectiveConfigs\u003c/code\u003e, and \u003ccode\u003eStatsAnomaliesBaseDirectory\u003c/code\u003e, enabling the configuration of monitoring alerts, data schema specification, monitoring objectives, and storage for statistics and anomalies.\u003c/p\u003e\n"],["\u003cp\u003eThe class is accessible within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace, and resides in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class also has two constructors: one parameter-less and one that take another \u003ccode\u003eModelMonitoringConfig\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class ModelMonitoringConfig (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ModelMonitoringConfig)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.ModelMonitoringConfig) \n\n public sealed class ModelMonitoringConfig : IMessage\u003cModelMonitoringConfig\u003e, IEquatable\u003cModelMonitoringConfig\u003e, IDeepCloneable\u003cModelMonitoringConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class ModelMonitoringConfig.\n\nThe model monitoring configuration used for Batch Prediction Job. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ModelMonitoringConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ModelMonitoringConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ModelMonitoringConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ModelMonitoringConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ModelMonitoringConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ModelMonitoringConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ModelMonitoringConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### ModelMonitoringConfig()\n\n public ModelMonitoringConfig()\n\n### ModelMonitoringConfig(ModelMonitoringConfig)\n\n public ModelMonitoringConfig(ModelMonitoringConfig other)\n\nProperties\n----------\n\n### AlertConfig\n\n public ModelMonitoringAlertConfig AlertConfig { get; set; }\n\nModel monitoring alert config.\n\n### AnalysisInstanceSchemaUri\n\n public string AnalysisInstanceSchemaUri { get; set; }\n\nYAML schema file uri in Cloud Storage describing the format of a single\ninstance that you want Tensorflow Data Validation (TFDV) to analyze.\n\nIf there are any data type differences between predict instance and TFDV\ninstance, this field can be used to override the schema.\nFor models trained with Vertex AI, this field must be set as all the\nfields in predict instance formatted as string.\n\n### ObjectiveConfigs\n\n public RepeatedField\u003cModelMonitoringObjectiveConfig\u003e ObjectiveConfigs { get; }\n\nModel monitoring objective config.\n\n### StatsAnomaliesBaseDirectory\n\n public GcsDestination StatsAnomaliesBaseDirectory { get; set; }\n\nA Google Cloud Storage location for batch prediction model monitoring to\ndump statistics and anomalies.\nIf not provided, a folder will be created in customer project to hold\nstatistics and anomalies."]]