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