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.



3847
3848
3849
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3847

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)


3810
3811
3812
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3810

def cluster_uuid
  @cluster_uuid
end

#descriptionString

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

Returns:

  • (String)


3815
3816
3817
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3815

def description
  @description
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


3820
3821
3822
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3820

def labels
  @labels
end

#node_group_idString

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

Returns:

  • (String)


3825
3826
3827
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3825

def node_group_id
  @node_group_id
end

#operation_typeString

The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


3830
3831
3832
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3830

def operation_type
  @operation_type
end

#statusGoogle::Apis::DataprocV1::ClusterOperationStatus

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



3835
3836
3837
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3835

def status
  @status
end

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

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



3840
3841
3842
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3840

def status_history
  @status_history
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


3845
3846
3847
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3845

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3852

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