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]

Custom labels to apply to the job and any Cloud Logging LogEntry that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple labels fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see Organize resources using labels.

§
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.