Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V2024/Models/MetricAggregation.md
2025-02-20 12:59:19 -05:00

1.2 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-metric-aggregation MetricAggregation MetricAggregation MetricAggregation pythonsdk
python
Python
sdk
MetricAggregation
V2024MetricAggregation
/tools/sdk/python/v2024/models/metric-aggregation
SDK
Software Development Kit
MetricAggregation
V2024MetricAggregation

MetricAggregation

The calculation done on the results of the query

Properties

Name Type Description Notes
name str The name of the metric aggregate to be included in the result. If the metric aggregation is omitted, the resulting aggregation will be a count of the documents in the search results. [required]
type MetricType [optional] [default to MetricType.UNIQUE_COUNT]
var_field str The field the calculation is performed on. Prefix the field name with '@' to reference a nested object. [required]
}

Example

from sailpoint.v2024.models.metric_aggregation import MetricAggregation

metric_aggregation = MetricAggregation(
name='Access Name Count',
type='UNIQUE_COUNT',
var_field='@access.name'
)

[Back to top]