Class: Google::Apis::DataprocV1::OperationStatus

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

Overview

The status of the operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OperationStatus

Returns a new instance of OperationStatus.



1702
1703
1704
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1702

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

Instance Attribute Details

#detailsString

A message containing any operation metadata details. Corresponds to the JSON property details

Returns:

  • (String)


1695
1696
1697
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1695

def details
  @details
end

#inner_stateString

A message containing the detailed operation state. Corresponds to the JSON property innerState

Returns:

  • (String)


1690
1691
1692
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1690

def inner_state
  @inner_state
end

#stateString

A message containing the operation state. Corresponds to the JSON property state

Returns:

  • (String)


1685
1686
1687
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1685

def state
  @state
end

#state_start_timeString

The time this state was entered. Corresponds to the JSON property stateStartTime

Returns:

  • (String)


1700
1701
1702
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1700

def state_start_time
  @state_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1707
1708
1709
1710
1711
1712
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1707

def update!(**args)
  @state = args[:state] if args.key?(:state)
  @inner_state = args[:inner_state] if args.key?(:inner_state)
  @details = args[:details] if args.key?(:details)
  @state_start_time = args[:state_start_time] if args.key?(:state_start_time)
end