Interface GoogleApiDebugOptions

All Superinterfaces:
HasDisplayData, PipelineOptions
All Known Subinterfaces:
BigQueryOptions, CloudResourceManagerOptions, DataflowPipelineOptions, DataflowPipelineWorkerPoolOptions, DataflowWorkerHarnessOptions, GcpOptions, GcsOptions, PubsubOptions, TestBigQueryOptions, TestDataflowPipelineOptions, TestPubsubOptions

public interface GoogleApiDebugOptions extends PipelineOptions
These options configure debug settings for Google API clients created within the Apache Beam SDK.
  • Method Details

    • getGoogleApiTrace

      This option enables tracing of API calls to Google services used within the Apache Beam SDK. Values are expected in JSON format {"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.
    • setGoogleApiTrace

      void setGoogleApiTrace(GoogleApiDebugOptions.GoogleApiTracer commands)