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

Job

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

The Cloud Batch Job description.

interface Job {
allocationPolicy?: AllocationPolicy;
readonly createTime?: Date;
labels?: {
[key: string]: string;
}
;
logsPolicy?: LogsPolicy;
readonly name?: string;
notifications?: JobNotification[];
priority?: bigint;
readonly status?: JobStatus;
taskGroups?: TaskGroup[];
readonly uid?: string;
readonly updateTime?: Date;
}

§Properties

§
allocationPolicy?: AllocationPolicy
[src]

Compute resource allocation for all TaskGroups in the Job.

§
readonly createTime?: Date
[src]

Output only. When the Job was created.

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

Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. Google Compute Engine label restrictions apply. Label names that start with "goog-" or "google-" are reserved.

§
logsPolicy?: LogsPolicy
[src]

Log preservation policy for the Job.

§
readonly name?: string
[src]

Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".

§
notifications?: JobNotification[]
[src]

Notification configurations.

§
priority?: bigint
[src]

Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.

§
readonly status?: JobStatus
[src]

Output only. Job status. It is read only for users.

§
taskGroups?: TaskGroup[]
[src]

Required. TaskGroups in the Job. Only one TaskGroup is supported now.

§
readonly uid?: string
[src]

Output only. A system generated unique ID for the Job.

§
readonly updateTime?: Date
[src]

Output only. The last time the Job was updated.