Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::Batch (v1.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::Batch.
A representation of a batch workload in the service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
defcreate_time()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The time when the batch was created.
#creator
defcreator()->::String- (::String) — Output only. The email address of the user who created the batch.
#environment_config
defenvironment_config()->::Google::Cloud::Dataproc::V1::EnvironmentConfig- (::Google::Cloud::Dataproc::V1::EnvironmentConfig) — Optional. Environment configuration for the batch execution.
#environment_config=
defenvironment_config=(value)->::Google::Cloud::Dataproc::V1::EnvironmentConfig- value (::Google::Cloud::Dataproc::V1::EnvironmentConfig) — Optional. Environment configuration for the batch execution.
- (::Google::Cloud::Dataproc::V1::EnvironmentConfig) — Optional. Environment configuration for the batch execution.
#labels
deflabels()->::Google::Protobuf::Map{::String=>::String}- (::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=
deflabels=(value)->::Google::Protobuf::Map{::String=>::String}- 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.
- (::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
defname()->::String- (::String) — Output only. The resource name of the batch.
#operation
defoperation()->::String- (::String) — Output only. The resource name of the operation associated with this batch.
#pyspark_batch
defpyspark_batch()->::Google::Cloud::Dataproc::V1::PySparkBatch-
(::Google::Cloud::Dataproc::V1::PySparkBatch) — Optional. PySpark batch config.
Note: The following fields are mutually exclusive:
pyspark_batch,spark_batch,spark_r_batch,spark_sql_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
#pyspark_batch=
defpyspark_batch=(value)->::Google::Cloud::Dataproc::V1::PySparkBatch-
value (::Google::Cloud::Dataproc::V1::PySparkBatch) — Optional. PySpark batch config.
Note: The following fields are mutually exclusive:
pyspark_batch,spark_batch,spark_r_batch,spark_sql_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dataproc::V1::PySparkBatch) — Optional. PySpark batch config.
Note: The following fields are mutually exclusive:
pyspark_batch,spark_batch,spark_r_batch,spark_sql_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
#runtime_config
defruntime_config()->::Google::Cloud::Dataproc::V1::RuntimeConfig- (::Google::Cloud::Dataproc::V1::RuntimeConfig) — Optional. Runtime configuration for the batch execution.
#runtime_config=
defruntime_config=(value)->::Google::Cloud::Dataproc::V1::RuntimeConfig- value (::Google::Cloud::Dataproc::V1::RuntimeConfig) — Optional. Runtime configuration for the batch execution.
- (::Google::Cloud::Dataproc::V1::RuntimeConfig) — Optional. Runtime configuration for the batch execution.
#runtime_info
defruntime_info()->::Google::Cloud::Dataproc::V1::RuntimeInfo- (::Google::Cloud::Dataproc::V1::RuntimeInfo) — Output only. Runtime information about batch execution.
#spark_batch
defspark_batch()->::Google::Cloud::Dataproc::V1::SparkBatch-
(::Google::Cloud::Dataproc::V1::SparkBatch) — Optional. Spark batch config.
Note: The following fields are mutually exclusive:
spark_batch,pyspark_batch,spark_r_batch,spark_sql_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
#spark_batch=
defspark_batch=(value)->::Google::Cloud::Dataproc::V1::SparkBatch-
value (::Google::Cloud::Dataproc::V1::SparkBatch) — Optional. Spark batch config.
Note: The following fields are mutually exclusive:
spark_batch,pyspark_batch,spark_r_batch,spark_sql_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dataproc::V1::SparkBatch) — Optional. Spark batch config.
Note: The following fields are mutually exclusive:
spark_batch,pyspark_batch,spark_r_batch,spark_sql_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
#spark_r_batch
defspark_r_batch()->::Google::Cloud::Dataproc::V1::SparkRBatch-
(::Google::Cloud::Dataproc::V1::SparkRBatch) — Optional. SparkR batch config.
Note: The following fields are mutually exclusive:
spark_r_batch,pyspark_batch,spark_batch,spark_sql_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
#spark_r_batch=
defspark_r_batch=(value)->::Google::Cloud::Dataproc::V1::SparkRBatch-
value (::Google::Cloud::Dataproc::V1::SparkRBatch) — Optional. SparkR batch config.
Note: The following fields are mutually exclusive:
spark_r_batch,pyspark_batch,spark_batch,spark_sql_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dataproc::V1::SparkRBatch) — Optional. SparkR batch config.
Note: The following fields are mutually exclusive:
spark_r_batch,pyspark_batch,spark_batch,spark_sql_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
#spark_sql_batch
defspark_sql_batch()->::Google::Cloud::Dataproc::V1::SparkSqlBatch-
(::Google::Cloud::Dataproc::V1::SparkSqlBatch) — Optional. SparkSql batch config.
Note: The following fields are mutually exclusive:
spark_sql_batch,pyspark_batch,spark_batch,spark_r_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
#spark_sql_batch=
defspark_sql_batch=(value)->::Google::Cloud::Dataproc::V1::SparkSqlBatch-
value (::Google::Cloud::Dataproc::V1::SparkSqlBatch) — Optional. SparkSql batch config.
Note: The following fields are mutually exclusive:
spark_sql_batch,pyspark_batch,spark_batch,spark_r_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dataproc::V1::SparkSqlBatch) — Optional. SparkSql batch config.
Note: The following fields are mutually exclusive:
spark_sql_batch,pyspark_batch,spark_batch,spark_r_batch. If a field in that set is populated, all other fields in the set will automatically be cleared.
#state
defstate()->::Google::Cloud::Dataproc::V1::Batch::State- (::Google::Cloud::Dataproc::V1::Batch::State) — Output only. The state of the batch.
#state_history
defstate_history()->::Array<::Google::Cloud::Dataproc::V1::Batch::StateHistory>- (::Array<::Google::Cloud::Dataproc::V1::Batch::StateHistory>) — Output only. Historical state information for the batch.
#state_message
defstate_message()->::String-
(::String) — Output only. Batch state details, such as a failure
description if the state is
FAILED.
#state_time
defstate_time()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The time when the batch entered a current state.
#uuid
defuuid()->::String- (::String) — Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.