Class LoggingConfig (1.13.1)

LoggingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies the logging behavior for transfer operations.

Logs can be sent to Cloud Logging for all transfer types. See Read transfer logs <https://cloud.google.com/storage-transfer/docs/read-transfer-logs>__ for details.

Attributes

Name Description
log_actions MutableSequence[google.cloud.storage_transfer_v1.types.LoggingConfig.LoggableAction]
Specifies the actions to be logged. If empty, no logs are generated.
log_action_states MutableSequence[google.cloud.storage_transfer_v1.types.LoggingConfig.LoggableActionState]
States in which log_actions are logged. If empty, no logs are generated.
enable_onprem_gcs_transfer_logs bool
For PosixFilesystem transfers, enables `file system transfer logs

Classes

LoggableAction

LoggableAction(value)

Loggable actions.

LoggableActionState

LoggableActionState(value)

Loggable action states.