Model monitoring data input spec.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field dataset . Dataset source. dataset can be only one of the following: |
|
columnizedDataset |
Columnized dataset. |
batchPredictionOutput |
Vertex AI Batch prediction Job. |
vertexEndpointLogs |
Vertex AI Endpoint request & response logging. |
Union field time_spec . Time specification for the dataset. time_spec can be only one of the following: |
|
timeInterval |
The time interval (pair of startTime and endTime) for which results should be returned. |
timeOffset |
The time offset setting for which results should be returned. |
ModelMonitoringDataset
Input dataset spec.
JSON representation |
---|
{ "timestampField": string, // Union field |
Fields | |
---|---|
timestampField |
The timestamp field. Usually for serving data. |
Union field data_location . Choose one of supported data location for columnized dataset. data_location can be only one of the following: |
|
vertexDataset |
Resource name of the Vertex AI managed dataset. |
gcsSource |
Google Cloud Storage data source. |
bigquerySource |
BigQuery data source. |
ModelMonitoringGcsSource
Dataset spec for data stored in Google Cloud Storage.
JSON representation |
---|
{
"gcsUri": string,
"format": enum ( |
Fields | |
---|---|
gcsUri |
Google Cloud Storage URI to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. |
format |
Data format of the dataset. |
DataFormat
Supported data format.
Enums | |
---|---|
DATA_FORMAT_UNSPECIFIED |
Data format unspecified, used when this field is unset. |
CSV |
CSV files. |
TF_RECORD |
TfRecord files |
JSONL |
JsonL files. |
ModelMonitoringBigQuerySource
Dataset spec for data sotred in BigQuery.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
tableUri |
BigQuery URI to a table, up to 2000 characters long. All the columns in the table will be selected. Accepted forms:
|
query |
Standard SQL to be used instead of the |
BatchPredictionOutput
Data from Vertex AI Batch prediction job output.
JSON representation |
---|
{ "batchPredictionJob": string } |
Fields | |
---|---|
batchPredictionJob |
Vertex AI Batch prediction job resource name. The job must match the model version specified in [ModelMonitor].[modelMonitoringTarget]. |
VertexEndpointLogs
Data from Vertex AI Endpoint request response logging.
JSON representation |
---|
{ "endpoints": [ string ] } |
Fields | |
---|---|
endpoints[] |
List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[requestResponseLoggingConfig], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[modelMonitoringTarget]. |
TimeOffset
time offset setting.
JSON representation |
---|
{ "offset": string, "window": string } |
Fields | |
---|---|
offset |
[offset] is the time difference from the cut-off time. For scheduled jobs, the cut-off time is the scheduled time. For non-scheduled jobs, it's the time when the job was created. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days. |
window |
[window] refers to the scope of data selected for analysis. It allows you to specify the quantity of data you wish to examine. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days. |