Storage Transfer v1 API - Class LoggingConfig (2.7.0)

public sealed class LoggingConfig : IMessage<LoggingConfig>, IEquatable<LoggingConfig>, IDeepCloneable<LoggingConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Storage Transfer v1 API class LoggingConfig.

Specifies the logging behavior for transfer operations.

Logs can be sent to Cloud Logging for all transfer types. See Read transfer logs for details.

Inheritance

object > LoggingConfig

Namespace

Google.Cloud.StorageTransfer.V1

Assembly

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 PosixFilesystem transfers, enables file system transfer logs instead of, or in addition to, Cloud Logging.

This option ignores [LoggableAction] and [LoggableActionState]. If these are set, Cloud Logging will also be enabled for this transfer.

Property Value
Type Description
bool

LogActionStates

public RepeatedField<LoggingConfig.Types.LoggableActionState> LogActionStates { get; }

States in which log_actions are logged. If empty, no logs are generated.

Property Value
Type Description
RepeatedFieldLoggingConfigTypesLoggableActionState

LogActions

public RepeatedField<LoggingConfig.Types.LoggableAction> LogActions { get; }

Specifies the actions to be logged. If empty, no logs are generated.

Property Value
Type Description
RepeatedFieldLoggingConfigTypesLoggableAction