class Google::Apis::DataprocV1beta2::ClusterOperation

The cluster operation triggered by a workflow.

Attributes

done[RW]

Output only. Indicates the operation is done. Corresponds to the JSON property `done` @return [Boolean]

done?[RW]

Output only. Indicates the operation is done. Corresponds to the JSON property `done` @return [Boolean]

error[RW]

Output only. Error, if operation failed. Corresponds to the JSON property `error` @return [String]

operation_id[RW]

Output only. The id of the cluster operation. Corresponds to the JSON property `operationId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 556
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataproc_v1beta2/classes.rb, line 561
def update!(**args)
  @done = args[:done] if args.key?(:done)
  @error = args[:error] if args.key?(:error)
  @operation_id = args[:operation_id] if args.key?(:operation_id)
end