Reference documentation and code samples for the Cloud Trace API class Google::Cloud::Trace::AsyncPatchTracesError.
AsyncPatchTracesError
Used to indicate a problem when patching traces to the API. This can occur when the API returns an error.
Inherits
- Google::Cloud::Error
Methods
#count
def count() -> Array<Google::Cloud::Trace::TraceRecord>
objects that were not written to the API due to the error.
Returns
- (Array<Google::Cloud::Trace::TraceRecord>) — traces The trace
#initialize
def initialize(message, traces = nil) -> AsyncPatchTracesError
Returns
- (AsyncPatchTracesError) — a new instance of AsyncPatchTracesError
#traces
def traces()
Returns the value of attribute traces.