public static class GoogleApiDebugOptions.GoogleApiTracer extends java.util.HashMap<java.lang.String,java.lang.String> implements GoogleClientRequestInitializer
GoogleClientRequestInitializer
that adds the trace destination to Google API calls.Constructor and Description |
---|
GoogleApiTracer() |
Modifier and Type | Method and Description |
---|---|
GoogleApiDebugOptions.GoogleApiTracer |
addTraceFor(AbstractGoogleClientRequest<?> request,
java.lang.String traceDestination)
Creates a
GoogleApiDebugOptions.GoogleApiTracer that sets the trace traceDestination on all calls
that match for the given request type. |
GoogleApiDebugOptions.GoogleApiTracer |
addTraceFor(AbstractGoogleClient client,
java.lang.String traceDestination)
Creates a
GoogleApiDebugOptions.GoogleApiTracer that sets the trace destination on all calls that match the
given client type. |
void |
initialize(AbstractGoogleClientRequest<?> request) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public GoogleApiDebugOptions.GoogleApiTracer addTraceFor(AbstractGoogleClient client, java.lang.String traceDestination)
GoogleApiDebugOptions.GoogleApiTracer
that sets the trace destination on all calls that match the
given client type.public GoogleApiDebugOptions.GoogleApiTracer addTraceFor(AbstractGoogleClientRequest<?> request, java.lang.String traceDestination)
GoogleApiDebugOptions.GoogleApiTracer
that sets the trace traceDestination
on all calls
that match for the given request type.public void initialize(AbstractGoogleClientRequest<?> request) throws java.io.IOException
initialize
in interface GoogleClientRequestInitializer
java.io.IOException