View Source GoogleApi.StorageTransfer.V1.Model.LoggingConfig (google_api_storage_transfer v0.36.0)

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.

Attributes

  • enableOnpremGcsTransferLogs (type: boolean(), default: nil) - For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
  • logActionStates (type: list(String.t), default: nil) - 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.
  • logActions (type: list(String.t), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.StorageTransfer.V1.Model.LoggingConfig{
  enableOnpremGcsTransferLogs: boolean() | nil,
  logActionStates: [String.t()] | nil,
  logActions: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.