Class: Google::Cloud::Dataproc::V1::Batch

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1/batches.rb

Overview

A representation of a batch workload in the service.

Defined Under Namespace

Modules: State Classes: LabelsEntry, StateHistory

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the batch was created.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#creator::String (readonly)

Returns Output only. The email address of the user who created the batch.

Returns:

  • (::String)

    Output only. The email address of the user who created the batch.



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#environment_config::Google::Cloud::Dataproc::V1::EnvironmentConfig

Returns Optional. Environment configuration for the batch execution.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns 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.



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#name::String (readonly)

Returns Output only. The resource name of the batch.

Returns:

  • (::String)

    Output only. The resource name of the batch.



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#operation::String (readonly)

Returns Output only. The resource name of the operation associated with this batch.

Returns:

  • (::String)

    Output only. The resource name of the operation associated with this batch.



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#pyspark_batch::Google::Cloud::Dataproc::V1::PySparkBatch

Returns Optional. PySpark batch config.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#runtime_config::Google::Cloud::Dataproc::V1::RuntimeConfig

Returns Optional. Runtime configuration for the batch execution.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#runtime_info::Google::Cloud::Dataproc::V1::RuntimeInfo (readonly)

Returns Output only. Runtime information about batch execution.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#spark_batch::Google::Cloud::Dataproc::V1::SparkBatch

Returns Optional. Spark batch config.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#spark_r_batch::Google::Cloud::Dataproc::V1::SparkRBatch

Returns Optional. SparkR batch config.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#spark_sql_batch::Google::Cloud::Dataproc::V1::SparkSqlBatch

Returns Optional. SparkSql batch config.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#state::Google::Cloud::Dataproc::V1::Batch::State (readonly)

Returns Output only. The state of the batch.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#state_history::Array<::Google::Cloud::Dataproc::V1::Batch::StateHistory> (readonly)

Returns Output only. Historical state information for the batch.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#state_message::String (readonly)

Returns Output only. Batch state details, such as a failure description if the state is FAILED.

Returns:

  • (::String)

    Output only. Batch state details, such as a failure description if the state is FAILED.



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#state_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the batch entered a current state.

Returns:



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end

#uuid::String (readonly)

Returns Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.

Returns:

  • (::String)

    Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.



165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# File 'proto_docs/google/cloud/dataproc/v1/batches.rb', line 165

class Batch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Historical state information.
  # @!attribute [r] state
  #   @return [::Google::Cloud::Dataproc::V1::Batch::State]
  #     Output only. The state of the batch at this point in history.
  # @!attribute [r] state_message
  #   @return [::String]
  #     Output only. Details about the state at this point in history.
  # @!attribute [r] state_start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The time when the batch entered the historical state.
  class StateHistory
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The batch state.
  module State
    # The batch state is unknown.
    STATE_UNSPECIFIED = 0

    # The batch is created before running.
    PENDING = 1

    # The batch is running.
    RUNNING = 2

    # The batch is cancelling.
    CANCELLING = 3

    # The batch cancellation was successful.
    CANCELLED = 4

    # The batch completed successfully.
    SUCCEEDED = 5

    # The batch is no longer running due to an error.
    FAILED = 6
  end
end