isProtected property
Whether the log file is marked as protected from automatic deletion.
Protected logs are preserved even when automatic cleanup of old logs is performed due to space or retention settings.
Returns
truewhen the log is protected; otherwisefalse.
Implementation
bool get isProtected {
final OperationResult resultString = objectMethod(
pointerId,
'LogMetadata',
'isProtected',
);
return resultString['result'];
}