GoogleApi.StorageTransfer.V1.Model.LoggingConfig (google_api_storage_transfer v0.37.3)

View Source

Specifies the logging behavior for transfer operations. Logs can be sent to Cloud Logging for all transfer types. See Read transfer logs for details.

Attributes

  • enableOnpremGcsTransferLogs (type: boolean(), default: nil) - 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.
  • logActionStates (type: list(String.t), default: nil) - States in which log_actions are logged. If empty, no logs are generated.
  • logActions (type: list(String.t), default: nil) - Specifies the actions to be logged. If empty, no logs are generated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.