class Google::Apis::DataprocV1::OperationMetadata

Metadata describing the operation.

Attributes

cluster_name[RW]

Name of the cluster for the operation. Corresponds to the JSON property `clusterName` @return [String]

cluster_uuid[RW]

Cluster UUId for the operation. Corresponds to the JSON property `clusterUuid` @return [String]

description[RW]
Output-only

Short description of operation.

Corresponds to the JSON property `description` @return [String]

details[RW]

A message containing any operation metadata details. Corresponds to the JSON property `details` @return [String]

end_time[RW]

The time that the operation completed. Corresponds to the JSON property `endTime` @return [String]

inner_state[RW]

A message containing the detailed operation state. Corresponds to the JSON property `innerState` @return [String]

insert_time[RW]

The time that the operation was requested. Corresponds to the JSON property `insertTime` @return [String]

operation_type[RW]
Output-only

The operation type.

Corresponds to the JSON property `operationType` @return [String]

start_time[RW]

The time that the operation was started by the server. Corresponds to the JSON property `startTime` @return [String]

state[RW]

A message containing the operation state. Corresponds to the JSON property `state` @return [String]

status[RW]

The status of the operation. Corresponds to the JSON property `status` @return [Google::Apis::DataprocV1::OperationStatus]

status_history[RW]
Output-only

Previous operation status.

Corresponds to the JSON property `statusHistory` @return [Array<Google::Apis::DataprocV1::OperationStatus>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dataproc_v1/classes.rb, line 1536
def update!(**args)
  @state = args[:state] if args.key?(:state)
  @inner_state = args[:inner_state] if args.key?(:inner_state)
  @details = args[:details] if args.key?(:details)
  @insert_time = args[:insert_time] if args.key?(:insert_time)
  @start_time = args[:start_time] if args.key?(:start_time)
  @end_time = args[:end_time] if args.key?(:end_time)
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
  @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
  @status = args[:status] if args.key?(:status)
  @status_history = args[:status_history] if args.key?(:status_history)
  @operation_type = args[:operation_type] if args.key?(:operation_type)
  @description = args[:description] if args.key?(:description)
end