LoggingConfigResponse class

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.

Constructors

LoggingConfigResponse({required Input<bool> enableOnpremGcsTransferLogs, required Input<List<String>> logActionStates, required Input<List<String>> logActions})
Creates a new LoggingConfigResponse. enableOnpremGcsTransferLogs For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer. logActionStates 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 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.
const
LoggingConfigResponse.fromMap(Map<String, dynamic> map)
factory

Properties

enableOnpremGcsTransferLogs → Input<bool>
For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
final
hashCode → int
The hash code for this object.
no setterinherited
logActions → Input<List<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.
final
logActionStates → Input<List<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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited