Class: Google::Apis::DataprocV1::ClusterOperationMetadata

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 operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClusterOperationMetadata

Returns a new instance of ClusterOperationMetadata.



1639
1640
1641
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1639

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

Instance Attribute Details

#child_operation_idsArray<String>

Output only. Child operation ids Corresponds to the JSON property childOperationIds

Returns:

  • (Array<String>)


1597
1598
1599
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1597

def child_operation_ids
  @child_operation_ids
end

#cluster_nameString

Output only. Name of the cluster for the operation. Corresponds to the JSON property clusterName

Returns:

  • (String)


1602
1603
1604
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1602

def cluster_name
  @cluster_name
end

#cluster_uuidString

Output only. Cluster UUID for the operation. Corresponds to the JSON property clusterUuid

Returns:

  • (String)


1607
1608
1609
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1607

def cluster_uuid
  @cluster_uuid
end

#descriptionString

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

Returns:

  • (String)


1612
1613
1614
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1612

def description
  @description
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


1617
1618
1619
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1617

def labels
  @labels
end

#operation_typeString

Output only. The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


1622
1623
1624
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1622

def operation_type
  @operation_type
end

#statusGoogle::Apis::DataprocV1::ClusterOperationStatus

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



1627
1628
1629
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1627

def status
  @status
end

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

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



1632
1633
1634
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1632

def status_history
  @status_history
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


1637
1638
1639
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1637

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1644

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