class Google::Apis::ContentV2::Error
An error returned by the API.
Attributes
domain[RW]
The domain of the error. Corresponds to the JSON property `domain` @return [String]
message[RW]
A description of the error. Corresponds to the JSON property `message` @return [String]
reason[RW]
The error code. Corresponds to the JSON property `reason` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 2138 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 2143 def update!(**args) @domain = args[:domain] if args.key?(:domain) @message = args[:message] if args.key?(:message) @reason = args[:reason] if args.key?(:reason) end