public static class GoogleApiDebugOptions.GoogleApiTracer extends HashMap<String,String> implements GoogleClientRequestInitializer
GoogleClientRequestInitializer that adds the trace destination to Google API calls.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleApiTracer() |
| Modifier and Type | Method and Description |
|---|---|
GoogleApiDebugOptions.GoogleApiTracer |
addTraceFor(AbstractGoogleClientRequest<?> request,
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,
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, valuesequals, hashCode, toStringpublic GoogleApiDebugOptions.GoogleApiTracer addTraceFor(AbstractGoogleClient client, String traceDestination)
GoogleApiDebugOptions.GoogleApiTracer that sets the trace destination on all
calls that match the given client type.public GoogleApiDebugOptions.GoogleApiTracer addTraceFor(AbstractGoogleClientRequest<?> request, 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 IOException
initialize in interface GoogleClientRequestInitializerIOException