class Google::Apis::RetailV2::GoogleCloudRetailLoggingErrorContext
A description of the context in which an error occurred.
Attributes
http_request[RW]
HTTP request data that is related to a reported error. Corresponds to the JSON property `httpRequest` @return [Google::Apis::RetailV2::GoogleCloudRetailLoggingHttpRequestContext]
report_location[RW]
Indicates a location in the source code of the service for which errors are reported. Corresponds to the JSON property `reportLocation` @return [Google::Apis::RetailV2::GoogleCloudRetailLoggingSourceLocation]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/retail_v2/classes.rb, line 88 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/retail_v2/classes.rb, line 93 def update!(**args) @http_request = args[:http_request] if args.key?(:http_request) @report_location = args[:report_location] if args.key?(:report_location) end