Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1ModelDeploymentMonitoringJob

import type { GoogleCloudAiplatformV1ModelDeploymentMonitoringJob } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

Represents a job that runs periodically to monitor the deployed models in an endpoint. It will analyze the logged training & prediction data to detect any abnormal behaviors.

interface GoogleCloudAiplatformV1ModelDeploymentMonitoringJob {
analysisInstanceSchemaUri?: string;
readonly createTime?: Date;
displayName?: string;
enableMonitoringPipelineLogs?: boolean;
endpoint?: string;
readonly error?: GoogleRpcStatus;
labels?: {
[key: string]: string;
}
;
loggingSamplingStrategy?: GoogleCloudAiplatformV1SamplingStrategy;
logTtl?: number;
modelDeploymentMonitoringObjectiveConfigs?: GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig[];
modelDeploymentMonitoringScheduleConfig?: GoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig;
readonly name?: string;
readonly nextScheduleTime?: Date;
predictInstanceSchemaUri?: string;
samplePredictInstance?: any;
readonly scheduleState?:
| "MONITORING_SCHEDULE_STATE_UNSPECIFIED"
| "PENDING"
| "OFFLINE"
| "RUNNING";
readonly state?:
| "JOB_STATE_UNSPECIFIED"
| "JOB_STATE_QUEUED"
| "JOB_STATE_PENDING"
| "JOB_STATE_RUNNING"
| "JOB_STATE_SUCCEEDED"
| "JOB_STATE_FAILED"
| "JOB_STATE_CANCELLING"
| "JOB_STATE_CANCELLED"
| "JOB_STATE_PAUSED"
| "JOB_STATE_EXPIRED"
| "JOB_STATE_UPDATING"
| "JOB_STATE_PARTIALLY_SUCCEEDED";
statsAnomaliesBaseDirectory?: GoogleCloudAiplatformV1GcsDestination;
readonly updateTime?: Date;
}

§Properties

§
analysisInstanceSchemaUri?: string
[src]

YAML schema file uri describing the format of a single instance that you want Tensorflow Data Validation (TFDV) to analyze. If this field is empty, all the feature data types are inferred from predict_instance_schema_uri, meaning that TFDV will use the data in the exact format(data type) as prediction request/response. 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.

§

Output only. The created bigquery tables for the job under customer project. Customer could do their own query & analysis. There could be 4 log tables in maximum: 1. Training data logging predict request/response 2. Serving data logging predict request/response

§
readonly createTime?: Date
[src]

Output only. Timestamp when this ModelDeploymentMonitoringJob was created.

§
displayName?: string
[src]

Required. The user-defined name of the ModelDeploymentMonitoringJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a ModelDeploymentMonitoringJob.

§
enableMonitoringPipelineLogs?: boolean
[src]

If true, the scheduled monitoring pipeline logs are sent to Google Cloud Logging, including pipeline status and anomalies detected. Please note the logs incur cost, which are subject to Cloud Logging pricing.

§

Customer-managed encryption key spec for a ModelDeploymentMonitoringJob. If set, this ModelDeploymentMonitoringJob and all sub-resources of this ModelDeploymentMonitoringJob will be secured by this key.

§
endpoint?: string
[src]

Required. Endpoint resource name. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

§
readonly error?: GoogleRpcStatus
[src]

Output only. Only populated when the job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.

§
labels?: {
[key: string]: string;
}
[src]

The labels with user-defined metadata to organize your ModelDeploymentMonitoringJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.

§

Output only. Latest triggered monitoring pipeline metadata.

§

Required. Sample Strategy for logging.

§
logTtl?: number
[src]

The TTL of BigQuery tables in user projects which stores logs. A day is the basic unit of the TTL and we take the ceil of TTL/86400(a day). e.g. { second: 3600} indicates ttl = 1 day.

§
modelDeploymentMonitoringObjectiveConfigs?: GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig[]
[src]

Required. The config for monitoring objectives. This is a per DeployedModel config. Each DeployedModel needs to be configured separately.

§

Required. Schedule config for running the monitoring job.

§

Alert config for model monitoring.

§
readonly name?: string
[src]

Output only. Resource name of a ModelDeploymentMonitoringJob.

§
readonly nextScheduleTime?: Date
[src]

Output only. Timestamp when this monitoring pipeline will be scheduled to run for the next round.

§
predictInstanceSchemaUri?: string
[src]

YAML schema file uri describing the format of a single instance, which are given to format this Endpoint's prediction (and explanation). If not set, we will generate predict schema from collected predict requests.

§
samplePredictInstance?: any
[src]

Sample Predict instance, same format as PredictRequest.instances, this can be set as a replacement of ModelDeploymentMonitoringJob.predict_instance_schema_uri. If not set, we will generate predict schema from collected predict requests.

§
readonly scheduleState?: "MONITORING_SCHEDULE_STATE_UNSPECIFIED" | "PENDING" | "OFFLINE" | "RUNNING"
[src]

Output only. Schedule state when the monitoring job is in Running state.

§
readonly state?: "JOB_STATE_UNSPECIFIED" | "JOB_STATE_QUEUED" | "JOB_STATE_PENDING" | "JOB_STATE_RUNNING" | "JOB_STATE_SUCCEEDED" | "JOB_STATE_FAILED" | "JOB_STATE_CANCELLING" | "JOB_STATE_CANCELLED" | "JOB_STATE_PAUSED" | "JOB_STATE_EXPIRED" | "JOB_STATE_UPDATING" | "JOB_STATE_PARTIALLY_SUCCEEDED"
[src]

Output only. The detailed state of the monitoring job. When the job is still creating, the state will be 'PENDING'. Once the job is successfully created, the state will be 'RUNNING'. Pause the job, the state will be 'PAUSED'. Resume the job, the state will return to 'RUNNING'.

§
statsAnomaliesBaseDirectory?: GoogleCloudAiplatformV1GcsDestination
[src]

Stats anomalies base folder path.

§
readonly updateTime?: Date
[src]

Output only. Timestamp when this ModelDeploymentMonitoringJob was updated most recently.