LoggingConfig 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
-
LoggingConfig({Input<
bool> ? enableOnpremGcsTransferLogs, Input<List< ? logActionStates, Input<LoggingConfigLogActionStatesItem> >List< ? logActions})LoggingConfigLogActionsItem> > -
Creates a new LoggingConfig.
enableOnpremGcsTransferLogsFor transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.logActionStatesStates in whichlog_actionsare logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.logActionsSpecifies 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 -
LoggingConfig.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< ?LoggingConfigLogActionsItem> > -
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< ?LoggingConfigLogActionStatesItem> > -
States in which
log_actionsare 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