SecuritySettings constructor
SecuritySettings({
- String? name,
- String? displayName,
- SecuritySettings_RedactionStrategy? redactionStrategy,
- SecuritySettings_RedactionScope? redactionScope,
- int? retentionWindowDays,
- Iterable<
SecuritySettings_PurgeDataType> ? purgeDataTypes, - String? inspectTemplate,
Implementation
factory SecuritySettings({
$core.String? name,
$core.String? displayName,
SecuritySettings_RedactionStrategy? redactionStrategy,
SecuritySettings_RedactionScope? redactionScope,
$core.int? retentionWindowDays,
$core.Iterable<SecuritySettings_PurgeDataType>? purgeDataTypes,
$core.String? inspectTemplate,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (displayName != null) {
_result.displayName = displayName;
}
if (redactionStrategy != null) {
_result.redactionStrategy = redactionStrategy;
}
if (redactionScope != null) {
_result.redactionScope = redactionScope;
}
if (retentionWindowDays != null) {
_result.retentionWindowDays = retentionWindowDays;
}
if (purgeDataTypes != null) {
_result.purgeDataTypes.addAll(purgeDataTypes);
}
if (inspectTemplate != null) {
_result.inspectTemplate = inspectTemplate;
}
return _result;
}