duration property

  1. @TagNumber.new(5)
String get duration

Duration of this limit in textual notation. Example: "100s", "24h", "1d". For duration longer than a day, only multiple of days is supported. We support only "100s" and "1d" for now. Additional support will be added in the future. "0" indicates indefinite duration.

Used by group-based quotas only.

Implementation

@$pb.TagNumber(5)
$core.String get duration => $_getSZ(3);
  1. @TagNumber.new(5)
set duration (String value)

Implementation

@$pb.TagNumber(5)
set duration($core.String value) => $_setString(3, value);