public final class InsightsConfig extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InsightsConfig() |
| Modifier and Type | Method and Description |
|---|---|
InsightsConfig |
clone() |
Boolean |
getQueryInsightsEnabled()
Whether Query Insights feature is enabled.
|
Integer |
getQueryStringLength()
Maximum query length stored in bytes.
|
Boolean |
getRecordApplicationTags()
Whether Query Insights will record application tags from query when enabled.
|
Boolean |
getRecordClientAddress()
Whether Query Insights will record client address when enabled.
|
InsightsConfig |
set(String fieldName,
Object value) |
InsightsConfig |
setQueryInsightsEnabled(Boolean queryInsightsEnabled)
Whether Query Insights feature is enabled.
|
InsightsConfig |
setQueryStringLength(Integer queryStringLength)
Maximum query length stored in bytes.
|
InsightsConfig |
setRecordApplicationTags(Boolean recordApplicationTags)
Whether Query Insights will record application tags from query when enabled.
|
InsightsConfig |
setRecordClientAddress(Boolean recordClientAddress)
Whether Query Insights will record client address when enabled.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getQueryInsightsEnabled()
null for nonepublic InsightsConfig setQueryInsightsEnabled(Boolean queryInsightsEnabled)
queryInsightsEnabled - queryInsightsEnabled or null for nonepublic Integer getQueryStringLength()
null for nonepublic InsightsConfig setQueryStringLength(Integer queryStringLength)
queryStringLength - queryStringLength or null for nonepublic Boolean getRecordApplicationTags()
null for nonepublic InsightsConfig setRecordApplicationTags(Boolean recordApplicationTags)
recordApplicationTags - recordApplicationTags or null for nonepublic Boolean getRecordClientAddress()
null for nonepublic InsightsConfig setRecordClientAddress(Boolean recordClientAddress)
recordClientAddress - recordClientAddress or null for nonepublic InsightsConfig set(String fieldName, Object value)
set in class GenericJsonpublic InsightsConfig clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.