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.
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.
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 transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
#enable_onprem_gcs_transfer_logs=
def enable_onprem_gcs_transfer_logs=(value) -> ::Boolean
- value (::Boolean) — For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
- (::Boolean) — For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs 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. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.
#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. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.
-
(::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableActionState>) — 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.
#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. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.
#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. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.
- (::Array<::Google::Cloud::StorageTransfer::V1::LoggingConfig::LoggableAction>) — 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.