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



2829
2830
2831
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2829

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

Instance Attribute Details

#idString

Identifies the message. This is automatically generated by the service; the caller should treat it as an opaque string. Corresponds to the JSON property id

Returns:

  • (String)


2827
2828
2829
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2827

def id
  @id
end

#message_importanceString

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

Returns:

  • (String)


2816
2817
2818
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2816

def message_importance
  @message_importance
end

#message_textString

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

Returns:

  • (String)


2811
2812
2813
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2811

def message_text
  @message_text
end

#timeString

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

Returns:

  • (String)


2821
2822
2823
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2821

def time
  @time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2834
2835
2836
2837
2838
2839
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2834

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