BatchState constructor

const BatchState({
  1. Input<String?>? batchId,
  2. Input<String?>? createTime,
  3. Input<String?>? creator,
  4. Input<String?>? deletionPolicy,
  5. Input<Map<String, String>?>? effectiveLabels,
  6. Input<BatchEnvironmentConfig?>? environmentConfig,
  7. Input<Map<String, String>?>? labels,
  8. Input<String?>? location,
  9. Input<String?>? name,
  10. Input<String?>? operation,
  11. Input<String?>? project,
  12. Input<Map<String, String>?>? pulumiLabels,
  13. Input<BatchPysparkBatch?>? pysparkBatch,
  14. Input<BatchRuntimeConfig?>? runtimeConfig,
  15. Input<List<BatchRuntimeInfo>?>? runtimeInfos,
  16. Input<BatchSparkBatch?>? sparkBatch,
  17. Input<BatchSparkRBatch?>? sparkRBatch,
  18. Input<BatchSparkSqlBatch?>? sparkSqlBatch,
  19. Input<String?>? state,
  20. Input<List<BatchStateHistory>?>? stateHistories,
  21. Input<String?>? stateMessage,
  22. Input<String?>? stateTime,
  23. Input<String?>? uuid,
})

Creates a new BatchState. batchId The ID to use for the batch, which will become the final component of the batch's resource name. createTime The time when the batch was created. creator The email address of the user who created the batch. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. environmentConfig Environment configuration for the batch execution. labels The labels to associate with this batch. location The location in which the batch will be created in. name The resource name of the batch. operation The resource name of the operation associated with this batch. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource pysparkBatch PySpark batch config. runtimeConfig Runtime configuration for the batch execution. runtimeInfos Runtime information about batch execution. sparkBatch Spark batch config. sparkRBatch SparkR batch config. sparkSqlBatch Spark SQL batch config. state (Output) stateHistories Historical state information for the batch. stateMessage (Output) stateTime Batch state details, such as a failure description if the state is FAILED. uuid A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.

Implementation

const BatchState({
  this.batchId,
  this.createTime,
  this.creator,
  this.deletionPolicy,
  this.effectiveLabels,
  this.environmentConfig,
  this.labels,
  this.location,
  this.name,
  this.operation,
  this.project,
  this.pulumiLabels,
  this.pysparkBatch,
  this.runtimeConfig,
  this.runtimeInfos,
  this.sparkBatch,
  this.sparkRBatch,
  this.sparkSqlBatch,
  this.state,
  this.stateHistories,
  this.stateMessage,
  this.stateTime,
  this.uuid,
});