public static class GoogleApiDebugOptions.GoogleApiTracer extends HashMap<String,String> implements com.google.api.client.googleapis.services.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(com.google.api.client.googleapis.services.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(com.google.api.client.googleapis.services.AbstractGoogleClient client,
String traceDestination)
Creates a
GoogleApiDebugOptions.GoogleApiTracer that sets the trace destination on all
calls that match the given client type. |
void |
initialize(com.google.api.client.googleapis.services.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(com.google.api.client.googleapis.services.AbstractGoogleClient client, String traceDestination)
GoogleApiDebugOptions.GoogleApiTracer that sets the trace destination on all
calls that match the given client type.public GoogleApiDebugOptions.GoogleApiTracer addTraceFor(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> request, String traceDestination)
GoogleApiDebugOptions.GoogleApiTracer that sets the trace traceDestination on all
calls that match for the given request type.public void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> request)
throws IOException
initialize in interface com.google.api.client.googleapis.services.GoogleClientRequestInitializerIOExceptionCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.