class Google::Apis::DataprocV1::ClusterOperationMetadata
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]
operation_type[RW]
- Output-only
-
The operation type.
Corresponds to the JSON property `operationType` @return [String]
status[RW]
The status of the operation. Corresponds to the JSON property `status` @return [Google::Apis::DataprocV1::ClusterOperationStatus]
status_history[RW]
- Output-only
-
The previous operation status.
Corresponds to the JSON property `statusHistory` @return [Array<Google::Apis::DataprocV1::ClusterOperationStatus>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/dataproc_v1/classes.rb, line 1395 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 1400 def update!(**args) @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