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.
§
labels?: {}
[src][key: string]: string;
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.