Class: Google::Apis::DataprocV1::NodeGroupOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb

Overview

Metadata describing the node group operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeGroupOperationMetadata

Returns a new instance of NodeGroupOperationMetadata.



5293
5294
5295
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5293

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cluster_uuidString

Output only. Cluster UUID associated with the node group operation. Corresponds to the JSON property clusterUuid

Returns:

  • (String)


5256
5257
5258
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5256

def cluster_uuid
  @cluster_uuid
end

#descriptionString

Output only. Short description of operation. Corresponds to the JSON property description

Returns:

  • (String)


5261
5262
5263
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5261

def description
  @description
end

#labelsHash<String,String>

Output only. Labels associated with the operation. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


5266
5267
5268
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5266

def labels
  @labels
end

#node_group_idString

Output only. Node group ID for the operation. Corresponds to the JSON property nodeGroupId

Returns:

  • (String)


5271
5272
5273
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5271

def node_group_id
  @node_group_id
end

#operation_typeString

The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


5276
5277
5278
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5276

def operation_type
  @operation_type
end

#statusGoogle::Apis::DataprocV1::ClusterOperationStatus

The status of the operation. Corresponds to the JSON property status



5281
5282
5283
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5281

def status
  @status
end

#status_historyArray<Google::Apis::DataprocV1::ClusterOperationStatus>

Output only. The previous operation status. Corresponds to the JSON property statusHistory



5286
5287
5288
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5286

def status_history
  @status_history
end

#warningsArray<String>

Output only. Errors encountered during operation execution. Corresponds to the JSON property warnings

Returns:

  • (Array<String>)


5291
5292
5293
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5291

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5298

def update!(**args)
  @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
  @description = args[:description] if args.key?(:description)
  @labels = args[:labels] if args.key?(:labels)
  @node_group_id = args[:node_group_id] if args.key?(:node_group_id)
  @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