public interface GoogleApiDebugOptions extends PipelineOptions
Modifier and Type | Interface and Description |
---|---|
static class |
GoogleApiDebugOptions.GoogleApiTracer
A
GoogleClientRequestInitializer that adds the trace destination to Google API calls. |
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.NoOpMetricsSink, PipelineOptions.UserAgentFactory
Modifier and Type | Method and Description |
---|---|
GoogleApiDebugOptions.GoogleApiTracer |
getGoogleApiTrace()
This option enables tracing of API calls to Google services used within the Apache
Beam SDK.
|
void |
setGoogleApiTrace(GoogleApiDebugOptions.GoogleApiTracer commands) |
as, getJobName, getMetricsHttpSinkUrl, getMetricsPushPeriod, getMetricsSink, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, setJobName, setMetricsHttpSinkUrl, setMetricsPushPeriod, setMetricsSink, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
GoogleApiDebugOptions.GoogleApiTracer getGoogleApiTrace()
{"ApiName":"TraceDestination",...}
where the ApiName
represents the request classes canonical name. The
TraceDestination
is a logical trace consumer to whom the trace will be reported.
Typically, "producer" is the right destination to use: this makes API traces available to the
team offering the API. Note that by enabling this option, the contents of the requests to and
from Google Cloud services will be made available to Google. For example, by specifying
{"Dataflow":"producer"}
, all calls to the Dataflow service will be made available
to Google, specifically to the Google Cloud Dataflow team.void setGoogleApiTrace(GoogleApiDebugOptions.GoogleApiTracer commands)