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.



5644
5645
5646
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5644

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)


5607
5608
5609
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5607

def cluster_uuid
  @cluster_uuid
end

#descriptionString

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

Returns:

  • (String)


5612
5613
5614
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5612

def description
  @description
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


5617
5618
5619
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5617

def labels
  @labels
end

#node_group_idString

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

Returns:

  • (String)


5622
5623
5624
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5622

def node_group_id
  @node_group_id
end

#operation_typeString

The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


5627
5628
5629
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5627

def operation_type
  @operation_type
end

#statusGoogle::Apis::DataprocV1::ClusterOperationStatus

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



5632
5633
5634
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5632

def status
  @status
end

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

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



5637
5638
5639
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5637

def status_history
  @status_history
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


5642
5643
5644
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5642

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5649

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