A representation of a batch workload in the service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the batch was created.
#creator
def creator() -> ::String
Returns
- (::String) — Output only. The email address of the user who created the batch.
#environment_config
def environment_config() -> ::Google::Cloud::Dataproc::V1::EnvironmentConfig
Returns
- (::Google::Cloud::Dataproc::V1::EnvironmentConfig) — Optional. Environment configuration for the batch execution.
#environment_config=
def environment_config=(value) -> ::Google::Cloud::Dataproc::V1::EnvironmentConfig
Parameter
- value (::Google::Cloud::Dataproc::V1::EnvironmentConfig) — Optional. Environment configuration for the batch execution.
Returns
- (::Google::Cloud::Dataproc::V1::EnvironmentConfig) — Optional. Environment configuration for the batch execution.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may 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.
#name
def name() -> ::String
Returns
- (::String) — Output only. The resource name of the batch.
#operation
def operation() -> ::String
Returns
- (::String) — Output only. The resource name of the operation associated with this batch.
#pyspark_batch
def pyspark_batch() -> ::Google::Cloud::Dataproc::V1::PySparkBatch
Returns
- (::Google::Cloud::Dataproc::V1::PySparkBatch) — Optional. PySpark batch config.
#pyspark_batch=
def pyspark_batch=(value) -> ::Google::Cloud::Dataproc::V1::PySparkBatch
Parameter
- value (::Google::Cloud::Dataproc::V1::PySparkBatch) — Optional. PySpark batch config.
Returns
- (::Google::Cloud::Dataproc::V1::PySparkBatch) — Optional. PySpark batch config.
#runtime_config
def runtime_config() -> ::Google::Cloud::Dataproc::V1::RuntimeConfig
Returns
- (::Google::Cloud::Dataproc::V1::RuntimeConfig) — Optional. Runtime configuration for the batch execution.
#runtime_config=
def runtime_config=(value) -> ::Google::Cloud::Dataproc::V1::RuntimeConfig
Parameter
- value (::Google::Cloud::Dataproc::V1::RuntimeConfig) — Optional. Runtime configuration for the batch execution.
Returns
- (::Google::Cloud::Dataproc::V1::RuntimeConfig) — Optional. Runtime configuration for the batch execution.
#runtime_info
def runtime_info() -> ::Google::Cloud::Dataproc::V1::RuntimeInfo
Returns
- (::Google::Cloud::Dataproc::V1::RuntimeInfo) — Output only. Runtime information about batch execution.
#spark_batch
def spark_batch() -> ::Google::Cloud::Dataproc::V1::SparkBatch
Returns
- (::Google::Cloud::Dataproc::V1::SparkBatch) — Optional. Spark batch config.
#spark_batch=
def spark_batch=(value) -> ::Google::Cloud::Dataproc::V1::SparkBatch
Parameter
- value (::Google::Cloud::Dataproc::V1::SparkBatch) — Optional. Spark batch config.
Returns
- (::Google::Cloud::Dataproc::V1::SparkBatch) — Optional. Spark batch config.
#spark_r_batch
def spark_r_batch() -> ::Google::Cloud::Dataproc::V1::SparkRBatch
Returns
- (::Google::Cloud::Dataproc::V1::SparkRBatch) — Optional. SparkR batch config.
#spark_r_batch=
def spark_r_batch=(value) -> ::Google::Cloud::Dataproc::V1::SparkRBatch
Parameter
- value (::Google::Cloud::Dataproc::V1::SparkRBatch) — Optional. SparkR batch config.
Returns
- (::Google::Cloud::Dataproc::V1::SparkRBatch) — Optional. SparkR batch config.
#spark_sql_batch
def spark_sql_batch() -> ::Google::Cloud::Dataproc::V1::SparkSqlBatch
Returns
- (::Google::Cloud::Dataproc::V1::SparkSqlBatch) — Optional. SparkSql batch config.
#spark_sql_batch=
def spark_sql_batch=(value) -> ::Google::Cloud::Dataproc::V1::SparkSqlBatch
Parameter
- value (::Google::Cloud::Dataproc::V1::SparkSqlBatch) — Optional. SparkSql batch config.
Returns
- (::Google::Cloud::Dataproc::V1::SparkSqlBatch) — Optional. SparkSql batch config.
#state
def state() -> ::Google::Cloud::Dataproc::V1::Batch::State
Returns
- (::Google::Cloud::Dataproc::V1::Batch::State) — Output only. The state of the batch.
#state_history
def state_history() -> ::Array<::Google::Cloud::Dataproc::V1::Batch::StateHistory>
Returns
- (::Array<::Google::Cloud::Dataproc::V1::Batch::StateHistory>) — Output only. Historical state information for the batch.
#state_message
def state_message() -> ::String
Returns
-
(::String) — Output only. Batch state details, such as a failure
description if the state is
FAILED
.
#state_time
def state_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the batch entered a current state.
#uuid
def uuid() -> ::String
Returns
- (::String) — Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.