Class LoggingConfig
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.
Implements
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1.Data
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class LoggingConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableOnpremGcsTransferLogs
For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.
Declaration
[JsonProperty("enableOnpremGcsTransferLogs")]
public virtual bool? EnableOnpremGcsTransferLogs { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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.
Declaration
[JsonProperty("logActionStates")]
public virtual IList<string> LogActionStates { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
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.
Declaration
[JsonProperty("logActions")]
public virtual IList<string> LogActions { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |