Class: Google::Apis::DataflowV1b3::JobMessage

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

Overview

A particular message pertaining to a Dataflow job.

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) ⇒ JobMessage

Returns a new instance of JobMessage



1812
1813
1814
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1812

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

Instance Attribute Details

#idString

Deprecated. Corresponds to the JSON property id

Returns:

  • (String)


1795
1796
1797
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1795

def id
  @id
end

#message_importanceString

Importance level of the message. Corresponds to the JSON property messageImportance

Returns:

  • (String)


1800
1801
1802
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1800

def message_importance
  @message_importance
end

#message_textString

The text of the message. Corresponds to the JSON property messageText

Returns:

  • (String)


1805
1806
1807
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1805

def message_text
  @message_text
end

#timeString

The timestamp of the message. Corresponds to the JSON property time

Returns:

  • (String)


1810
1811
1812
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1810

def time
  @time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1817
1818
1819
1820
1821
1822
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1817

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @message_importance = args[:message_importance] if args.key?(:message_importance)
  @message_text = args[:message_text] if args.key?(:message_text)
  @time = args[:time] if args.key?(:time)
end