Reference documentation and code samples for the Google Cloud Dataproc V1 Client class Batch.
A representation of a batch workload in the service.
Generated from protobuf message google.cloud.dataproc.v1.Batch
Namespace
Google \ Cloud \ Dataproc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the batch.
↳ uuid
string
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
↳ create_time
↳ pyspark_batch
↳ spark_batch
↳ spark_r_batch
↳ spark_sql_batch
↳ runtime_info
↳ state
int
Output only. The state of the batch.
↳ state_message
string
Output only. Batch state details, such as a failure description if the state is FAILED
.
↳ state_time
↳ creator
string
Output only. The email address of the user who created the batch.
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. The labels to associate with this batch. Label keysmust contain 1 to 63 characters, and must conform to RFC 1035 . Label valuesmay be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 . No more than 32 labels can be associated with a batch.
↳ runtime_config
↳ environment_config
↳ operation
string
Output only. The resource name of the operation associated with this batch.
↳ state_history
getName
Output only. The resource name of the batch.
string
setName
Output only. The resource name of the batch.
var
string
$this
getUuid
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
string
setUuid
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
var
string
$this
getCreateTime
Output only. The time when the batch was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the batch was created.
$this
getPysparkBatch
Optional. PySpark batch config.
hasPysparkBatch
setPysparkBatch
Optional. PySpark batch config.
$this
getSparkBatch
Optional. Spark batch config.
hasSparkBatch
setSparkBatch
Optional. Spark batch config.
$this
getSparkRBatch
Optional. SparkR batch config.
hasSparkRBatch
setSparkRBatch
Optional. SparkR batch config.
$this
getSparkSqlBatch
Optional. SparkSql batch config.
hasSparkSqlBatch
setSparkSqlBatch
Optional. SparkSql batch config.
$this
getRuntimeInfo
Output only. Runtime information about batch execution.
hasRuntimeInfo
clearRuntimeInfo
setRuntimeInfo
Output only. Runtime information about batch execution.
$this
getState
Output only. The state of the batch.
int
setState
Output only. The state of the batch.
var
int
$this
getStateMessage
Output only. Batch state details, such as a failure
description if the state is FAILED
.
string
setStateMessage
Output only. Batch state details, such as a failure
description if the state is FAILED
.
var
string
$this
getStateTime
Output only. The time when the batch entered a current state.
hasStateTime
clearStateTime
setStateTime
Output only. The time when the batch entered a current state.
$this
getCreator
Output only. The email address of the user who created the batch.
string
setCreator
Output only. The email address of the user who created the batch.
var
string
$this
getLabels
Optional. The labels to associate with this batch.
Label keysmust contain 1 to 63 characters, and must conform to RFC 1035 . Label valuesmay be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 . No more than 32 labels can be associated with a batch.
setLabels
Optional. The labels to associate with this batch.
Label keysmust contain 1 to 63 characters, and must conform to RFC 1035 . Label valuesmay be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 . No more than 32 labels can be associated with a batch.
$this
getRuntimeConfig
Optional. Runtime configuration for the batch execution.
hasRuntimeConfig
clearRuntimeConfig
setRuntimeConfig
Optional. Runtime configuration for the batch execution.
$this
getEnvironmentConfig
Optional. Environment configuration for the batch execution.
hasEnvironmentConfig
clearEnvironmentConfig
setEnvironmentConfig
Optional. Environment configuration for the batch execution.
$this
getOperation
Output only. The resource name of the operation associated with this batch.
string
setOperation
Output only. The resource name of the operation associated with this batch.
var
string
$this
getStateHistory
Output only. Historical state information for the batch.
setStateHistory
Output only. Historical state information for the batch.
$this
getBatchConfig
string