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.
JSON representation |
---|
{ "logActions": [ enum ( |
Fields | |
---|---|
logActions[] |
Specifies the actions to be logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use |
logActionStates[] |
States in which |
enableOnpremGcsTransferLogs |
For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer. |
LoggableAction
Loggable actions.
Enums | |
---|---|
LOGGABLE_ACTION_UNSPECIFIED |
Default value. This value is unused. |
FIND |
Listing objects in a bucket. |
DELETE |
Deleting objects at the source or the destination. |
COPY |
Copying objects to Google Cloud Storage. |
LoggableActionState
Loggable action states.
Enums | |
---|---|
LOGGABLE_ACTION_STATE_UNSPECIFIED |
Default value. This value is unused. |
SUCCEEDED |
LoggableAction completed successfully. SUCCEEDED actions are logged as INFO . |
FAILED |
LoggableAction terminated in an error state. FAILED actions are logged as ERROR . |