BatchArgs

data class BatchArgs(val batchId: Output<String>? = null, val environmentConfig: Output<EnvironmentConfigArgs>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val pysparkBatch: Output<PySparkBatchArgs>? = null, val requestId: Output<String>? = null, val runtimeConfig: Output<RuntimeConfigArgs>? = null, val sparkBatch: Output<SparkBatchArgs>? = null, val sparkRBatch: Output<SparkRBatchArgs>? = null, val sparkSqlBatch: Output<SparkSqlBatchArgs>? = null) : ConvertibleToJava<BatchArgs>

Creates a batch workload that executes asynchronously. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun BatchArgs(batchId: Output<String>? = null, environmentConfig: Output<EnvironmentConfigArgs>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, project: Output<String>? = null, pysparkBatch: Output<PySparkBatchArgs>? = null, requestId: Output<String>? = null, runtimeConfig: Output<RuntimeConfigArgs>? = null, sparkBatch: Output<SparkBatchArgs>? = null, sparkRBatch: Output<SparkRBatchArgs>? = null, sparkSqlBatch: Output<SparkSqlBatchArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): BatchArgs

Properties

Link copied to clipboard
val batchId: Output<String>? = null

Optional. The ID to use for the batch, which will become the final component of the batch's resource name.This value must be 4-63 characters. Valid characters are /0-9-/.

Link copied to clipboard

Optional. Environment configuration for the batch execution.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val pysparkBatch: Output<PySparkBatchArgs>? = null

Optional. PySpark batch config.

Link copied to clipboard
val requestId: Output<String>? = null

Optional. A unique ID used to identify the request. If the service receives two CreateBatchRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateBatchRequest)s with the same request_id, the second request is ignored and the Operation that corresponds to the first Batch created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Link copied to clipboard
val runtimeConfig: Output<RuntimeConfigArgs>? = null

Optional. Runtime configuration for the batch execution.

Link copied to clipboard
val sparkBatch: Output<SparkBatchArgs>? = null

Optional. Spark batch config.

Link copied to clipboard
val sparkRBatch: Output<SparkRBatchArgs>? = null

Optional. SparkR batch config.

Link copied to clipboard
val sparkSqlBatch: Output<SparkSqlBatchArgs>? = null

Optional. SparkSql batch config.