Class: Google::Apis::DataflowV1b3::JobMessage
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::JobMessage
- 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
-
#id ⇒ String
Identifies the message.
-
#message_importance ⇒ String
Importance level of the message.
-
#message_text ⇒ String
The text of the message.
-
#time ⇒ String
The timestamp of the message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobMessage
constructor
A new instance of JobMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobMessage
Returns a new instance of JobMessage
1173 1174 1175 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1173 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
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
1171 1172 1173 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1171 def id @id end |
#message_importance ⇒ String
Importance level of the message.
Corresponds to the JSON property messageImportance
1160 1161 1162 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1160 def @message_importance end |
#message_text ⇒ String
The text of the message.
Corresponds to the JSON property messageText
1155 1156 1157 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1155 def @message_text end |
#time ⇒ String
The timestamp of the message.
Corresponds to the JSON property time
1165 1166 1167 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1165 def time @time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1178 1179 1180 1181 1182 1183 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1178 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 |