MaintenancePolicy constructor
MaintenancePolicy({
- Timestamp? createTime,
- Timestamp? updateTime,
- String? description,
- Iterable<
WeeklyMaintenanceWindow> ? weeklyMaintenanceWindow,
Implementation
factory MaintenancePolicy({
$2.Timestamp? createTime,
$2.Timestamp? updateTime,
$core.String? description,
$core.Iterable<WeeklyMaintenanceWindow>? weeklyMaintenanceWindow,
}) {
final $result = create();
if (createTime != null) {
$result.createTime = createTime;
}
if (updateTime != null) {
$result.updateTime = updateTime;
}
if (description != null) {
$result.description = description;
}
if (weeklyMaintenanceWindow != null) {
$result.weeklyMaintenanceWindow.addAll(weeklyMaintenanceWindow);
}
return $result;
}