Struct google_storagetransfer1::api::LoggingConfig
source · pub struct LoggingConfig {
pub enable_onprem_gcs_transfer_logs: Option<bool>,
pub log_action_states: Option<Vec<String>>,
pub log_actions: Option<Vec<String>>,
}
Expand description
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] (https://cloud.google.com/storage-transfer/docs/managing-on-prem-jobs#viewing-logs) for details.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enable_onprem_gcs_transfer_logs: Option<bool>
For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
log_action_states: Option<Vec<String>>
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: Option<Vec<String>>
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.
Trait Implementations§
source§impl Clone for LoggingConfig
impl Clone for LoggingConfig
source§fn clone(&self) -> LoggingConfig
fn clone(&self) -> LoggingConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more