public sealed class LoggingConfig : IMessage<LoggingConfig>, IEquatable<LoggingConfig>, IDeepCloneable<LoggingConfig>, IBufferMessage, IMessage
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 for details.
Implements
IMessage<LoggingConfig>, IEquatable<LoggingConfig>, IDeepCloneable<LoggingConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.StorageTransfer.V1Assembly
Google.Cloud.StorageTransfer.V1.dll
Constructors
LoggingConfig()
public LoggingConfig()
LoggingConfig(LoggingConfig)
public LoggingConfig(LoggingConfig other)
Parameter | |
---|---|
Name | Description |
other | LoggingConfig |
Properties
EnableOnpremGcsTransferLogs
public bool EnableOnpremGcsTransferLogs { get; set; }
For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
Property Value | |
---|---|
Type | Description |
Boolean |
LogActions
public RepeatedField<LoggingConfig.Types.LoggableAction> LogActions { get; }
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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
Property Value | |
---|---|
Type | Description |
RepeatedField<LoggingConfig.Types.LoggableAction> |
LogActionStates
public RepeatedField<LoggingConfig.Types.LoggableActionState> LogActionStates { get; }
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][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead.
Property Value | |
---|---|
Type | Description |
RepeatedField<LoggingConfig.Types.LoggableActionState> |