LoggingConfigArgs

data class LoggingConfigArgs(val enableOnpremGcsTransferLogs: Output<Boolean>? = null, val logActionStates: Output<List<LoggingConfigLogActionStatesItem>>? = null, val logActions: Output<List<LoggingConfigLogActionsItem>>? = null) : ConvertibleToJava<LoggingConfigArgs>

Specifies the logging behavior for transfer operations. For cloud-to-cloud transfers, logs are sent to Cloud Logging. See Read transfer logs for details. For transfers to or from a POSIX file system, logs are stored in the Cloud Storage bucket that is the source or sink of the transfer. See Managing Transfer for on-premises jobs (https://cloud.google.com/storage-transfer/docs/managing-on-prem-jobs#viewing-logs) for details.

Constructors

Link copied to clipboard
fun LoggingConfigArgs(enableOnpremGcsTransferLogs: Output<Boolean>? = null, logActionStates: Output<List<LoggingConfigLogActionStatesItem>>? = null, logActions: Output<List<LoggingConfigLogActionsItem>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): LoggingConfigArgs

Properties

Link copied to clipboard

For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.

Link copied to clipboard

Specifies the actions to be logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.

Link copied to clipboard

States in which log_actions are logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.