public final class LoggingConfig
extends com.google.api.client.json.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 Storage Transfer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LoggingConfig() |
| Modifier and Type | Method and Description |
|---|---|
LoggingConfig |
clone() |
Boolean |
getEnableOnpremGcsTransferLogs()
For PosixFilesystem transfers, enables [file system transfer
logs](https://cloud.google.com/storage-transfer/docs/on-prem-transfer-log-format) instead of,
or in addition to, Cloud Logging.
|
List<String> |
getLogActions()
Specifies the actions to be logged.
|
List<String> |
getLogActionStates()
States in which `log_actions` are logged.
|
LoggingConfig |
set(String fieldName,
Object value) |
LoggingConfig |
setEnableOnpremGcsTransferLogs(Boolean enableOnpremGcsTransferLogs)
For PosixFilesystem transfers, enables [file system transfer
logs](https://cloud.google.com/storage-transfer/docs/on-prem-transfer-log-format) instead of,
or in addition to, Cloud Logging.
|
LoggingConfig |
setLogActions(List<String> logActions)
Specifies the actions to be logged.
|
LoggingConfig |
setLogActionStates(List<String> logActionStates)
States in which `log_actions` are logged.
|
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 getEnableOnpremGcsTransferLogs()
null for nonepublic LoggingConfig setEnableOnpremGcsTransferLogs(Boolean enableOnpremGcsTransferLogs)
enableOnpremGcsTransferLogs - enableOnpremGcsTransferLogs or null for nonepublic List<String> getLogActionStates()
null for nonepublic LoggingConfig setLogActionStates(List<String> logActionStates)
logActionStates - logActionStates or null for nonepublic List<String> getLogActions()
null for nonepublic LoggingConfig setLogActions(List<String> logActions)
logActions - logActions or null for nonepublic LoggingConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic LoggingConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.