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

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

Overview

A particular message pertaining to a Dataflow job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JobMessage

Returns a new instance of JobMessage.



2298
2299
2300
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2298

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

Instance Attribute Details

#idString

Deprecated. Corresponds to the JSON property id

Returns:

  • (String)


2281
2282
2283
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2281

def id
  @id
end

#message_importanceString

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

Returns:

  • (String)


2286
2287
2288
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2286

def message_importance
  @message_importance
end

#message_textString

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

Returns:

  • (String)


2291
2292
2293
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2291

def message_text
  @message_text
end

#timeString

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

Returns:

  • (String)


2296
2297
2298
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2296

def time
  @time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2303
2304
2305
2306
2307
2308
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 2303

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