class Google::Apis::DatastreamV1::ValidationMessage
Represent user-facing validation result message.
Attributes
code[RW]
A custom code identifying this specific message. Corresponds to the JSON property ‘code` @return [String]
level[RW]
Message severity level (warning or error). Corresponds to the JSON property ‘level` @return [String]
message[RW]
The result of the validation. Corresponds to the JSON property ‘message` @return [String]
metadata[RW]
Additional metadata related to the result. Corresponds to the JSON property ‘metadata` @return [Hash<String,String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastream_v1/classes.rb, line 1988 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datastream_v1/classes.rb, line 1993 def update!(**args) @code = args[:code] if args.key?(:code) @level = args[:level] if args.key?(:level) @message = args[:message] if args.key?(:message) @metadata = args[:metadata] if args.key?(:metadata) end