Class LoggingConfig
Specifies the logging behavior for transfer operations. Logs can be sent to Cloud Logging for all transfer types. See Read transfer 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 PosixFilesystem transfers, enables file system transfer logs instead of, or in addition to, Cloud Logging. This option ignores [LoggableAction] and [LoggableActionState]. If these are set, Cloud Logging will also be enabled 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.
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.
Declaration
[JsonProperty("logActions")]
public virtual IList<string> LogActions { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |