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

GoogleCloudMlV1__Job

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

Represents a training or prediction job.

interface GoogleCloudMlV1__Job {
createTime?: Date;
endTime?: Date;
errorMessage?: string;
etag?: Uint8Array;
jobId?: string;
readonly jobPosition?: bigint;
labels?: {
[key: string]: string;
}
;
startTime?: Date;
state?:
| "STATE_UNSPECIFIED"
| "QUEUED"
| "PREPARING"
| "RUNNING"
| "SUCCEEDED"
| "FAILED"
| "CANCELLING"
| "CANCELLED";
}

§Properties

§
createTime?: Date
[src]

Output only. When the job was created.

§
endTime?: Date
[src]

Output only. When the job processing was completed.

§
errorMessage?: string
[src]

Output only. The details of a failure or a cancellation.

§
etag?: Uint8Array
[src]

etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a job from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform job updates in order to avoid race conditions: An etag is returned in the response to GetJob, and systems are expected to put that etag in the request to UpdateJob to ensure that their change will be applied to the same version of the job.

§
jobId?: string
[src]

Required. The user-specified id of the job.

§
readonly jobPosition?: bigint
[src]

Output only. It's only effect when the job is in QUEUED state. If it's positive, it indicates the job's position in the job scheduler. It's 0 when the job is already scheduled.

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

Optional. One or more labels that you can add, to organize your jobs. Each label is a key-value pair, where both the key and the value are arbitrary strings that you supply. For more information, see the documentation on using labels.

§

Input parameters to create a prediction job.

§

The current prediction job result.

§
startTime?: Date
[src]

Output only. When the job processing was started.

§
state?: "STATE_UNSPECIFIED" | "QUEUED" | "PREPARING" | "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED"
[src]

Output only. The detailed state of a job.

§

Input parameters to create a training job.

§

The current training job result.