Skip to main content

batches

Overview

Namebatches
TypeResource
Idgoogle.dataproc.batches

Fields

NameDatatypeDescription
namestringOutput only. The resource name of the batch.
sparkSqlBatchobjectA configuration for running Apache Spark SQL (https://spark.apache.org/sql/) queries as a batch workload.
runtimeInfoobjectRuntime information about workload execution.
operationstringOutput only. The resource name of the operation associated with this batch.
stateMessagestringOutput only. Batch state details, such as a failure description if the state is FAILED.
stateHistoryarrayOutput only. Historical state information for the batch.
runtimeConfigobjectRuntime configuration for a workload.
creatorstringOutput only. The email address of the user who created the batch.
labelsobjectOptional. 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.
stateTimestringOutput only. The time when the batch entered a current state.
uuidstringOutput only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
pysparkBatchobjectA configuration for running an Apache PySpark (https://spark.apache.org/docs/latest/api/python/getting_started/quickstart.html) batch workload.
statestringOutput only. The state of the batch.
sparkRBatchobjectA configuration for running an Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) batch workload.
environmentConfigobjectEnvironment configuration for a workload.
sparkBatchobjectA configuration for running an Apache Spark (https://spark.apache.org/) batch workload.
createTimestringOutput only. The time when the batch was created.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_batches_getSELECTbatchesId, locationsId, projectsIdGets the batch workload resource representation.
projects_locations_batches_listSELECTlocationsId, projectsIdLists batch workloads.
projects_locations_batches_createINSERTlocationsId, projectsIdCreates a batch workload that executes asynchronously.
projects_locations_batches_deleteDELETEbatchesId, locationsId, projectsIdDeletes the batch workload resource. If the batch is not in a CANCELLED, SUCCEEDED or FAILED State, the delete operation fails and the response returns FAILED_PRECONDITION.
_projects_locations_batches_listEXEClocationsId, projectsIdLists batch workloads.