Reference documentation and code samples for the Storage Transfer Service V1 API class Google::Cloud::StorageTransfer::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enable_onprem_gcs_transfer_logs
def enable_onprem_gcs_transfer_logs() -> ::Boolean
-
(::Boolean) — 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.
#enable_onprem_gcs_transfer_logs=
def enable_onprem_gcs_transfer_logs=(value) -> ::Boolean
-
value (::Boolean) — 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.
-
(::Boolean) — 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.
#log_action_states
def log_action_states() -> ::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>
-
(::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>) — States in which
log_actions
are logged. If empty, no logs are generated.
#log_action_states=
def log_action_states=(value) -> ::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>
-
value (::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>) — States in which
log_actions
are logged. If empty, no logs are generated.
-
(::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>) — States in which
log_actions
are logged. If empty, no logs are generated.
#log_actions
def log_actions() -> ::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>
- (::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>) — Specifies the actions to be logged. If empty, no logs are generated.
#log_actions=
def log_actions=(value) -> ::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>
- value (::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>) — Specifies the actions to be logged. If empty, no logs are generated.
- (::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>) — Specifies the actions to be logged. If empty, no logs are generated.