Interface SpannerOptions.SpannerEnvironment (6.119.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static interface SpannerOptions.SpannerEnvironment
The environment to read configuration values from. The default implementation uses environment
variables.
Methods
getDefaultSpannerOmniCredentials()
public default GoogleCredentials getDefaultSpannerOmniCredentials()
| Returns |
| Type |
Description |
com.google.auth.oauth2.GoogleCredentials |
|
getMonitoringHost() (deprecated)
public default String getMonitoringHost()
| Returns |
| Type |
Description |
String |
|
getOptimizerStatisticsPackage()
public default String getOptimizerStatisticsPackage()
The optimizer statistics package to use. Must return an empty string to indicate that no
value has been set.
| Returns |
| Type |
Description |
String |
|
getOptimizerVersion()
public default String getOptimizerVersion()
The optimizer version to use. Must return an empty string to indicate that no value has been
set.
| Returns |
| Type |
Description |
String |
|
isAutoTaggingDisabled()
public default boolean isAutoTaggingDisabled()
isAutoTaggingEnabled()
public default boolean isAutoTaggingEnabled()
isEnableApiTracing()
public default boolean isEnableApiTracing()
isEnableBuiltInMetrics()
public default boolean isEnableBuiltInMetrics()
isEnableDirectAccess()
public default boolean isEnableDirectAccess()
isEnableEndToEndTracing()
public default boolean isEnableEndToEndTracing()
isEnableExtendedTracing()
public default boolean isEnableExtendedTracing()
isEnableGRPCBuiltInMetrics()
public default boolean isEnableGRPCBuiltInMetrics()
isEnableGcpFallback()
public default boolean isEnableGcpFallback()
isEnableGrpcGcpOtelMetrics()
public default boolean isEnableGrpcGcpOtelMetrics()
isEnableLocationApi()
public default boolean isEnableLocationApi()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-31 UTC.
[null,null,["Last updated 2026-07-31 UTC."],[],[]]