Class: Google::Apis::BigquerydatatransferV1::TransferMessage
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatatransferV1::TransferMessage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquerydatatransfer_v1/classes.rb,
lib/google/apis/bigquerydatatransfer_v1/representations.rb,
lib/google/apis/bigquerydatatransfer_v1/representations.rb
Overview
Represents a user facing message for a particular data transfer run.
Instance Attribute Summary collapse
-
#message_text ⇒ String
Message text.
-
#message_time ⇒ String
Time when message was logged.
-
#severity ⇒ String
Message severity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferMessage
constructor
A new instance of TransferMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TransferMessage
Returns a new instance of TransferMessage.
1076 1077 1078 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1076 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message_text ⇒ String
Message text.
Corresponds to the JSON property messageText
1064 1065 1066 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1064 def @message_text end |
#message_time ⇒ String
Time when message was logged.
Corresponds to the JSON property messageTime
1069 1070 1071 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1069 def @message_time end |
#severity ⇒ String
Message severity.
Corresponds to the JSON property severity
1074 1075 1076 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1074 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1081 1082 1083 1084 1085 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1081 def update!(**args) @message_text = args[:message_text] if args.key?(:message_text) @message_time = args[:message_time] if args.key?(:message_time) @severity = args[:severity] if args.key?(:severity) end |