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

Batch

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

A representation of a batch workload in the service.

interface Batch {
readonly createTime?: Date;
readonly creator?: string;
environmentConfig?: EnvironmentConfig;
labels?: {
[key: string]: string;
}
;
readonly name?: string;
readonly operation?: string;
pysparkBatch?: PySparkBatch;
runtimeConfig?: RuntimeConfig;
readonly runtimeInfo?: RuntimeInfo;
sparkBatch?: SparkBatch;
sparkRBatch?: SparkRBatch;
sparkSqlBatch?: SparkSqlBatch;
readonly state?:
| "STATE_UNSPECIFIED"
| "PENDING"
| "RUNNING"
| "CANCELLING"
| "CANCELLED"
| "SUCCEEDED"
| "FAILED";
readonly stateHistory?: StateHistory[];
readonly stateMessage?: string;
readonly stateTime?: Date;
readonly uuid?: string;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. The time when the batch was created.

§
readonly creator?: string
[src]

Output only. The email address of the user who created the batch.

§
environmentConfig?: EnvironmentConfig
[src]

Optional. Environment configuration for the batch execution.

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

Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.

§
readonly name?: string
[src]

Output only. The resource name of the batch.

§
readonly operation?: string
[src]

Output only. The resource name of the operation associated with this batch.

§
pysparkBatch?: PySparkBatch
[src]

Optional. PySpark batch config.

§
runtimeConfig?: RuntimeConfig
[src]

Optional. Runtime configuration for the batch execution.

§
readonly runtimeInfo?: RuntimeInfo
[src]

Output only. Runtime information about batch execution.

§
sparkBatch?: SparkBatch
[src]

Optional. Spark batch config.

§
sparkRBatch?: SparkRBatch
[src]

Optional. SparkR batch config.

§
sparkSqlBatch?: SparkSqlBatch
[src]

Optional. SparkSql batch config.

§
readonly state?: "STATE_UNSPECIFIED" | "PENDING" | "RUNNING" | "CANCELLING" | "CANCELLED" | "SUCCEEDED" | "FAILED"
[src]

Output only. The state of the batch.

§
readonly stateHistory?: StateHistory[]
[src]

Output only. Historical state information for the batch.

§
readonly stateMessage?: string
[src]

Output only. Batch state details, such as a failure description if the state is FAILED.

§
readonly stateTime?: Date
[src]

Output only. The time when the batch entered a current state.

§
readonly uuid?: string
[src]

Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.