SnoozeArgs constructor
const
SnoozeArgs({
- required Input<
Criteria> criteria, - required Input<
String> displayName, - required Input<
TimeInterval> interval, - Input<
String> ? name, - Input<
String> ? project,
Creates a new SnoozeArgs.
criteria This defines the criteria for applying the Snooze. See Criteria for more information.
displayName A display name for the Snooze. This can be, at most, 512 unicode characters.
interval The Snooze will be active from interval.start_time through interval.end_time. interval.start_time cannot be in the past. There is a 15 second clock skew to account for the time it takes for a request to reach the API from the UI.
name The name of the Snooze. The format is: projects/PROJECT_ID_OR_NUMBER/snoozes/SNOOZE_ID The ID of the Snooze will be generated by the system.
project Optional.
Implementation
const SnoozeArgs({
required this.criteria,
required this.displayName,
required this.interval,
this.name,
this.project,
});