class Google::Apis::DatastreamV1alpha1::Error
Represent a user-facing Error
.
Attributes
details[RW]
Additional information about the error. Corresponds to the JSON property ‘details` @return [Hash<String,String>]
error_time[RW]
The time when the error occurred. Corresponds to the JSON property ‘errorTime` @return [String]
error_uuid[RW]
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses. Corresponds to the JSON property ‘errorUuid` @return [String]
message[RW]
A message containing more information about the error that occurred. Corresponds to the JSON property ‘message` @return [String]
reason[RW]
A title that explains the reason for the error. Corresponds to the JSON property ‘reason` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastream_v1alpha1/classes.rb, line 378 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_v1alpha1/classes.rb, line 383 def update!(**args) @details = args[:details] if args.key?(:details) @error_time = args[:error_time] if args.key?(:error_time) @error_uuid = args[:error_uuid] if args.key?(:error_uuid) @message = args[:message] if args.key?(:message) @reason = args[:reason] if args.key?(:reason) end