Class: Google::Apis::BigquerydatatransferV1::TransferMessage

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

Overview

Represents a user facing message for a particular data transfer run.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TransferMessage

Returns a new instance of TransferMessage.



890
891
892
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 890

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

Instance Attribute Details

#message_textString

Message text. Corresponds to the JSON property messageText

Returns:

  • (String)


878
879
880
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 878

def message_text
  @message_text
end

#message_timeString

Time when message was logged. Corresponds to the JSON property messageTime

Returns:

  • (String)


883
884
885
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 883

def message_time
  @message_time
end

#severityString

Message severity. Corresponds to the JSON property severity

Returns:

  • (String)


888
889
890
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 888

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



895
896
897
898
899
# File 'generated/google/apis/bigquerydatatransfer_v1/classes.rb', line 895

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