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({bool? enableOnpremGcsTransferLogs, List<String>? logActionStates, List<String>? logActions})
LoggingConfig.fromJson(Map json_)

Properties

enableOnpremGcsTransferLogs bool?
For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logActions List<String>?
Specifies the actions to be logged.
getter/setter pair
logActionStates List<String>?
States in which log_actions are logged.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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