Builder

class Builder

Properties

Link copied to clipboard

The end time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.

Link copied to clipboard

The maximum number of contributors to include in the report. The range is 1 to 100. If you omit this, the default of 10 is used.

Link copied to clipboard

Specifies which metrics to use for aggregation of contributor values for the report. You can specify one or more of the following metrics:

Link copied to clipboard

Determines what statistic to use to rank the contributors. Valid values are Sum and Maximum.

Link copied to clipboard
var period: Int?

The period, in seconds, to use for the statistics in the InsightRuleMetricDatapoint results.

Link copied to clipboard

The name of the rule that you want to see data from.

Link copied to clipboard

The start time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as yyyy-MM-dd'T'HH:mm:ss. For example, 2019-07-01T23:59:59.