class Google::Apis::DataprocV1beta2::ClusterOperationMetadata
Metadata describing the operation.
Attributes
Output only. Name of the cluster for the operation. Corresponds to the JSON property `clusterName` @return [String]
Output only. Cluster
UUID for the operation. Corresponds to the JSON property `clusterUuid` @return [String]
Output only. Short description of operation. Corresponds to the JSON property `description` @return [String]
Output only. Labels associated with the operation Corresponds to the JSON property `labels` @return [Hash<String,String>]
Output only. The operation type. Corresponds to the JSON property `operationType` @return [String]
The status of the operation. Corresponds to the JSON property `status` @return [Google::Apis::DataprocV1beta2::ClusterOperationStatus]
Output only. The previous operation status. Corresponds to the JSON property `statusHistory` @return [Array<Google::Apis::DataprocV1beta2::ClusterOperationStatus>]
Output only. Errors encountered during operation execution. Corresponds to the JSON property `warnings` @return [Array<String>]
Public Class Methods
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 612 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dataproc_v1beta2/classes.rb, line 617 def update!(**args) @cluster_name = args[:cluster_name] if args.key?(:cluster_name) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) @description = args[:description] if args.key?(:description) @labels = args[:labels] if args.key?(:labels) @operation_type = args[:operation_type] if args.key?(:operation_type) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) @warnings = args[:warnings] if args.key?(:warnings) end